resort the test to see what is working and what not, yet.

master
roker 2021-09-28 17:12:50 +02:00
parent 0c82dcc5dc
commit 8306edaf09
1 changed files with 3 additions and 3 deletions

View File

@ -118,13 +118,13 @@ TEST( MessageTest, Simple )
pEp::Message msg{PEP_dir_outgoing, mail1_eml};
EXPECT_EQ(msg->dir, PEP_dir_outgoing);
ASSERT_NE(msg->from, nullptr);
EXPECT_STREQ( msg->from->username, "Alice");
EXPECT_STREQ( msg->shortmsg, "Rødgrød med fløde" );
EXPECT_STREQ( msg->longmsg , "Rødgrød med fløde?\r\n" );
EXPECT_EQ( identity_list_length(msg->to), 1 );
EXPECT_EQ( identity_list_length(msg->cc), 4 );
EXPECT_EQ( identity_list_length(msg->bcc), 0 );
EXPECT_EQ( bloblist_length(msg->attachments), 4 );
ASSERT_NE(msg->from, nullptr);
EXPECT_STREQ( msg->from->username, "Alice");
}