Home
last modified time | relevance | path

Searched refs:AllOf (Results 1 - 17 of 17) sorted by relevance

/third_party/googletest/googlemock/test/
H A Dgmock-matchers-arithmetic_test.cc422 // Helper to allow easy testing of AllOf matchers with num parameters.
434 // Tests that AllOf(m1, ..., mn) matches any value that matches all of
438 m = AllOf(Le(2), Ge(1)); in TEST()
444 m = AllOf(Gt(0), Ne(1), Ne(2)); in TEST()
450 m = AllOf(Gt(0), Ne(1), Ne(2), Ne(3)); in TEST()
457 m = AllOf(Ge(0), Lt(10), Ne(3), Ne(5), Ne(7)); in TEST()
466 AllOfMatches(2, AllOf(Ne(1), Ne(2))); in TEST()
467 AllOfMatches(3, AllOf(Ne(1), Ne(2), Ne(3))); in TEST()
468 AllOfMatches(4, AllOf(Ne(1), Ne(2), Ne(3), Ne(4))); in TEST()
469 AllOfMatches(5, AllOf(N in TEST()
1478 bool AllOf(const T1& /*t1*/, const T2& /*t2*/) { AllOf() function
[all...]
H A Dgmock_link_test.h95 // AllOf
132 using testing::AllOf;
665 // Tests the linkage of the AllOf matcher.
667 Matcher<int> m = AllOf(_, Eq(1)); in TEST()
H A Dgmock-matchers-comparisons_test.cc2296 // Tests that when AllOf() fails, only the first failing matcher is in TEST()
2299 const Matcher<int> m = AllOf(DivisibleBy(4), DivisibleBy(3)); in TEST()
2303 // Tests that when AllOf() fails, only the first failing matcher is in TEST()
2306 const Matcher<int> m = AllOf(DivisibleBy(4), DivisibleBy(3)); in TEST()
2310 // Tests that when AllOf() fails, only the first failing matcher is in TEST()
2313 const Matcher<int> m = AllOf(Ge(1), DivisibleBy(3)); in TEST()
2317 // Tests that when AllOf() succeeds, all matchers are asked to explain in TEST()
2320 const Matcher<int> m = AllOf(DivisibleBy(2), DivisibleBy(3)); in TEST()
2325 const Matcher<int> m = AllOf(Ge(2), Le(3)); in TEST()
H A Dgmock-internal-utils_test.cc470 AllOf(Ge(expected_skip_count), Le(expected_skip_count + 10))); in TEST()
H A Dgmock-matchers-containers_test.cc102 EXPECT_THAT(2, AllOf(Le(7), Ge(0))) << "This should succeed too."; in TEST()
120 EXPECT_NONFATAL_FAILURE(EXPECT_THAT(n, AllOf(Le(7), Ge(5))), in TEST()
134 EXPECT_THAT(n, AllOf(Le(7), Ref(n))); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
H A Dinlined_vector_test.cc46 using testing::AllOf;
1212 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(123, 123))); in TEST()
1229 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(123, 123, 123))); in TEST()
1244 EXPECT_THAT(v, AllOf(SizeIs(2), ElementsAre(ValueIs(123), ValueIs(123)))); in TYPED_TEST_P()
1262 EXPECT_THAT(v, AllOf(SizeIs(3), ElementsAre(ValueIs(123), ValueIs(123), in InstanceCountElemAssignWithAllocationTest()
1449 AllOf(SizeIs(3), CapacityIs(4), ElementsAre(4, 5, 6))); in TEST()
1454 AllOf(SizeIs(3), CapacityIs(Gt(2)), ElementsAre(4, 5, 6))); in TEST()
1467 AllOf(SizeIs(1), CapacityIs(1), ElementsAre(ValueIs(0)))); in TEST()
1474 AllOf(SizeIs(2), CapacityIs(Gt(1)), ElementsAre(ValueIs(0), ValueIs(1)))); in TEST()
1485 v1, AllOf(SizeI in TEST()
[all...]
H A Dfixed_array_test.cc742 using testing::AllOf; in TEST()
757 EXPECT_THAT(arr, AllOf(SizeIs(len), Each(0))); in TEST()
767 EXPECT_THAT(arr, AllOf(SizeIs(len), Each(0))); in TEST()
/third_party/benchmark/test/
H A Dperf_counters_gtest.cc18 using ::testing::AllOf;
265 EXPECT_THAT(Elapsed4Threads[0] / Elapsed2Threads[0], AllOf(Gt(0.1), Lt(10))); in TEST()
266 EXPECT_THAT(Elapsed4Threads[1] / Elapsed2Threads[1], AllOf(Gt(0.1), Lt(10))); in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dchecker.h34 constexpr bool AllOf() { return true; } in AllOf() function
37 constexpr bool AllOf(bool b, T... t) { in AllOf() function
38 return b && AllOf(t...); in AllOf()
H A Dbind.h139 typename = typename std::enable_if<AllOf(Contains(Args,
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
H A Dstatus_test.cc283 AllOf(HasSubstr("INTERNAL: fail"), HasSubstr("[foo='bar']"), in TEST()
296 AllOf(HasSubstr("INTERNAL: fail"), HasSubstr("[foo='bar']"), in TEST()
300 AllOf(HasSubstr("INTERNAL: fail"), HasSubstr("[foo='bar']"), in TEST()
304 AllOf(HasSubstr("INTERNAL: fail"), Not(HasSubstr("[foo='bar']")), in TEST()
H A Dstatusor_test.cc35 using ::testing::AllOf;
191 return AllOf(Field(&CopyDetector::x, a), Field(&CopyDetector::moved, b), in CopyDetectorHas()
482 EXPECT_THAT(status_or, IsOkAndHolds(AllOf( in TEST()
504 IsOkAndHolds(AllOf(Field(&InPlaceHelper::x, ElementsAre(1, 2, 3)), in TEST()
512 IsOkAndHolds(AllOf(Field(&InPlaceHelper::x, ElementsAre(1, 2, 3)), in TEST()
674 IsOkAndHolds(AllOf(Field(&ImplicitConstructibleFromA::x, 11), in TEST()
679 IsOkAndHolds(AllOf(Field(&ImplicitConstructibleFromA::x, 12), in TEST()
699 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 11), in TEST()
704 IsOkAndHolds(AllOf(Field(&ExplicitConstructibleFromA::x, 12), in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_btree_test.cc58 using ::testing::AllOf;
1205 EXPECT_THAT(str, AllOf(HasSubstr("Node(1)"), HasSubstr("Leaf"), in TEST()
1209 EXPECT_THAT(str, AllOf(HasSubstr("len = 11"), HasSubstr("len = 14"), in TEST()
1215 str, AllOf(HasSubstr(absl::StrCat("0x", absl::Hex(flat))), in TEST()
1233 EXPECT_THAT(str, AllOf((HasSubstr("data = \"Hello world\""), in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
H A Dspan_test.cc46 -> decltype(testing::AllOf(DataIs(data), testing::SizeIs(size))) { in SizeIs()
47 return testing::AllOf(DataIs(data), testing::SizeIs(size)); in SizeIs()
/third_party/skia/third_party/externals/abseil-cpp/absl/algorithm/
H A Dcontainer_test.cc530 TEST_F(NonMutatingTest, AllOf) { in TEST_F()
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Djunit-4.10.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h1271 // Implements the AllOf(m1, m2) matcher for a particular argument type
1333 // AllOf(m_1, m_2, ...) and AnyOf(m_1, m_2, ...).
5112 internal::AllOfMatcher<typename std::decay<const Args&>::type...> AllOf( in AllOf() function

Completed in 36 milliseconds