mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +00:00
Tests/LibPDF: Make encrypted_with_aes test some metadata too
This commit is contained in:
parent
e94f1e38d0
commit
6200097bcc
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue