Lines Matching defs:testing
46 namespace testing {
52 // Note: class FunctionMocker really belongs to the ::testing
53 // namespace. However if we define it in ::testing, MSVC will
54 // complain when classes in ::testing::internal declare it as a
56 // FunctionMocker in ::testing::internal and import it into ::testing.
324 // is meant to be defined in the ::testing namespace. The following
326 // cannot handle it if we define FunctionMocker in ::testing.
331 #define GMOCK_RESULT_(tn, F) tn ::testing::internal::Function<F>::Result
335 #define GMOCK_ARG_(tn, F, N) tn ::testing::internal::Function<F>::Argument##N
339 #define GMOCK_MATCHER_(tn, F, N) const ::testing::Matcher<GMOCK_ARG_(tn, F, N)>&
350 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 0, \
355 ::testing::MockSpec<F>& \
360 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(0, constness, Method)
366 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 1, \
371 ::testing::MockSpec<F>& \
376 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(1, constness, Method)
383 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 2, \
388 ::testing::MockSpec<F>& \
394 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(2, constness, Method)
402 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 3, \
408 ::testing::MockSpec<F>& \
416 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(3, constness, Method)
425 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 4, \
431 ::testing::MockSpec<F>& \
440 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(4, constness, Method)
450 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 5, \
456 ::testing::MockSpec<F>& \
466 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(5, constness, Method)
477 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 6, \
483 ::testing::MockSpec<F>& \
494 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(6, constness, Method)
506 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 7, \
512 ::testing::MockSpec<F>& \
524 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(7, constness, Method)
537 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 8, \
543 ::testing::MockSpec<F>& \
556 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(8, constness, Method)
570 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 9, \
577 ::testing::MockSpec<F>& \
592 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(9, constness, Method)
607 tn ::testing::internal::Function<F>::ArgumentTuple>::value == 10, \
614 ::testing::MockSpec<F>& \
630 mutable ::testing::FunctionMocker<F> GMOCK_MOCKER_(10, constness, Method)
927 } // namespace testing