Searched refs:IsSubstring (Results 1 - 7 of 7) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-cardinalities_test.cc50 using testing::IsSubstring;
123 EXPECT_PRED_FORMAT2(IsSubstring, "called any number of times",
151 EXPECT_PRED_FORMAT2(IsSubstring, "any number of times",
168 EXPECT_PRED_FORMAT2(IsSubstring, "at least once",
173 EXPECT_PRED_FORMAT2(IsSubstring, "at least twice",
178 EXPECT_PRED_FORMAT2(IsSubstring, "at least 3 times",
206 EXPECT_PRED_FORMAT2(IsSubstring, "never called",
223 EXPECT_PRED_FORMAT2(IsSubstring, "called at most once",
228 EXPECT_PRED_FORMAT2(IsSubstring, "called at most twice",
233 EXPECT_PRED_FORMAT2(IsSubstring, "calle
[all...]
H A Dgmock-spec-builders_test.cc85 using testing::IsSubstring;
645 IsSubstring,
650 IsSubstring,
656 IsSubstring,
661 IsSubstring,
667 IsSubstring,
687 IsSubstring,
908 EXPECT_PRED_FORMAT2(IsSubstring, expect_call_location, output);
921 EXPECT_PRED_FORMAT2(IsSubstring, on_call_location, GetCapturedStdout());
1990 EXPECT_PRED_FORMAT2(IsSubstring, "GMOC
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest-message_test.cc67 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1.234560", s.c_str());
68 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 2.345669", s.c_str());
76 EXPECT_PRED_FORMAT2(testing::IsSubstring, "1260570880.45", s.c_str());
77 EXPECT_PRED_FORMAT2(testing::IsSubstring, " 1260572265.19", s.c_str());
H A Dgtest_unittest.cc223 using testing::IsSubstring;
2543 // Tests for ::testing::IsSubstring().
2545 // Tests that IsSubstring() returns the correct result when the input
2548 EXPECT_FALSE(IsSubstring("", "", NULL, "a"));
2549 EXPECT_FALSE(IsSubstring("", "", "b", NULL));
2550 EXPECT_FALSE(IsSubstring("", "", "needle", "haystack"));
2552 EXPECT_TRUE(IsSubstring("", "", static_cast<const char*>(NULL), NULL));
2553 EXPECT_TRUE(IsSubstring("", "", "needle", "two needles"));
2556 // Tests that IsSubstring() returns the correct result when the input
2559 EXPECT_FALSE(IsSubstring("", "", kNul
[all...]
H A Dgtest-port_test.cc271 EXPECT_PRED_FORMAT2(IsSubstring, "foo.cc", FormatFileLocation("foo.cc", 42));
272 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation("foo.cc", 42));
277 IsSubstring, "unknown file", FormatFileLocation(NULL, 42));
278 EXPECT_PRED_FORMAT2(IsSubstring, "42", FormatFileLocation(NULL, 42));
/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h1585 // IsSubstring() and IsNotSubstring() are intended to be used as the
1593 GTEST_API_ AssertionResult IsSubstring(
1596 GTEST_API_ AssertionResult IsSubstring(
1605 GTEST_API_ AssertionResult IsSubstring(
1613 GTEST_API_ AssertionResult IsSubstring(
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc1578 // This function implements either IsSubstring() or IsNotSubstring(),
1602 // IsSubstring() and IsNotSubstring() check whether needle is a
1606 AssertionResult IsSubstring( function in namespace:testing
1612 AssertionResult IsSubstring( function in namespace:testing
1630 AssertionResult IsSubstring( function in namespace:testing
1643 AssertionResult IsSubstring( function in namespace:testing

Completed in 61 milliseconds