Searched refs:EXPECT_STREQ (Results 1 - 19 of 19) sorted by relevance

/gem5/ext/googletest/googletest/test/
H A Dgtest-unittest-api_test.cc125 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 Dgtest-test-part_test.cc70 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 Dgtest_unittest.cc596 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 Dgtest-typed-test_test.cc353 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 Dgtest-port_test.cc419 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 Dgtest-options_test.cc71 EXPECT_STREQ("", UnitTestOptions::GetOutputFormat().c_str());
76 EXPECT_STREQ("xml", UnitTestOptions::GetOutputFormat().c_str());
H A Dgtest_stress_test.cc84 EXPECT_STREQ(IdToString(id).c_str(), property->value());
100 EXPECT_STREQ("a", "a");
H A Dgtest-printers_test.cc1246 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 Dgtest-param-test_test.cc295 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 Dgtest-filepath_test.cc99 EXPECT_STREQ(GTEST_PATH_SEP_, cwd_without_drive + 1);
H A Dgtest-death-test_test.cc1157 EXPECT_STREQ("", GetLastErrnoDescription().c_str());
/gem5/ext/googletest/googletest/samples/
H A Dsample2_unittest.cc72 EXPECT_STREQ(NULL, s.c_string());
108 EXPECT_STREQ(NULL, s.c_string());
/gem5/ext/googletest/googletest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc60 EXPECT_STREQ("name", buffer);
/gem5/ext/googletest/googlemock/test/
H A Dgmock-internal-utils_test.cc418 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 Dgmock_test.cc58 EXPECT_STREQ(new_argv[i], argv[i]);
H A Dgmock-generated-actions_test.cc250 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 Dgmock-actions_test.cc535 EXPECT_STREQ("Hello", a1.Perform(make_tuple()));
819 EXPECT_STREQ("world", ptr);
827 EXPECT_STREQ(L"world", ptr);
H A Dgmock-spec-builders_test.cc605 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 Dgtest.h1995 #define EXPECT_STREQ(s1, s2) \ macro

Completed in 76 milliseconds