Lines Matching refs:ASSERT_TRUE
27 ASSERT_TRUE(StringUtil::compare(str, "hello") == 0); in TEST_F()
28 ASSERT_TRUE(StringUtil::compare(str, "hi") != 0); in TEST_F()
35 ASSERT_TRUE(StringUtil::compare(sub1, "hello") == 0); in TEST_F()
38 ASSERT_TRUE(StringUtil::compare(sub2, "e") == 0); in TEST_F()
41 ASSERT_TRUE(StringUtil::compare(sub3, "there") == 0); in TEST_F()
44 ASSERT_TRUE(sub4.length() == 0); in TEST_F()
49 ASSERT_TRUE(StringUtil::endsWith(str, "there")); in TEST_F()
50 ASSERT_TRUE(StringUtil::endsWith(str, "hello there")); in TEST_F()
51 ASSERT_TRUE(!StringUtil::endsWith(str, "not there")); in TEST_F()
57 ASSERT_TRUE(tokens != NULL); in TEST_F()
58 ASSERT_TRUE(tokens->size() == 4); in TEST_F()
59 ASSERT_TRUE(StringUtil::compare(tokens->at(0), "hello") == 0); in TEST_F()
60 ASSERT_TRUE(StringUtil::compare(tokens->at(1), "there") == 0); in TEST_F()
61 ASSERT_TRUE(StringUtil::compare(tokens->at(2), "break") == 0); in TEST_F()
62 ASSERT_TRUE(StringUtil::compare(tokens->at(3), "this") == 0); in TEST_F()
67 ASSERT_TRUE(tokens2 != NULL); in TEST_F()
68 ASSERT_TRUE(tokens2->size() == 0); in TEST_F()