Home
last modified time | relevance | path

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

/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/v8/testing/gmock/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_);
2730 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
[all …]
Dgmock-generated-matchers.h.pump115 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
Dgmock-generated-matchers.h221 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {} in ArgsMatcherImpl()
/external/googletest/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_);
2730 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
[all …]
Dgmock-generated-matchers.h.pump115 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {}
Dgmock-generated-matchers.h221 : inner_matcher_(SafeMatcherCast<const SelectedArgs&>(inner_matcher)) {} in ArgsMatcherImpl()
/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.cc677 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()
687 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()
691 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()
701 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()
706 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()
715 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
724 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()
732 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
742 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()
748 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
[all …]
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc677 Matcher<char> m2 = SafeMatcherCast<char>(Eq(32)); in TEST()
687 Matcher<float> m2 = SafeMatcherCast<float>(m1); in TEST()
691 Matcher<char> m3 = SafeMatcherCast<char>(TypedEq<int>('a')); in TEST()
701 Matcher<Derived*> m2 = SafeMatcherCast<Derived*>(m1); in TEST()
706 Matcher<Derived&> m4 = SafeMatcherCast<Derived&>(m3); in TEST()
715 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
724 Matcher<const int&> m2 = SafeMatcherCast<const int&>(m1); in TEST()
732 Matcher<int&> m2 = SafeMatcherCast<int&>(m1); in TEST()
742 Matcher<int> m2 = SafeMatcherCast<int>(m1); in TEST()
748 Matcher<ConvertibleFromAny> m = SafeMatcherCast<ConvertibleFromAny>(1); in TEST()
[all …]
/external/googletest/googlemock/
DCHANGES104 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
/external/v8/testing/gmock/
DCHANGES104 * New feature: functions Value(x, m) and SafeMatcherCast<T>(m).
/external/fmtlib/test/gmock/
Dgmock.h5296 inline Matcher<T> SafeMatcherCast(const M& polymorphic_matcher) {
6059 return Matcher<T>(new NotMatcherImpl<T>(SafeMatcherCast<T>(matcher_)));
6159 SafeMatcherCast<T>(matchers.first),
6179 SafeMatcherCast<T>(matchers.first),
6180 SafeMatcherCast<T>(matchers.second)));
6229 return Matcher<T>(new BothOfMatcherImpl<T>(SafeMatcherCast<T>(matcher1_),
6230 SafeMatcherCast<T>(matcher2_)));
6325 SafeMatcherCast<T>(matcher1_), SafeMatcherCast<T>(matcher2_)));
6435 const Matcher<const T&> matcher = SafeMatcherCast<const T&>(matcher_);
7145 : mono_tuple_matcher_(SafeMatcherCast<InnerMatcherArg>(tuple_matcher)),
[all …]
/external/googletest/googlemock/docs/v1_5/
DCheatSheet.md292 |`SafeMatcherCast<T>(m)`| [safely casts](V1_5_CookBook#Casting_Matchers.md) matcher `m` to type `Ma…
DCookBook.md707 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type
720 using ::testing::SafeMatcherCast;
734 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));
737 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar
/external/googletest/googlemock/docs/v1_6/
DCheatSheet.md297 |`SafeMatcherCast<T>(m)`| [safely casts](http://code.google.com/p/googlemock/wiki/V1_6_CookBook#Cas…
DCookBook.md707 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type
720 using ::testing::SafeMatcherCast;
734 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));
737 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar
/external/googletest/googlemock/docs/
DCheatSheet.md325 |`SafeMatcherCast<T>(m)`| [safely casts](CookBook.md#casting-matchers) matcher `m` to type `Matcher…
DCookBook.md700 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type
713 using ::testing::SafeMatcherCast;
727 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));
730 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar
/external/googletest/googlemock/docs/v1_7/
DCheatSheet.md319 |`SafeMatcherCast<T>(m)`| [safely casts](http://code.google.com/p/googlemock/wiki/V1_7_CookBook#Cas…
DCookBook.md700 `SafeMatcherCast<T>(m)` function. It casts a matcher `m` to type
713 using ::testing::SafeMatcherCast;
727 EXPECT_CALL(foo, DoThis(SafeMatcherCast<Derived*>(m)));
730 If you find `SafeMatcherCast<T>(m)` too limiting, you can use a similar