Home
last modified time | relevance | path

Searched refs:EXPECT_STREQ (Results 1 – 25 of 267) sorted by relevance

1234567891011

/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dsprintf.c29 EXPECT_STREQ("sprintf_specifier_null", str, "test"); in sprintf_specifier_tests()
33 EXPECT_STREQ("sprintf_specifier_integer", str, "1,2"); in sprintf_specifier_tests()
37 EXPECT_STREQ("sprintf_specifier_Unsigned_integer", str, "1,4294967295"); in sprintf_specifier_tests()
41 EXPECT_STREQ("sprintf_specifier_octal_integer", str, "11"); in sprintf_specifier_tests()
45 EXPECT_STREQ("sprintf_specifier_hexadecimal_integer", str, "f,F"); in sprintf_specifier_tests()
49 EXPECT_STREQ("sprintf_specifier_float", str, "1.230000,1.230000"); in sprintf_specifier_tests()
53 EXPECT_STREQ("sprintf_specifier_scientific_notation", str, "1.230000e+00,1.230000E+00"); in sprintf_specifier_tests()
57 EXPECT_STREQ("sprintf_specifier_char", str, "1"); in sprintf_specifier_tests()
61 EXPECT_STREQ("sprintf_specifier_str", str, "123,456"); in sprintf_specifier_tests()
65 EXPECT_STREQ("sprintf_specifier_pointer_address", str, "0x64fe40"); in sprintf_specifier_tests()
[all …]
/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc119 EXPECT_STREQ("ApiTest", test_suites[0]->name()); in TEST()
120 EXPECT_STREQ("DISABLED_Test", test_suites[1]->name()); in TEST()
121 EXPECT_STREQ("TestSuiteWithCommentTest/0", test_suites[2]->name()); in TEST()
143 EXPECT_STREQ("ApiTest", test_suite->name()); in TEST()
152 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
153 EXPECT_STREQ("ApiTest", tests[0]->test_suite_name()); in TEST()
158 EXPECT_STREQ("TestSuiteDisabledAccessorsWork", tests[1]->name()); in TEST()
159 EXPECT_STREQ("ApiTest", tests[1]->test_suite_name()); in TEST()
164 EXPECT_STREQ("TestSuiteImmutableAccessorsWork", tests[2]->name()); in TEST()
165 EXPECT_STREQ("ApiTest", tests[2]->test_suite_name()); in TEST()
[all …]
Dgoogletest-test-part-test.cc64 EXPECT_STREQ("some_file.cc", result.file_name()); in TEST_F()
66 EXPECT_STREQ(message.GetString().c_str(), result.message()); in TEST_F()
67 EXPECT_STREQ("something is terribly wrong", result.summary()); in TEST_F()
113 EXPECT_STREQ("foo/bar.cc", r1_.file_name()); in TEST_F()
114 EXPECT_STREQ(nullptr, r3_.file_name()); in TEST_F()
115 EXPECT_STREQ("foo/bar.cc", r4_.file_name()); in TEST_F()
127 EXPECT_STREQ("Success!", r1_.message()); in TEST_F()
128 EXPECT_STREQ("Skipped!", r4_.message()); in TEST_F()
194 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); in TEST_F()
204 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); in TEST_F()
[all …]
Dgtest_unittest.cc645 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST()
646 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST()
651 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST()
652 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST()
653 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST()
654 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST()
661 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST()
662 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST()
666 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST()
667 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, -1).c_str()); in TEST()
[all …]
/third_party/cef/tests/ceftests/
Dparser_unittest.cc17 EXPECT_STREQ( in TEST()
45 EXPECT_STREQ("http://www.example.com/", url.ToString().c_str()); in TEST()
56 EXPECT_STREQ("http://www.example.com/path/to.html", url.ToString().c_str()); in TEST()
68 EXPECT_STREQ("http://www.example.com/path/to.html?foo=test&bar=test2", in TEST()
82 EXPECT_STREQ("http://www.example.com/path/to.html?foo=test&bar=test2#ref", in TEST()
99 EXPECT_STREQ( in TEST()
112 EXPECT_STREQ("http://www.example.com/", spec.ToString().c_str()); in TEST()
116 EXPECT_STREQ("http", scheme.ToString().c_str()); in TEST()
118 EXPECT_STREQ("www.example.com", host.ToString().c_str()); in TEST()
121 EXPECT_STREQ(origin.ToString().c_str(), "http://www.example.com/"); in TEST()
[all …]
Dfile_util_unittest.cc13 EXPECT_STREQ("", client::file_util::JoinPath("", "").c_str()); in TEST()
14 EXPECT_STREQ("path1", client::file_util::JoinPath("path1", "").c_str()); in TEST()
15 EXPECT_STREQ("path2", client::file_util::JoinPath("", "path2").c_str()); in TEST()
21 EXPECT_STREQ(expected.c_str(), in TEST()
23 EXPECT_STREQ(expected.c_str(), in TEST()
27 EXPECT_STREQ(expected.c_str(), in TEST()
31 EXPECT_STREQ(expected.c_str(), in TEST()
52 EXPECT_STREQ(data.c_str(), read.c_str()); in TEST()
58 EXPECT_STREQ("ext", in TEST()
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_hilog_vsnprint_f_p.c47 EXPECT_STREQ("vsnprintfp_s_0010", buf, "MUSL"); in vsnprintfp_s_0010()
74 EXPECT_STREQ("vsnprintfp_s_0030", buf, "MUSL"); in vsnprintfp_s_0030()
88 EXPECT_STREQ("vsnprintfp_s_0040", buf, "MUSL"); in vsnprintfp_s_0040()
102 EXPECT_STREQ("vsnprintfp_s_0050", buf, ""); in vsnprintfp_s_0050()
116 EXPECT_STREQ("vsnprintfp_s_0060", buf, ""); in vsnprintfp_s_0060()
130 EXPECT_STREQ("vsnprintfp_s_0070", buf, ""); in vsnprintfp_s_0070()
170 EXPECT_STREQ("vsnprintfp_s_0100", buf, ""); in vsnprintfp_s_0100()
184 EXPECT_STREQ("vsnprintfp_s_0110", buf, "02"); in vsnprintfp_s_0110()
225 EXPECT_STREQ("vsnprintfp_s_0140", buf, "a"); in vsnprintfp_s_0140()
239 EXPECT_STREQ("vsnprintfp_s_0150", buf, "21"); in vsnprintfp_s_0150()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/
Ddemangle_test.cc46 EXPECT_STREQ("foobar()", tmp); in TEST()
48 EXPECT_STREQ("foobar()", tmp); in TEST()
64 EXPECT_STREQ("Foo()", tmp); in TEST()
66 EXPECT_STREQ("Foo()", tmp); in TEST()
68 EXPECT_STREQ("Foo()", tmp); in TEST()
70 EXPECT_STREQ("Foo()", tmp); in TEST()
72 EXPECT_STREQ("Foo()", tmp); in TEST()
75 EXPECT_STREQ("Foo()", tmp); in TEST()
78 EXPECT_STREQ("Foo()", tmp); in TEST()
81 EXPECT_STREQ("Foo()", tmp); in TEST()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dsymbolize_test.cc168 EXPECT_STREQ("nonstatic_func", TrySymbolize((void *)(&nonstatic_func))); in TEST()
181 EXPECT_STREQ("nonstatic_func", in TEST()
184 EXPECT_STREQ("nonstatic_...", in TEST()
187 EXPECT_STREQ("nonstatic...", in TEST()
190 EXPECT_STREQ("n...", TrySymbolizeWithLimit((void *)(&nonstatic_func), 5)); in TEST()
191 EXPECT_STREQ("...", TrySymbolizeWithLimit((void *)(&nonstatic_func), 4)); in TEST()
192 EXPECT_STREQ("..", TrySymbolizeWithLimit((void *)(&nonstatic_func), 3)); in TEST()
193 EXPECT_STREQ(".", TrySymbolizeWithLimit((void *)(&nonstatic_func), 2)); in TEST()
194 EXPECT_STREQ("", TrySymbolizeWithLimit((void *)(&nonstatic_func), 1)); in TEST()
200 EXPECT_STREQ("Foo::func()", TrySymbolize((void *)(&Foo::func))); in TEST()
[all …]
/third_party/libphonenumber/cpp/test/phonenumbers/geocoding/
Darea_code_map_test.cc140 EXPECT_STREQ("New York", map_US_->Lookup(MakePhoneNumber(1, 2121234567L))); in TEST_F()
144 EXPECT_STREQ("Westwood, NJ", in TEST_F()
149 EXPECT_STREQ("New York", map_US_->Lookup(MakePhoneNumber(1, 2126641234L))); in TEST_F()
153 EXPECT_STREQ("San Mateo, CA", in TEST_F()
158 EXPECT_STREQ("California", map_US_->Lookup(MakePhoneNumber(1, 6502531234LL))); in TEST_F()
162 EXPECT_STREQ("Richardson, TX", in TEST_F()
167 EXPECT_STREQ(NULL, map_US_->Lookup(MakePhoneNumber(1, 9724811234LL))); in TEST_F()
171 EXPECT_STREQ(NULL, map_US_->Lookup(MakePhoneNumber(41, 446681300L))); in TEST_F()
177 EXPECT_STREQ("Milan", map_IT_->Lookup(number)); in TEST_F()
180 EXPECT_STREQ("Rome", map_IT_->Lookup(number)); in TEST_F()
[all …]
/third_party/musl/libc-test/src/functionalext/time/
Dstrftime_ext.c49 EXPECT_STREQ("strftime_0100", buffer, test_asctime_data[i].result); in strftime_0100()
77 EXPECT_STREQ("strftime_0200", buffer, test_strftime_data[i].result); in strftime_0200()
104 EXPECT_STREQ("strftime_0300", buffer, " 2"); in strftime_0300()
130 EXPECT_STREQ("strftime_0400", buffer, "18"); in strftime_0400()
156 EXPECT_STREQ("strftime_0500", buffer, "06"); in strftime_0500()
182 EXPECT_STREQ("strftime_0600", buffer, "pm"); in strftime_0600()
208 EXPECT_STREQ("strftime_0700", buffer, "30-Jul-2022"); in strftime_0700()
234 EXPECT_STREQ("strftime_0800", buffer, "211"); in strftime_0800()
260 EXPECT_STREQ("strftime_0900", buffer, " 6"); in strftime_0900()
292 EXPECT_STREQ("strftime_1000", buffer, "01"); in strftime_1000()
[all …]
Dstrptime_ext.c60 EXPECT_STREQ("strptime_0100", test_asctime_data[i].result, result); in strptime_0100()
98 EXPECT_STREQ("strptime_0200", test_strptime_data[i].result, buffResult); in strptime_0200()
117 EXPECT_STREQ("strptime_0300", buffer, buffResult); in strptime_0300()
134 EXPECT_STREQ("strptime_0400", buffer, buffResult); in strptime_0400()
151 EXPECT_STREQ("strptime_0500", buffer, buffResult); in strptime_0500()
168 EXPECT_STREQ("strptime_0600", "4", buffResult); in strptime_0600()
194 EXPECT_STREQ("strptime_0700", buffer, buffResult); in strptime_0700()
211 EXPECT_STREQ("strptime_0800", buffer, buffResult); in strptime_0800()
229 EXPECT_STREQ("strptime_0900", "2021-9-30", buffResult); in strptime_0900()
246 EXPECT_STREQ("strptime_1000", "-01-23", buffResult); in strptime_1000()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dlocaleconv_sup.c33 EXPECT_STREQ("localeconv_0100", ".", pconv->decimal_point); in localeconv_0100()
34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
35 EXPECT_STREQ("localeconv_0100", "", pconv->grouping); in localeconv_0100()
36 EXPECT_STREQ("localeconv_0100", "", pconv->int_curr_symbol); in localeconv_0100()
37 EXPECT_STREQ("localeconv_0100", "", pconv->currency_symbol); in localeconv_0100()
38 EXPECT_STREQ("localeconv_0100", "", pconv->mon_decimal_point); in localeconv_0100()
39 EXPECT_STREQ("localeconv_0100", "", pconv->mon_thousands_sep); in localeconv_0100()
40 EXPECT_STREQ("localeconv_0100", "", pconv->mon_grouping); in localeconv_0100()
41 EXPECT_STREQ("localeconv_0100", "", pconv->positive_sign); in localeconv_0100()
42 EXPECT_STREQ("localeconv_0100", "", pconv->negative_sign); in localeconv_0100()
Dlanginfo_sup.c40 EXPECT_STREQ("nl_langinfo_0100", ptr, "Monday"); in langinfo_0100()
77 EXPECT_STREQ("nl_langinfo_0300", ptr, ""); in nl_langinfo_0300()
94 EXPECT_STREQ("nl_langinfo_0400", ptr, ""); in nl_langinfo_0400()
111 EXPECT_STREQ("nl_langinfo_0500", ptr, "UTF-8"); in nl_langinfo_0500()
119 EXPECT_STREQ("nl_langinfo_0500", ptr, "UTF-8"); in nl_langinfo_0500()
/third_party/musl/libc-test/src/functionalext/locale/
Dlocaleconv.c33 EXPECT_STREQ("localeconv_0100", ".", pconv->decimal_point); in localeconv_0100()
34 EXPECT_STREQ("localeconv_0100", "", pconv->thousands_sep); in localeconv_0100()
35 EXPECT_STREQ("localeconv_0100", "", pconv->grouping); in localeconv_0100()
36 EXPECT_STREQ("localeconv_0100", "", pconv->int_curr_symbol); in localeconv_0100()
37 EXPECT_STREQ("localeconv_0100", "", pconv->currency_symbol); in localeconv_0100()
38 EXPECT_STREQ("localeconv_0100", "", pconv->mon_decimal_point); in localeconv_0100()
39 EXPECT_STREQ("localeconv_0100", "", pconv->mon_thousands_sep); in localeconv_0100()
40 EXPECT_STREQ("localeconv_0100", "", pconv->mon_grouping); in localeconv_0100()
41 EXPECT_STREQ("localeconv_0100", "", pconv->positive_sign); in localeconv_0100()
42 EXPECT_STREQ("localeconv_0100", "", pconv->negative_sign); in localeconv_0100()
Dlanginfo.c44 EXPECT_STREQ("nl_langinfo_0100", ptr, "Monday"); in langinfo_0100()
86 EXPECT_STREQ("nl_langinfo_0300", ptr, ""); in nl_langinfo_0300()
104 EXPECT_STREQ("nl_langinfo_0400", ptr, ""); in nl_langinfo_0400()
121 EXPECT_STREQ("nl_langinfo_0500", ptr, "UTF-8"); in nl_langinfo_0500()
129 EXPECT_STREQ("nl_langinfo_0500", ptr, "UTF-8"); in nl_langinfo_0500()
146 EXPECT_STREQ("nl_langinfo_0600", ptr, "C.UTF-8"); in nl_langinfo_0600()
163 EXPECT_STREQ("nl_langinfo_0700", ptr, ""); in nl_langinfo_0700()
180 EXPECT_STREQ("nl_langinfo_0800", ptr, ""); in nl_langinfo_0800()
197 EXPECT_STREQ("nl_langinfo_0900", ptr, ""); in nl_langinfo_0900()
/third_party/gn/src/gn/
Dvector_utils_unittest.cc22 EXPECT_STREQ(result[0].c_str(), "Hello"); in TEST()
23 EXPECT_STREQ(result[1].c_str(), "World!"); in TEST()
24 EXPECT_STREQ(result[2].c_str(), "bonjour"); in TEST()
25 EXPECT_STREQ(result[3].c_str(), "monde!"); in TEST()
43 EXPECT_STREQ(result[0].c_str(), "Hello"); in TEST()
44 EXPECT_STREQ(result[1].c_str(), "World!"); in TEST()
45 EXPECT_STREQ(result[2].c_str(), "bonjour"); in TEST()
46 EXPECT_STREQ(result[3].c_str(), "monde!"); in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
68 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
69 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
70 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
71 EXPECT_STREQ("null-with-args", manager.GetPass(3)->name()); in TEST()
[all …]
/third_party/spirv-tools/test/opt/
Dpass_manager_test.cpp50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
68 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
69 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
70 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
71 EXPECT_STREQ("null-with-args", manager.GetPass(3)->name()); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_manager_test.cpp50 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
54 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
55 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
59 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
60 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
61 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
68 EXPECT_STREQ("strip-debug", manager.GetPass(0)->name()); in TEST()
69 EXPECT_STREQ("null", manager.GetPass(1)->name()); in TEST()
70 EXPECT_STREQ("strip-debug", manager.GetPass(2)->name()); in TEST()
71 EXPECT_STREQ("null-with-args", manager.GetPass(3)->name()); in TEST()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/fortify/fortify_gtest/
Dfortify_sprintf_chk_test.cpp29 EXPECT_STREQ(str, "test");
33 EXPECT_STREQ(str, "1");
37 EXPECT_STREQ(str, "123,456");
41 EXPECT_STREQ(str, "%test");
45 EXPECT_STREQ(str, "0,bc,a");
Dfortify_snprintf_chk_test.cpp29 EXPECT_STREQ(str, "test");
33 EXPECT_STREQ(str, "1");
37 EXPECT_STREQ(str, "123,456");
41 EXPECT_STREQ(str, "%test");
45 EXPECT_STREQ(str, "0,bc,a");
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Dinput_test.cpp71 EXPECT_STREQ(str[0], input.string(0)); in TEST()
94 EXPECT_STREQ("fo", buf); in TEST()
102 EXPECT_STREQ("foo", buf); in TEST()
108 EXPECT_STREQ("foo", buf); in TEST()
132 EXPECT_STREQ("fo", buf); in TEST()
140 EXPECT_STREQ("foo", buf); in TEST()
146 EXPECT_STREQ("foo", buf); in TEST()
163 EXPECT_STREQ("fobar", buf); in TEST()
182 EXPECT_STREQ("foobar", buf); in TEST()
/third_party/cef/libcef/browser/devtools/
Ddevtools_util_unittest.cc86 EXPECT_STREQ("Test.myMethod", parser.method_.data()); in TEST()
97 EXPECT_STREQ("Test.myMethod2", parser.method_.data()); in TEST()
98 EXPECT_STREQ("{}", parser.params_.data()); in TEST()
108 EXPECT_STREQ("Test.myMethod3", parser.method_.data()); in TEST()
109 EXPECT_STREQ("{\"foo\":\"bar\"}", parser.params_.data()); in TEST()
165 EXPECT_STREQ("{}", parser.params_.data()); in TEST()
177 EXPECT_STREQ("{\"foo\":\"bar\"}", parser.params_.data()); in TEST()
191 EXPECT_STREQ("{}", parser.params_.data()); in TEST()
203 EXPECT_STREQ("{\"foo\":\"bar\"}", parser.params_.data()); in TEST()
/third_party/musl/libc-test/src/functionalext/supplement/stdlib/
Dfunctionalext_fcvt.c33 EXPECT_STREQ("fcvt_0100", result, "12346"); in fcvt_0100()
43 EXPECT_STREQ("fcvt_0100", result, "12345"); in fcvt_0200()
57 EXPECT_STREQ("fcvt_0300", result, "000"); in fcvt_0300()
72 EXPECT_STREQ("fcvt_0400", result, "12346"); in fcvt_0400()
88 EXPECT_STREQ("fcvt_0500", result, "1234560000000"); in fcvt_0500()

1234567891011