Searched refs:ElementsAre (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc62 using testing::ElementsAre;
286 // Tests for ElementsAre().
289 Matcher<const vector<int>&> m = ElementsAre();
294 Matcher<vector<int> > m = ElementsAre(Gt(5));
299 Matcher<list<string> > m = ElementsAre(StrEq("one"), "two");
306 Matcher<vector<int> > m = ElementsAre();
311 Matcher<const list<int>& > m = ElementsAre(Gt(5));
317 Matcher<const list<string>& > m = ElementsAre("one", "two");
324 Matcher<const list<int>& > m = ElementsAre(1, Ne(2));
334 ElementsAre(GreaterTha
[all...]
H A Dgmock-matchers_test.cc4329 EXPECT_THAT(a1, ElementsAre(ContainerEq(a2[0]), ContainerEq(a2[1])));
4330 EXPECT_THAT(a1, ElementsAre(Not(ContainerEq(b[0])), ContainerEq(a2[1])));
4366 EXPECT_THAT(numbers, WhenSortedBy(less<int>(), ElementsAre()));
4367 EXPECT_THAT(numbers, Not(WhenSortedBy(less<int>(), ElementsAre(1))));
4377 ElementsAre(3, 2, 2, 1)));
4379 ElementsAre(1, 2, 2, 3))));
4388 ElementsAre("hello", "say", "world")));
4390 ElementsAre("say", "hello", "world"))));
4396 EXPECT_THAT(numbers, WhenSortedBy(less<int>(), ElementsAre(1, 2, 3, 4)));
4399 EXPECT_THAT(numbers, Not(WhenSortedBy(less<int>(), ElementsAre(
[all...]
H A Dgmock_link_test.h87 // ElementsAre
137 using testing::ElementsAre;
580 // Tests the linkage of the ElementsAre matcher.
584 ON_CALL(mock, VoidFromVector(ElementsAre('a', _))).WillByDefault(Return());
H A Dgmock-actions_test.cc558 EXPECT_THAT(result, ::testing::ElementsAre(0, 1, 2, 3, 4));
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-generated-matchers.h554 // ElementsAre(e_1, e_2, ... e_n) matches an STL-style container with
557 // ElementsAre() can be either a value or a matcher. We support up to
560 // The use of DecayArray in the implementation allows ElementsAre()
564 // NOTE: Since ElementsAre() cares about the order of the elements, it
570 ElementsAre() { function in namespace:testing
579 ElementsAre(const T1& e1) { function in namespace:testing
590 ElementsAre(const T1& e1, const T2& e2) { function in namespace:testing
603 ElementsAre(const T1& e1, const T2& e2, const T3& e3) { function in namespace:testing
618 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4) { function in namespace:testing
635 ElementsAre(cons function in namespace:testing
656 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4, function in namespace:testing
679 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4, function in namespace:testing
704 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4, function in namespace:testing
732 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4, function in namespace:testing
762 ElementsAre(const T1& e1, const T2& e2, const T3& e3, const T4& e4, function in namespace:testing
[all...]

Completed in 39 milliseconds