示例#1
0
        public void Extract_with_unprotected_file_passing_password()
        {
            var             file   = TestConfig.PathToDocumentPdf;
            TikaNetAnalyzer sut    = new TikaNetAnalyzer();
            var             result = sut.GetHtmlContent(file, "jarvistest");

            Assert.That(result, Is.Not.Null);
        }
示例#2
0
        public void Extract_with_password_removal()
        {
            var             file   = TestConfig.PathToPasswordProtectedPdf;
            TikaNetAnalyzer sut    = new TikaNetAnalyzer();
            var             result = sut.GetHtmlContent(file, "jarvistest");

            Assert.That(result, Is.Not.Null);
        }