Lines Matching defs:testing

61 namespace testing {
81 using testing::A;
82 using testing::AllArgs;
83 using testing::AllOf;
84 using testing::An;
85 using testing::AnyOf;
86 using testing::ByRef;
87 using testing::ContainsRegex;
88 using testing::DoubleEq;
89 using testing::DoubleNear;
90 using testing::EndsWith;
91 using testing::Eq;
92 using testing::ExplainMatchResult;
93 using testing::Field;
94 using testing::FloatEq;
95 using testing::FloatNear;
96 using testing::Ge;
97 using testing::Gt;
98 using testing::HasSubstr;
99 using testing::IsEmpty;
100 using testing::IsNull;
101 using testing::Key;
102 using testing::Le;
103 using testing::Lt;
104 using testing::MakeMatcher;
105 using testing::MakePolymorphicMatcher;
106 using testing::MatchResultListener;
107 using testing::Matcher;
108 using testing::MatcherCast;
109 using testing::MatcherInterface;
110 using testing::Matches;
111 using testing::MatchesRegex;
112 using testing::NanSensitiveDoubleEq;
113 using testing::NanSensitiveDoubleNear;
114 using testing::NanSensitiveFloatEq;
115 using testing::NanSensitiveFloatNear;
116 using testing::Ne;
117 using testing::Not;
118 using testing::NotNull;
119 using testing::Pair;
120 using testing::Pointee;
121 using testing::Pointwise;
122 using testing::PolymorphicMatcher;
123 using testing::Property;
124 using testing::Ref;
125 using testing::ResultOf;
126 using testing::SizeIs;
127 using testing::StartsWith;
128 using testing::StrCaseEq;
129 using testing::StrCaseNe;
130 using testing::StrEq;
131 using testing::StrNe;
132 using testing::StringMatchResultListener;
133 using testing::Truly;
134 using testing::TypedEq;
135 using testing::UnorderedPointwise;
136 using testing::Value;
137 using testing::WhenSorted;
138 using testing::WhenSortedBy;
139 using testing::_;
140 using testing::get;
141 using testing::internal::DummyMatchResultListener;
142 using testing::internal::ElementMatcherPair;
143 using testing::internal::ElementMatcherPairs;
144 using testing::internal::ExplainMatchFailureTupleTo;
145 using testing::internal::FloatingEqMatcher;
146 using testing::internal::FormatMatcherDescription;
147 using testing::internal::IsReadableTypeName;
148 using testing::internal::JoinAsTuple;
149 using testing::internal::linked_ptr;
150 using testing::internal::MatchMatrix;
151 using testing::internal::RE;
152 using testing::internal::scoped_ptr;
153 using testing::internal::StreamMatchResultListener;
154 using testing::internal::Strings;
155 using testing::internal::linked_ptr;
156 using testing::internal::scoped_ptr;
157 using testing::internal::string;
158 using testing::make_tuple;
159 using testing::tuple;
161 // For testing ExplainMatchResultTo().
536 // For testing casting matchers between compatible types.
548 // For testing casting matchers between compatible types.
1018 // gmock-matchers.h: 'testing::Matcher<void *>::Matcher(void *)'
1019 // gmock-matchers.h: 'testing::Matcher<void *>::Matcher(const testing::
1021 // gmock-matchers.h: (point of instantiation: 'testing::
1023 // gmock-matchers.h: (instantiating: 'testing::PolymorphicMatc
1930 typedef ::testing::tuple<long, int> Tuple2; // NOLINT
2045 // Helper to allow easy testing of AllOf matchers with num parameters.
2106 ::testing::AllOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);
2243 // Helper to allow easy testing of AnyOf matchers with num parameters.
2301 Matcher<int> m = ::testing::AnyOf(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);
2429 // testing the Truly(predicate) matcher.
2451 // For testing Truly().
2539 // effort on testing Value().
2642 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Gt(10)),
2648 EXPECT_THAT(n, ::testing::AllOf(::testing::Le(7), ::testing::Ge(5))),
2662 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2666 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2705 class FloatingPointTest : public testing::Test {
2707 typedef testing::internal::FloatingPoint<RawType> Floating;
2736 testing::internal::FloatingEqMatcher<RawType> (*matcher_maker)(RawType)) {
2824 testing::internal::FloatingEqMatcher<RawType>
2899 // Instantiate FloatingPointTest for testing floats.
2954 // Instantiate FloatingPointTest for testing floats with a user-specified
3014 // Instantiate FloatingPointTest for testing doubles.
3069 // Instantiate FloatingPointTest for testing floats with a user-specified
3377 // A user-defined struct for testing Field().
3392 // A derived struct for testing Field().
3577 // A user-defined class for testing Property().
3603 // A derived class for testing Property().
3967 // For testing using ExplainMatchResultTo() with polymorphic matchers.
4168 class ContainerEqTest : public testing::Test {};
4170 typedef testing::Types<
4793 class UnorderedElementsAreTest : public testing::Test {
5009 // real testing::internal::FindMaxBipartiteMatching. This method is
5011 // use it in testing for small problem sizes.
5095 class BacktrackingBPMTest : public ::testing::Test { };
5099 class BipartiteTest : public ::testing::TestWithParam<int> { };
5128 ::testing::Range(0, 5));
5132 : public ::testing::TestWithParam<std::pair<size_t, size_t> > {
5171 testing::Values(
5182 : public ::testing::TestWithParam<std::pair<int, int> > {
5191 testing::internal::Int32 seed = GTEST_FLAG(random_seed);
5193 seed = static_cast<testing::internal::Int32>(time(NULL));
5209 testing::Values(
5409 // For testing Pointwise().
5652 } // namespace testing