Searched refs:Pair (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc119 using testing::Pair;
1358 Matcher<const pair<const char*, int>&> m1 = Pair("foo", 42);
1359 Matcher<const pair<const char*, int> > m2 = Pair("foo", 42);
1360 Matcher<pair<const char*, int> > m3 = Pair("foo", 42);
1362 Matcher<pair<int, const std::string> > m4 = Pair(25, "42");
1363 Matcher<pair<const std::string, int> > m5 = Pair("25", 42);
1367 Matcher<const pair<std::string, int>&> m1 = Pair("foo", 42);
1375 Matcher<const pair<int, int>&> m2 = Not(Pair(Not(13), 42));
1382 // If neither field matches, Pair() should explain about the first
1384 const Matcher<pair<int, int> > m = Pair(GreaterTha
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest-printers_test.cc931 TEST(PrintStlContainerTest, Pair) {
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h2998 // Implements Pair(first_matcher, second_matcher) for the given argument pair
2999 // type with its two matchers. See Pair() function below.
3085 // Implements polymorphic Pair(first_matcher, second_matcher).
4308 // EXPECT_THAT(page_lengths, Not(Each(Pair(1, 100))));
4326 // Pair(first_matcher, second_matcher) matches a std::pair whose 'first' field
4328 // example, EXPECT_THAT(map_type, ElementsAre(Pair(Ge(5), "foo"))) can be used
4333 Pair(FirstMatcher first_matcher, SecondMatcher second_matcher) { function in namespace:testing

Completed in 48 milliseconds