Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-unittest-api_test.cc125 EXPECT_STREQ("ApiTest", test_cases[0]->name()); in TEST()
126 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); in TEST()
128 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); in TEST()
151 EXPECT_STREQ("ApiTest", test_case->name()); in TEST()
160 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); in TEST()
161 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); in TEST()
166 EXPECT_STREQ("TestCaseDisabledAccessorsWork", tests[1]->name()); in TEST()
167 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); in TEST()
172 EXPECT_STREQ("TestCaseImmutableAccessorsWork", tests[2]->name()); in TEST()
173 EXPECT_STREQ("ApiTest", tests[2]->test_case_name()); in TEST()
[all …]
Dgtest-test-part_test.cc70 EXPECT_STREQ("some_file.cc", result.file_name()); in TEST_F()
72 EXPECT_STREQ(message.GetString().c_str(), result.message()); in TEST_F()
73 EXPECT_STREQ("something is terribly wrong", result.summary()); in TEST_F()
114 EXPECT_STREQ("foo/bar.cc", r1_.file_name()); in TEST_F()
115 EXPECT_STREQ(NULL, r3_.file_name()); in TEST_F()
126 EXPECT_STREQ("Success!", r1_.message()); in TEST_F()
180 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); in TEST_F()
190 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); in TEST_F()
191 EXPECT_STREQ("Failure 2", results.GetTestPartResult(1).message()); in TEST_F()
Dgtest_unittest.cc612 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); in TEST()
613 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); in TEST()
618 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); in TEST()
619 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); in TEST()
620 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); in TEST()
621 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); in TEST()
628 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); in TEST()
629 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); in TEST()
633 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); in TEST()
634 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, -1).c_str()); in TEST()
[all …]
Dgtest-port_test.cc424 EXPECT_STREQ("", empty.pattern()); in TYPED_TEST()
427 EXPECT_STREQ("hello", simple.pattern()); in TYPED_TEST()
430 EXPECT_STREQ(".*(\\w+)", normal.pattern()); in TYPED_TEST()
882 EXPECT_STREQ("", empty.pattern()); in TEST()
885 EXPECT_STREQ("hello", simple.pattern()); in TEST()
940 EXPECT_STREQ("abc", GetCapturedStdout().c_str()); in TEST()
950 EXPECT_STREQ("jkl", GetCapturedStderr().c_str()); in TEST()
963 EXPECT_STREQ("pqr", GetCapturedStdout().c_str()); in TEST()
964 EXPECT_STREQ("stu", GetCapturedStderr().c_str()); in TEST()
1137 EXPECT_STREQ("foo", thread_local_string.get().c_str()); in TEST()
[all …]
Dgtest-printers_test.cc1214 EXPECT_STREQ("123", in TEST()
1281 EXPECT_STREQ("\"hello \\\"world\"", // The string content should be escaped. in TEST()
1287 EXPECT_STREQ("\"hi\\x1\"", // The string content should be escaped. in TEST()
1295 EXPECT_STREQ("\"hello \\\"world\"", // The string content should be escaped. in TEST()
1301 EXPECT_STREQ("\"hi\\x1\"", // The string content should be escaped. in TEST()
1309 EXPECT_STREQ("L\"hi \\\"world\"", // The string content should be escaped. in TEST()
1315 EXPECT_STREQ("L\"hi\\x1\"", // The string content should be escaped. in TEST()
1324 EXPECT_STREQ("L\"hi \\\"world\"", // The string content should be escaped. in TEST()
1330 EXPECT_STREQ("L\"hi\\x1\"", // The string content should be escaped. in TEST()
1376 EXPECT_STREQ("\"hi \\\"w\"", // The content should be escaped. in TEST()
[all …]
Dgtest-options_test.cc71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
Dgtest_stress_test.cc84 EXPECT_STREQ(IdToString(id).c_str(), property->value()); in ExpectKeyAndValueWereRecordedForId()
100 EXPECT_STREQ("a", "a"); in ManyAsserts()
Dgtest-param-test_test.cc295 EXPECT_STREQ("cat", it->value().c_str()); in TEST()
298 EXPECT_STREQ("catdog", it->value().c_str()); in TEST()
801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); in TEST_P()
805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); in TEST_P()
Dgtest-filepath_test.cc99 EXPECT_STREQ(GTEST_PATH_SEP_, cwd_without_drive + 1);
Dgtest-death-test_test.cc1093 EXPECT_STREQ("", GetLastErrnoDescription().c_str()); in TEST()
/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_thread_unittest.cpp23 EXPECT_STREQ("", error); in TEST()
30 EXPECT_STREQ("World", data->GetError()); in TEST()
37 EXPECT_STREQ("", data->GetError()); in TEST()
45 EXPECT_STREQ("Hello", error); in TEST()
48 EXPECT_STREQ("Hello", error); in TEST()
54 EXPECT_STREQ("Hello", data->GetError()); in TEST()
57 EXPECT_STREQ("", data->GetError()); in TEST()
60 EXPECT_STREQ("World", data->GetError()); in TEST()
63 EXPECT_STREQ("", data->GetError()); in TEST()
70 EXPECT_STREQ("Hello", data->GetError()); in TEST()
[all …]
Dcrazy_linker_error_unittest.cpp13 EXPECT_STREQ("", error.c_str()); in TEST()
18 EXPECT_STREQ("Foo Bar", error.c_str()); in TEST()
25 EXPECT_STREQ("FooFoo", error2.c_str()); in TEST()
31 EXPECT_STREQ("BarFoo", error.c_str()); in TEST()
33 EXPECT_STREQ("FooBar", error.c_str()); in TEST()
39 EXPECT_STREQ("FooBar", error.c_str()); in TEST()
45 EXPECT_STREQ("Hi Cowboy!", error.c_str()); in TEST()
51 EXPECT_STREQ("Hi there Cowboy!", error.c_str()); in TEST()
Dcrazy_linker_search_path_list_unittest.cpp43 EXPECT_STREQ("/tmp/foo/bar", list.FindFile("bar")); in TEST()
52 EXPECT_STREQ("/tmp/foo/bar", list.FindFile("bar")); in TEST()
62 EXPECT_STREQ("/tmp/foo/bar", list.FindFile("foo/bar")); in TEST()
63 EXPECT_STREQ("/foo", list.FindFile("foo")); in TEST()
72 EXPECT_STREQ("/tmp/foo/bar", list.FindFile("bar")); in TEST()
73 EXPECT_STREQ("/tmp/zoo", list.FindFile("zoo")); in TEST()
87 EXPECT_STREQ("/opt/foo", list.FindFile("foo")); in TEST()
Dcrazy_linker_util_unittest.cpp25 EXPECT_STREQ("Simple", s.c_str()); in TEST()
31 EXPECT_STREQ("Sim", s2.c_str()); in TEST()
40 EXPECT_STREQ(s2.c_str(), s1.c_str()); in TEST()
46 EXPECT_STREQ("H", s.c_str()); in TEST()
52 EXPECT_STREQ("FooBar", s.c_str()); in TEST()
54 EXPECT_STREQ("FooBarZoo", s.c_str()); in TEST()
61 EXPECT_STREQ("FooBar", s.c_str()); in TEST()
79 EXPECT_STREQ("A very lon", s.c_str()); in TEST()
86 EXPECT_STREQ("", s.c_str()); in TEST()
Dcrazy_linker_system_unittest.cpp27 EXPECT_STREQ(kString, buff2); in TEST()
Dcrazy_linker_proc_maps_unittest.cpp57 EXPECT_STREQ("/system/bin/mksh", path); in TEST()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample2_unittest.cc72 EXPECT_STREQ(NULL, s.c_string()); in TEST()
108 EXPECT_STREQ(NULL, s.c_string()); in TEST()
/ndk/sources/android/support/tests/
Dstdio_unittest.cc22 EXPECT_STREQ("0x1.921fb54411744p+1", char_buff); in TEST()
/ndk/sources/android/support/tests/minitest/
Dminitest.h373 #define EXPECT_STREQ(expected, expression) \
/ndk/sources/third_party/googletest/googletest/include/gtest/
Dgtest.h2019 #define EXPECT_STREQ(expected, actual) \ macro