mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 04:13:11 +00:00
Tests/LibPDF: Make encrypted_with_aes test some metadata too
This commit is contained in:
parent
e94f1e38d0
commit
6200097bcc
|
@ -56,4 +56,8 @@ TEST_CASE(encrypted_with_aes)
|
|||
EXPECT(document->security_handler()->try_provide_user_password("sup"sv));
|
||||
MUST(document->initialize());
|
||||
EXPECT_EQ(document->get_page_count(), 1U);
|
||||
|
||||
auto info_dict = MUST(document->info_dict()).value();
|
||||
EXPECT_EQ(MUST(info_dict.title()).value(), "sup");
|
||||
EXPECT_EQ(MUST(info_dict.creator()).value(), "TextEdit");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue