HomeSort by relevance Sort by last modified time
    Searched refs:EXPECT_TRUE (Results 1 - 25 of 788) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/astl/tests/
test_functional.cpp 42 EXPECT_TRUE(std::equal_to<int>()(10, 10));
43 EXPECT_TRUE(std::not_equal_to<int>()(10, 11));
45 EXPECT_TRUE(std::greater<int>()(10, 5));
46 EXPECT_TRUE(std::less<int>()(5, 10));
48 EXPECT_TRUE(std::greater_equal<int>()(10, 5));
49 EXPECT_TRUE(std::less_equal<int>()(5, 10));
51 EXPECT_TRUE(std::greater_equal<int>()(10, 10));
52 EXPECT_TRUE(std::less_equal<int>()(10, 10));
test_limits.cpp 40 EXPECT_TRUE(std::numeric_limits<float>::is_specialized);
41 EXPECT_TRUE(std::numeric_limits<double>::is_specialized);
42 EXPECT_TRUE(std::numeric_limits<long>::is_specialized);
43 EXPECT_TRUE(std::numeric_limits<long long>::is_specialized);
49 EXPECT_TRUE(std::numeric_limits<float>::min() == __FLT_MIN__);
50 EXPECT_TRUE(std::numeric_limits<double>::min() == __DBL_MIN__);
51 EXPECT_TRUE(std::numeric_limits<long>::min() == LONG_MIN);
57 EXPECT_TRUE(std::numeric_limits<float>::max() == __FLT_MAX__);
58 EXPECT_TRUE(std::numeric_limits<double>::max() == __DBL_MAX__);
59 EXPECT_TRUE(std::numeric_limits<long>::max() == LONG_MAX)
    [all...]
test_string.cpp 47 EXPECT_TRUE(empty_str1.size() == 0);
48 EXPECT_TRUE(empty_str1.capacity() == 0);
51 EXPECT_TRUE(empty_str2.size() == 0);
55 EXPECT_TRUE(empty_str3.size() == 0);
59 EXPECT_TRUE(strcmp(literal, str1.c_str()) == 0);
62 EXPECT_TRUE(strcmp("scott mills", str2.c_str()) == 0);
65 EXPECT_TRUE(strcmp(literal, str3.c_str()) == 0);
69 EXPECT_TRUE(str4.size() == sizeof(literal) + 1);
72 EXPECT_TRUE(strcmp("scott mills", str5.c_str()) == 0);
77 EXPECT_TRUE(str6 == "lady gaga")
    [all...]
test_algorithm.cpp 44 EXPECT_TRUE(a == 10);
45 EXPECT_TRUE(b == 5);
55 EXPECT_TRUE(c == 5);
57 EXPECT_TRUE(c == 5);
67 EXPECT_TRUE(c == 10);
69 EXPECT_TRUE(c == 10);
78 EXPECT_TRUE(array[0] == 0xaa);
79 EXPECT_TRUE(array[1] == 0xaa);
80 EXPECT_TRUE(array[2] == 0xaa);
81 EXPECT_TRUE(array[3] == 0xaa)
    [all...]
test_set.cpp 47 EXPECT_TRUE(s.empty());
48 EXPECT_TRUE(s.size() == 0);
49 EXPECT_TRUE(s.begin() == s.end());
50 EXPECT_TRUE(s.count(10) == 0);
59 EXPECT_TRUE(s.count(10) == 0);
64 EXPECT_TRUE(res.first == s.begin());
65 EXPECT_TRUE(s.end() != s.begin());
66 EXPECT_TRUE(*(res.first) == 10);
68 EXPECT_TRUE(*(s.begin()) == 10);
71 EXPECT_TRUE(res.second)
    [all...]
test_type_traits.cpp 43 EXPECT_TRUE(true_type::value == true);
44 EXPECT_TRUE(false_type::value == false);
45 EXPECT_TRUE(true_type::type::value == true);
46 EXPECT_TRUE(false_type::type::value == false);
63 EXPECT_TRUE(is_integral<bool>::value == true);
64 EXPECT_TRUE(is_integral<char>::value == true);
65 EXPECT_TRUE(is_integral<signed char>::value == true);
66 EXPECT_TRUE(is_integral<unsigned char>::value == true);
67 EXPECT_TRUE(is_integral<wchar_t>::value == true);
68 EXPECT_TRUE(is_integral<short>::value == true)
    [all...]
test_vector.cpp 46 EXPECT_TRUE(vec1.empty());
47 EXPECT_TRUE(vec1.size() == 0);
48 EXPECT_TRUE(vec1.capacity() == 0);
52 EXPECT_TRUE(!vec2.empty());
53 EXPECT_TRUE(vec2.size() == 100);
54 EXPECT_TRUE(vec2.capacity() == 100);
57 EXPECT_TRUE(vec2[i] == 0);
62 EXPECT_TRUE(!vec3.empty());
63 EXPECT_TRUE(vec3.size() == 200);
64 EXPECT_TRUE(vec3.capacity() == 200)
    [all...]
test_streambuf.cpp 54 EXPECT_TRUE(buf.sputc('A') == 65);
55 EXPECT_TRUE(buf.sputc('B') == 66);
56 EXPECT_TRUE(buf.sputc('C') == 67);
57 EXPECT_TRUE(buf.sputc('D') == 68);
58 EXPECT_TRUE(buf.sputc('E') == 69);
62 // EXPECT_TRUE(buf.sputc('F') == char_traits<char>::eof());
63 // EXPECT_TRUE(buf.sputc('G') == char_traits<char>::eof());
70 EXPECT_TRUE(buf.sputn("ABCDE", 5) == 5);
71 EXPECT_TRUE(buf.sputn("F", 1) == 0);
test_ios_base.cpp 43 EXPECT_TRUE(s.precision() == 6);
49 EXPECT_TRUE(s.precision(10) == 6);
50 EXPECT_TRUE(s.precision() == 10);
51 EXPECT_TRUE(s.precision(-1) == 10); // no-op
52 EXPECT_TRUE(s.precision() == 10);
58 EXPECT_TRUE(s.width() == 0);
64 EXPECT_TRUE(s.width(10) == 0);
65 EXPECT_TRUE(s.width() == 10);
66 EXPECT_TRUE(s.width(-1) == 10); // no-op
67 EXPECT_TRUE(s.width() == 10)
    [all...]
  /external/gtest/test/
gtest-port_test.cc 144 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
148 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
149 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
157 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
158 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
161 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
162 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
163 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
164 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
180 EXPECT_TRUE(IsInSet('b', "bcd"))
    [all...]
  /external/chromium/net/base/
ssl_config_service_unittest.cc 18 EXPECT_TRUE(IsFalseStartIncompatible("www.picnik.com"));
24 EXPECT_TRUE(IsFalseStartIncompatible("yodlee.com"));
25 EXPECT_TRUE(IsFalseStartIncompatible("a.yodlee.com"));
26 EXPECT_TRUE(IsFalseStartIncompatible("b.a.yodlee.com"));
dns_util_unittest.cc 22 EXPECT_TRUE(DNSDomainFromDot("", &out));
24 EXPECT_TRUE(DNSDomainFromDot("com", &out));
26 EXPECT_TRUE(DNSDomainFromDot("google.com", &out));
28 EXPECT_TRUE(DNSDomainFromDot("www.google.com", &out));
32 EXPECT_TRUE(DNSDomainFromDot("123456789a123456789a123456789a123456789a123456789a123456789a123", &out));
39 EXPECT_TRUE(DNSDomainFromDot("123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123456789.123", &out));
46 EXPECT_TRUE(DNSDomainFromDot("www.google.com.", &out));
49 EXPECT_TRUE(DNSDomainFromDot(".google.com", &out));
52 EXPECT_TRUE(DNSDomainFromDot("www..google.com", &out));
72 EXPECT_TRUE(IsSTD3ASCIIValidCharacter('a'))
    [all...]
ssl_false_start_blacklist_unittest.cc 18 EXPECT_TRUE(F("com") == NULL);
19 EXPECT_TRUE(F(".com") == NULL);
20 EXPECT_TRUE(F("") == NULL);
25 EXPECT_TRUE(SSLFalseStartBlacklist::IsMember("example.com"));
26 EXPECT_TRUE(SSLFalseStartBlacklist::IsMember("www.example.com"));
27 EXPECT_TRUE(SSLFalseStartBlacklist::IsMember("a.b.example.com"));
  /external/chromium/testing/gtest/samples/
sample5_unittest.cc 80 EXPECT_TRUE(end_time - start_time_ <= 5) << "The test took too long.";
104 EXPECT_TRUE(Factorial(-10) > 0);
120 EXPECT_TRUE(!IsPrime(-1));
121 EXPECT_TRUE(!IsPrime(-2));
122 EXPECT_TRUE(!IsPrime(INT_MIN));
125 EXPECT_TRUE(!IsPrime(0));
126 EXPECT_TRUE(!IsPrime(1));
127 EXPECT_TRUE(IsPrime(2));
128 EXPECT_TRUE(IsPrime(3));
131 EXPECT_TRUE(!IsPrime(4))
    [all...]
  /external/gtest/samples/
sample5_unittest.cc 80 EXPECT_TRUE(end_time - start_time_ <= 5) << "The test took too long.";
104 EXPECT_TRUE(Factorial(-10) > 0);
120 EXPECT_TRUE(!IsPrime(-1));
121 EXPECT_TRUE(!IsPrime(-2));
122 EXPECT_TRUE(!IsPrime(INT_MIN));
125 EXPECT_TRUE(!IsPrime(0));
126 EXPECT_TRUE(!IsPrime(1));
127 EXPECT_TRUE(IsPrime(2));
128 EXPECT_TRUE(IsPrime(3));
131 EXPECT_TRUE(!IsPrime(4))
    [all...]
  /external/protobuf/gtest/samples/
sample5_unittest.cc 80 EXPECT_TRUE(end_time - start_time_ <= 5) << "The test took too long.";
104 EXPECT_TRUE(Factorial(-10) > 0);
120 EXPECT_TRUE(!IsPrime(-1));
121 EXPECT_TRUE(!IsPrime(-2));
122 EXPECT_TRUE(!IsPrime(INT_MIN));
125 EXPECT_TRUE(!IsPrime(0));
126 EXPECT_TRUE(!IsPrime(1));
127 EXPECT_TRUE(IsPrime(2));
128 EXPECT_TRUE(IsPrime(3));
131 EXPECT_TRUE(!IsPrime(4))
    [all...]
  /external/chromium/base/
vlog_unittest.cc 32 EXPECT_TRUE(MatchVlogPattern("", ""));
33 EXPECT_TRUE(MatchVlogPattern("", "****"));
38 EXPECT_TRUE(MatchVlogPattern("blah", "blah"));
41 EXPECT_TRUE(MatchVlogPattern("blah", "bl?h"));
44 EXPECT_TRUE(MatchVlogPattern("blah", "?lah"));
49 EXPECT_TRUE(MatchVlogPattern("blah", "bl*h"));
50 EXPECT_TRUE(MatchVlogPattern("blabcdefh", "bl*h"));
51 EXPECT_TRUE(MatchVlogPattern("blh", "bl*h"));
52 EXPECT_TRUE(MatchVlogPattern("blah", "*blah"));
53 EXPECT_TRUE(MatchVlogPattern("ohblah", "*blah"))
    [all...]
string_tokenizer_unittest.cc 18 EXPECT_TRUE(t.GetNext());
21 EXPECT_TRUE(t.GetNext());
24 EXPECT_TRUE(t.GetNext());
27 EXPECT_TRUE(t.GetNext());
38 EXPECT_TRUE(t.GetNext());
41 EXPECT_TRUE(t.GetNext());
44 EXPECT_TRUE(t.GetNext());
47 EXPECT_TRUE(t.GetNext());
60 EXPECT_TRUE(t.GetNext());
63 EXPECT_TRUE(t.GetNext())
    [all...]
  /external/chromium/base/win/
win_util_unittest.cc 39 EXPECT_TRUE(UserAccountControlIsEnabled());
45 EXPECT_TRUE(GetUserSidString(&user_sid));
46 EXPECT_TRUE(!user_sid.empty());
52 EXPECT_TRUE(metrics.cbSize > 0);
53 EXPECT_TRUE(metrics.iScrollWidth > 0);
54 EXPECT_TRUE(metrics.iScrollHeight > 0);
  /external/protobuf/gtest/test/
