/* **************************************************************************** * * c_str - */ TEST(Originator, c_str) { Originator originator; utInit(); originator.set("STR"); EXPECT_STREQ("STR", originator.c_str()); utExit(); }
/* **************************************************************************** * * isEmptSetAndGet - */ TEST(Originator, isEmptySetAndGet) { Originator originator; utInit(); originator.string = ""; EXPECT_TRUE(originator.isEmpty()); originator.set("STR"); EXPECT_FALSE(originator.isEmpty()); EXPECT_STREQ("STR", originator.get().c_str()); utExit(); }