Home
last modified time | relevance | path

Searched refs:SafeMatcherCast (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Testing/Support/
DError.h78 new ValueMatchesMono<T>(testing::SafeMatcherCast<T>(Matcher)));
155 testing::SafeMatcherCast<InfoT &>(Matcher))); in Failed()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h665 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { in SafeMatcherCast() function
1478 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1578 SafeMatcherCast<T>(matchers.first),
1598 SafeMatcherCast<T>(matchers.first),
1599 SafeMatcherCast<T>(matchers.second)));
1648 return Matcher<T>(new BothOfMatcherImpl<T>(SafeMatcherCast<T>(matcher1_),
1649 SafeMatcherCast<T>(matcher2_)));
1744 SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
1854 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
2733 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
[all …]
Dgmock-generated-matchers.h221 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {} in ArgsMatcherImpl()
/external/google-breakpad/src/testing/include/gmock/
Dgmock-matchers.h552 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { in SafeMatcherCast() function
1243 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1328 return Matcher<T>(new BothOfMatcherImpl<T>(SafeMatcherCast<T>(matcher1_),
1329 SafeMatcherCast<T>(matcher2_)));
1417 SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
2141 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
2222 testing::SafeMatcherCast<const Element&>(inner_matcher)) {}
2358 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
2421 testing::SafeMatcherCast<const FirstType&>(first_matcher)),
2423 testing::SafeMatcherCast<const SecondType&>(second_matcher)) {
[all …]
Dgmock-generated-matchers.h.pump116 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
Dgmock-generated-matchers.h231 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {} in ArgsMatcherImpl()
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h295 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) { in SafeMatcherCast() function
998 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
1096 values->push_back(SafeMatcherCast<T>(std::get<I>(matchers_)));
1311 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
2281 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
2367 testing::SafeMatcherCast<const Element&>(inner_matcher)) {}
2529 testing::SafeMatcherCast<const KeyType&>(inner_matcher)) {
2593 testing::SafeMatcherCast<const FirstType&>(first_matcher)),
2595 testing::SafeMatcherCast<const SecondType&>(second_matcher)) {
3187 : mono_tuple2_matcher_(SafeMatcherCast<const ArgTuple&>(tm)),
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc584 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()
594 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()
598 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()
608 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()
613 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()
622 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
631 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()
639 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
649 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()
655 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
[all …]
/external/google-breakpad/src/testing/
DCHANGES70 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc785 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()
795 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()
799 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()
809 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()
814 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()
823 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
832 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()
840 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
850 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()
859 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
[all …]
/external/googletest/googlemock/docs/
DCheatSheet.md341 |`SafeMatcherCast<T>(m)`| [safely casts](CookBook.md#casting-matchers) matcher `m` to type `Matcher…
DCookBook.md701 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type
714 using ::testing::SafeMatcherCast;
728 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));
731 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar