Home | History | Annotate | Download | only in test

Lines Matching refs:ASSERT_TRUE

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