/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest-unittest-api_test.cc | 125 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 …]
|
D | gtest-test-part_test.cc | 70 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()
|
D | gtest_unittest.cc | 612 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 …]
|
D | gtest-port_test.cc | 424 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 …]
|
D | gtest-printers_test.cc | 1214 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 …]
|
D | gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); in TEST() 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str()); in TEST()
|
D | gtest_stress_test.cc | 84 EXPECT_STREQ(IdToString(id).c_str(), property->value()); in ExpectKeyAndValueWereRecordedForId() 100 EXPECT_STREQ("a", "a"); in ManyAsserts()
|
D | gtest-param-test_test.cc | 295 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()
|
D | gtest-filepath_test.cc | 99 EXPECT_STREQ(GTEST_PATH_SEP_, cwd_without_drive + 1);
|
D | gtest-death-test_test.cc | 1093 EXPECT_STREQ("", GetLastErrnoDescription().c_str()); in TEST()
|
/ndk/sources/android/crazy_linker/src/ |
D | crazy_linker_thread_unittest.cpp | 23 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 …]
|
D | crazy_linker_error_unittest.cpp | 13 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()
|
D | crazy_linker_search_path_list_unittest.cpp | 43 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()
|
D | crazy_linker_util_unittest.cpp | 25 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()
|
D | crazy_linker_system_unittest.cpp | 27 EXPECT_STREQ(kString, buff2); in TEST()
|
D | crazy_linker_proc_maps_unittest.cpp | 57 EXPECT_STREQ("/system/bin/mksh", path); in TEST()
|
/ndk/sources/third_party/googletest/googletest/samples/ |
D | sample2_unittest.cc | 72 EXPECT_STREQ(NULL, s.c_string()); in TEST() 108 EXPECT_STREQ(NULL, s.c_string()); in TEST()
|
/ndk/sources/android/support/tests/ |
D | stdio_unittest.cc | 22 EXPECT_STREQ("0x1.921fb54411744p+1", char_buff); in TEST()
|
/ndk/sources/android/support/tests/minitest/ |
D | minitest.h | 373 #define EXPECT_STREQ(expected, expression) \
|
/ndk/sources/third_party/googletest/googletest/include/gtest/ |
D | gtest.h | 2019 #define EXPECT_STREQ(expected, actual) \ macro
|