/gem5/ext/googletest/googletest/test/ |
H A D | gtest-unittest-api_test.cc | 125 EXPECT_STREQ("ApiTest", test_cases[0]->name()); 126 EXPECT_STREQ("DISABLED_Test", test_cases[1]->name()); 128 EXPECT_STREQ("TestCaseWithCommentTest/0", test_cases[2]->name()); 151 EXPECT_STREQ("ApiTest", test_case->name()); 160 EXPECT_STREQ("DISABLED_Dummy1", tests[0]->name()); 161 EXPECT_STREQ("ApiTest", tests[0]->test_case_name()); 166 EXPECT_STREQ("TestCaseDisabledAccessorsWork", tests[1]->name()); 167 EXPECT_STREQ("ApiTest", tests[1]->test_case_name()); 172 EXPECT_STREQ("TestCaseImmutableAccessorsWork", tests[2]->name()); 173 EXPECT_STREQ("ApiTes [all...] |
H A D | gtest-test-part_test.cc | 70 EXPECT_STREQ("some_file.cc", result.file_name()); 72 EXPECT_STREQ(message.GetString().c_str(), result.message()); 73 EXPECT_STREQ("something is terribly wrong", result.summary()); 114 EXPECT_STREQ("foo/bar.cc", r1_.file_name()); 115 EXPECT_STREQ(NULL, r3_.file_name()); 126 EXPECT_STREQ("Success!", r1_.message()); 180 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); 190 EXPECT_STREQ("Failure 1", results.GetTestPartResult(0).message()); 191 EXPECT_STREQ("Failure 2", results.GetTestPartResult(1).message());
|
H A D | gtest_unittest.cc | 596 EXPECT_STREQ("", WideStringToUtf8(L"", 0).c_str()); 597 EXPECT_STREQ("", WideStringToUtf8(L"", -1).c_str()); 602 EXPECT_STREQ("a", WideStringToUtf8(L"a", 1).c_str()); 603 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", 2).c_str()); 604 EXPECT_STREQ("a", WideStringToUtf8(L"a", -1).c_str()); 605 EXPECT_STREQ("ab", WideStringToUtf8(L"ab", -1).c_str()); 612 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", 1).c_str()); 613 EXPECT_STREQ("\xC3\x93", WideStringToUtf8(L"\xD3", -1).c_str()); 617 EXPECT_STREQ("\xD5\xB6", WideStringToUtf8(s, 1).c_str()); 618 EXPECT_STREQ("\xD [all...] |
H A D | gtest-typed-test_test.cc | 353 TYPED_TEST_P(TrimmedTest, Test1) { EXPECT_STREQ("Test1", GetTestName()); } 354 TYPED_TEST_P(TrimmedTest, Test2) { EXPECT_STREQ("Test2", GetTestName()); } 355 TYPED_TEST_P(TrimmedTest, Test3) { EXPECT_STREQ("Test3", GetTestName()); } 356 TYPED_TEST_P(TrimmedTest, Test4) { EXPECT_STREQ("Test4", GetTestName()); } 357 TYPED_TEST_P(TrimmedTest, Test5) { EXPECT_STREQ("Test5", GetTestName()); }
|
H A D | gtest-port_test.cc | 419 EXPECT_STREQ("", empty.pattern()); 422 EXPECT_STREQ("hello", simple.pattern()); 425 EXPECT_STREQ(".*(\\w+)", normal.pattern()); 877 EXPECT_STREQ("", empty.pattern()); 880 EXPECT_STREQ("hello", simple.pattern()); 935 EXPECT_STREQ("abc", GetCapturedStdout().c_str()); 945 EXPECT_STREQ("jkl", GetCapturedStderr().c_str()); 958 EXPECT_STREQ("pqr", GetCapturedStdout().c_str()); 959 EXPECT_STREQ("stu", GetCapturedStderr().c_str()); 1143 EXPECT_STREQ("fo [all...] |
H A D | gtest-options_test.cc | 71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str()); 76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
|
H A D | gtest_stress_test.cc | 84 EXPECT_STREQ(IdToString(id).c_str(), property->value()); 100 EXPECT_STREQ("a", "a");
|
H A D | gtest-printers_test.cc | 1246 EXPECT_STREQ("123", 1313 EXPECT_STREQ("\"hello \\\"world\"", // The string content should be escaped. 1319 EXPECT_STREQ("\"hi\\x1\"", // The string content should be escaped. 1327 EXPECT_STREQ("\"hello \\\"world\"", // The string content should be escaped. 1333 EXPECT_STREQ("\"hi\\x1\"", // The string content should be escaped. 1341 EXPECT_STREQ("L\"hi \\\"world\"", // The string content should be escaped. 1347 EXPECT_STREQ("L\"hi\\x1\"", // The string content should be escaped. 1356 EXPECT_STREQ("L\"hi \\\"world\"", // The string content should be escaped. 1362 EXPECT_STREQ("L\"hi\\x1\"", // The string content should be escaped. 1408 EXPECT_STREQ("\"h [all...] |
H A D | gtest-param-test_test.cc | 295 EXPECT_STREQ("cat", it->value().c_str()); 298 EXPECT_STREQ("catdog", it->value().c_str()); 801 EXPECT_STREQ("ZeroToFiveSequence/NamingTest", test_info->test_case_name()); 805 EXPECT_STREQ(index_stream.GetString().c_str(), test_info->name()); 896 EXPECT_STREQ(test_name_stream.GetString().c_str(), test_info->name()); 923 EXPECT_STREQ(test_name_stream.GetString().c_str(), test_info->name()); 955 EXPECT_STREQ(test_name_stream.GetString().c_str(), test_info->name());
|
H A D | gtest-filepath_test.cc | 99 EXPECT_STREQ(GTEST_PATH_SEP_, cwd_without_drive + 1);
|
H A D | gtest-death-test_test.cc | 1157 EXPECT_STREQ("", GetLastErrnoDescription().c_str());
|
/gem5/ext/googletest/googletest/samples/ |
H A D | sample2_unittest.cc | 72 EXPECT_STREQ(NULL, s.c_string()); 108 EXPECT_STREQ(NULL, s.c_string());
|
/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/ |
H A D | widget_test.cc | 60 EXPECT_STREQ("name", buffer);
|
/gem5/ext/googletest/googlemock/test/ |
H A D | gmock-internal-utils_test.cc | 418 EXPECT_STREQ("", GetCapturedStdout().c_str()); 430 EXPECT_STREQ("\nTest log.\n", GetCapturedStdout().c_str()); 579 EXPECT_STREQ("", GrabOutput(ExpectCallLogger, kWarningVerbosity).c_str()); 585 EXPECT_STREQ("", GrabOutput(ExpectCallLogger, kErrorVerbosity).c_str()); 602 EXPECT_STREQ("", GrabOutput(OnCallLogger, kWarningVerbosity).c_str()); 608 EXPECT_STREQ("", GrabOutput(OnCallLogger, kErrorVerbosity).c_str());
|
H A D | gmock_test.cc | 58 EXPECT_STREQ(new_argv[i], argv[i]);
|
H A D | gmock-generated-actions_test.cc | 250 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary))); 258 EXPECT_STREQ("i", a.Perform(make_tuple(&Binary))); 777 EXPECT_STREQ("hello", a1.Perform(make_tuple(false, CharPtr("world")))); 778 EXPECT_STREQ("world", a1.Perform(make_tuple(true, CharPtr("world")))); 781 EXPECT_STREQ("hi", a2.Perform(make_tuple(false, CharPtr("world")))); 782 EXPECT_STREQ("world", a2.Perform(make_tuple(true, CharPtr("world")))); 785 EXPECT_STREQ("hi", a3.Perform(make_tuple(true, CharPtr("world")))); 786 EXPECT_STREQ("you", a3.Perform(make_tuple(false, CharPtr("world"))));
|
H A D | gmock-actions_test.cc | 535 EXPECT_STREQ("Hello", a1.Perform(make_tuple())); 819 EXPECT_STREQ("world", ptr); 827 EXPECT_STREQ(L"world", ptr);
|
H A D | gmock-spec-builders_test.cc | 605 EXPECT_STREQ("", GetCapturedStdout().c_str()); 881 EXPECT_STREQ("", output1.c_str()); 2078 EXPECT_STREQ("", output.c_str());
|
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1995 #define EXPECT_STREQ(s1, s2) \ macro
|