Lines Matching refs:class

83 class Expectation;
86 class ExpectationSet;
93 template <typename F> class FunctionMocker;
95 // Base class for expectations.
96 class ExpectationBase;
99 template <typename F> class TypedExpectation;
101 // Helper class for testing the Expectation class template.
102 class ExpectationTester;
104 // Base class for function mockers.
105 template <typename F> class FunctionMockerBase;
107 // Protects the mock object registry (in class Mock), all function
120 // Untyped base class for ActionResultHolder<R>.
121 class UntypedActionResultHolderBase;
123 // Abstract base class of FunctionMockerBase. This is the
126 class GTEST_API_ UntypedFunctionMockerBase {
242 }; // class UntypedFunctionMockerBase
244 // Untyped base class for OnCallSpec<F>.
245 class UntypedOnCallSpecBase {
281 }; // class UntypedOnCallSpecBase
283 // This template class implements an ON_CALL spec.
285 class OnCallSpec : public UntypedOnCallSpecBase {
358 }; // class OnCallSpec
371 class GTEST_API_ Mock {
393 friend class internal::UntypedFunctionMockerBase;
398 friend class internal::FunctionMockerBase;
401 friend class NiceMock;
404 friend class NaggyMock;
407 friend class StrictMock;
464 }; // class Mock
477 // - This class is copyable and has value semantics.
483 // when it sees this class definition, at which point it doesn't have
487 class GTEST_API_ Expectation {
516 friend class ExpectationSet;
517 friend class Sequence;
518 friend class ::testing::internal::ExpectationBase;
519 friend class ::testing::internal::UntypedFunctionMockerBase;
522 friend class ::testing::internal::FunctionMockerBase;
525 friend class ::testing::internal::TypedExpectation;
528 class Less {
562 // This class is copyable and has value semantics.
563 class ExpectationSet {
619 class GTEST_API_ Sequence {
634 }; // class Sequence
641 // The sole purpose for this class is to support easy definition of
660 class GTEST_API_ InSequence {
676 // Base class for implementing expectations.
678 // There are two reasons for having a type-agnostic base class for
684 // must share a common base class.
687 // on the template argument of Expectation to the base class.
689 // This class is internal and mustn't be used by user code directly.
690 class GTEST_API_ ExpectationBase {
719 friend class ::testing::Expectation;
720 friend class UntypedFunctionMockerBase;
835 friend class ::testing::Sequence;
836 friend class ::testing::internal::ExpectationTester;
839 friend class TypedExpectation;
873 }; // class ExpectationBase
877 class TypedExpectation : public ExpectationBase {
1072 friend class FunctionMockerBase;
1228 }; // class TypedExpectation
1234 // Note: class MockSpec really belongs to the ::testing namespace.
1236 // classes in ::testing::internal declare it as a friend class
1246 class MockSpec {
1278 friend class internal::FunctionMocker;
1290 }; // class MockSpec
1302 class ReferenceOrValueWrapper {
1329 class ReferenceOrValueWrapper<T&> {
1345 // the entire class to suppress the warning, even though it's about
1361 // Untyped base class for ActionResultHolder<T>.
1362 class UntypedActionResultHolderBase {
1372 class ActionResultHolder : public UntypedActionResultHolderBase {
1420 class ActionResultHolder<void> : public UntypedActionResultHolderBase {
1452 // The base of the function mocker class for the given function type.
1453 // We put the methods in this class instead of its child to avoid code
1456 class FunctionMockerBase : public UntypedFunctionMockerBase {
1575 friend class MockSpec;
1627 template <typename Func> friend class TypedExpectation;
1778 // class MockFoo : public Foo {
1785 }; // class FunctionMockerBase
1804 // inside a header file. However, the MockSpec class template is
1814 // class MockFoo : public FooInterface {