Home
last modified time | relevance | path

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

/external/googletest/googlemock/test/
Dgmock-matchers_test.cc6693 class SampleVariantIntString { class
6695 SampleVariantIntString(int i) : i_(i), has_int_(true) {} in SampleVariantIntString() function in testing::gmock_matchers_test::__anon67385ff30111::SampleVariantIntString
6696 SampleVariantIntString(const std::string& s) : s_(s), has_int_(false) {} in SampleVariantIntString() function in testing::gmock_matchers_test::__anon67385ff30111::SampleVariantIntString
6699 friend bool holds_alternative(const SampleVariantIntString& value) { in holds_alternative()
6704 friend const T& get(const SampleVariantIntString& value) { in get()
6718 const Matcher<SampleVariantIntString> m = VariantWith<int>(Eq(1)); in TEST()
6724 const Matcher<SampleVariantIntString> m = VariantWith<int>(Eq(1)); in TEST()
6725 EXPECT_THAT(Explain(m, SampleVariantIntString(1)), in TEST()
6727 EXPECT_THAT(Explain(m, SampleVariantIntString("A")), in TEST()
6729 EXPECT_THAT(Explain(m, SampleVariantIntString(2)), in TEST()
[all …]