gtest-port_test.cc 202 EXPECT_TRUE(RE::FullMatch(TypeParam(""), empty));
206 EXPECT_TRUE(RE::FullMatch(TypeParam("az"), re));
207 EXPECT_TRUE(RE::FullMatch(TypeParam("axyz"), re));
215 EXPECT_TRUE(RE::PartialMatch(TypeParam(""), empty));
216 EXPECT_TRUE(RE::PartialMatch(TypeParam("a"), empty));
219 EXPECT_TRUE(RE::PartialMatch(TypeParam("az"), re));
220 EXPECT_TRUE(RE::PartialMatch(TypeParam("axyz"), re));
221 EXPECT_TRUE(RE::PartialMatch(TypeParam("baz"), re));
222 EXPECT_TRUE(RE::PartialMatch(TypeParam("azy"), re));
238 EXPECT_TRUE(IsInSet('b', "bcd"))
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_unittest_helper.cc 29 EXPECT_TRUE(store->BeginUpdate());
33 EXPECT_TRUE(chunks.empty());
35 EXPECT_TRUE(chunks.empty());
51 EXPECT_TRUE(store->FinishUpdate(pending_adds,
55 EXPECT_TRUE(add_prefixes_result.empty());
56 EXPECT_TRUE(add_full_hashes_result.empty());
60 EXPECT_TRUE(store->BeginUpdate());
64 EXPECT_TRUE(store->BeginChunk());
66 EXPECT_TRUE(store->CheckAddChunk(kAddChunk1));
67 EXPECT_TRUE(store->WriteAddPrefix(kAddChunk1, kHash1.prefix))
    [all...]
  /external/chromium/chrome/browser/first_run/
first_run_unittest.cc 19 EXPECT_TRUE(FirstRun::CreateSentinel());
20 EXPECT_TRUE(file_util::PathExists(sentinel_path_));
22 EXPECT_TRUE(FirstRun::RemoveSentinel());
  /external/chromium/chrome/common/extensions/
update_manifest_unittest.cc 126 EXPECT_TRUE(parser.Parse(kMissingAppId));
127 EXPECT_TRUE(parser.results().list.empty());
130 EXPECT_TRUE(parser.Parse(kInvalidCodebase));
131 EXPECT_TRUE(parser.results().list.empty());
134 EXPECT_TRUE(parser.Parse(kMissingVersion));
135 EXPECT_TRUE(parser.results().list.empty());
138 EXPECT_TRUE(parser.Parse(kInvalidVersion));
139 EXPECT_TRUE(parser.results().list.empty());
143 EXPECT_TRUE(parser.Parse(kValidXml));
144 EXPECT_TRUE(parser.errors().empty())
    [all...]
  /external/chromium/chrome/browser/
errorpage_uitest.cc 34 EXPECT_TRUE(WaitForTitleMatching(L"Mock Link Doctor"));
47 EXPECT_TRUE(WaitForTitleMatching(L"Mock Link Doctor"));
49 EXPECT_TRUE(GetActiveTab()->GoBack());
51 EXPECT_TRUE(WaitForTitleMatching(L"Title Of Awesomeness"));
70 EXPECT_TRUE(WaitForTitleMatching(L"Mock Link Doctor"));
76 EXPECT_TRUE(GetActiveTab()->GoBackBlockUntilNavigationsComplete(2));
77 EXPECT_TRUE(WaitForTitleMatching(L"Mock Link Doctor"));
78 EXPECT_TRUE(GetActiveTab()->GoBack());
80 EXPECT_TRUE(WaitForTitleMatching(L"Title Of Awesomeness"));
100 EXPECT_TRUE(WaitForTitleMatching(L"Mock Link Doctor"))
    [all...]
  /external/chromium/chrome/browser/prefs/
pref_value_map_unittest.cc 18 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test")));
20 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("hi mom!")));
22 EXPECT_TRUE(map.GetValue("key", &result));
23 EXPECT_TRUE(StringValue("hi mom!").Equals(result));
30 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test")));
31 EXPECT_TRUE(map.GetValue("key", NULL));
33 EXPECT_TRUE(map.RemoveValue("key"));
41 EXPECT_TRUE(map.SetValue("key", Value::CreateStringValue("test")));
42 EXPECT_TRUE(map.GetValue("key", NULL));
51 EXPECT_TRUE(reference.SetValue("b", Value::CreateStringValue("test")))
    [all...]

Completed in 292 milliseconds

1 2 3 4 5 6 7 8 91011>>