Home
last modified time | relevance | path

Searched refs:OpenDocumentWithPassword (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler_embeddertest.cpp22 ASSERT_TRUE(OpenDocumentWithPassword("about_blank.pdf", "foobar")); in TEST_F()
31 EXPECT_FALSE(OpenDocumentWithPassword("encrypted.pdf", "tiger")); in TEST_F()
35 ASSERT_TRUE(OpenDocumentWithPassword("encrypted.pdf", "1234")); in TEST_F()
40 ASSERT_TRUE(OpenDocumentWithPassword("encrypted.pdf", "5678")); in TEST_F()
98 ASSERT_FALSE(OpenDocumentWithPassword("bug_644.pdf", "tiger")); in TEST_F()
102 ASSERT_TRUE(OpenDocumentWithPassword("bug_644.pdf", "a")); in TEST_F()
107 ASSERT_TRUE(OpenDocumentWithPassword("bug_644.pdf", "b")); in TEST_F()
/external/pdfium/testing/
Dembedder_test.h98 bool OpenDocumentWithPassword(const std::string& filename,
Dembedder_test.cpp115 bool EmbedderTest::OpenDocumentWithPassword(const std::string& filename, in OpenDocumentWithPassword() function in EmbedderTest