Browse Source

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

master
roker 9 months ago
parent
commit
8306edaf09
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      test/unittest_message.cc

+ 3
- 3
test/unittest_message.cc 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");
}

Loading…
Cancel
Save