Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
testing::gmock_function_mocker_test Namespace Reference

Classes

class  TemplatedCopyable
 
class  FooInterface
 
class  MockFoo
 
class  LegacyMockFoo
 
class  MockB
 
class  LegacyMockB
 
class  ExpectCallTest
 
class  StackInterface
 
class  MockStack
 
class  LegacyMockStack
 
class  TemplateMockTest
 
class  MockOverloadedOnArgNumber
 
class  LegacyMockOverloadedOnArgNumber
 
class  OverloadedMockMethodTest
 
class  MockOverloadedOnConstness
 
class  MockMethodMockFunctionSignatureTest
 
struct  AlternateCallable
 
struct  MockMethodSizes0
 
struct  MockMethodSizes1
 
struct  MockMethodSizes2
 
struct  MockMethodSizes3
 
struct  MockMethodSizes4
 
struct  LegacyMockMethodSizes0
 
struct  LegacyMockMethodSizes1
 
struct  LegacyMockMethodSizes2
 
struct  LegacyMockMethodSizes3
 
struct  LegacyMockMethodSizes4
 
struct  MockMethodNoexceptSpecifier
 

Typedefs

using FunctionMockerTestTypes = ::testing::Types< MockFoo, LegacyMockFoo >
 
using ExpectCallTestTypes = ::testing::Types< MockB, LegacyMockB >
 
using TemplateMockTestTypes = ::testing::Types< MockStack< int >, LegacyMockStack< int >>
 
using OverloadedMockMethodTestTypes = ::testing::Types< MockOverloadedOnArgNumber, LegacyMockOverloadedOnArgNumber >
 
using MockMethodMockFunctionSignatureTypes = Types< void(), int(), void(int), int(int), int(bool, int), int(bool, char, int, int, int, int, int, char, int, bool)>
 

Functions

 GTEST_DISABLE_MSC_WARNINGS_POP_ () template< class T > class FunctionMockerTest
 
 TYPED_TEST_SUITE (FunctionMockerTest, FunctionMockerTestTypes)
 
 TYPED_TEST (FunctionMockerTest, MocksVoidFunction)
 
 TYPED_TEST (FunctionMockerTest, MocksNullaryFunction)
 
 TYPED_TEST (FunctionMockerTest, MocksUnaryFunction)
 
 TYPED_TEST (FunctionMockerTest, MocksBinaryFunction)
 
 TYPED_TEST (FunctionMockerTest, MocksDecimalFunction)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionWithNonConstReferenceArgument)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionWithConstReferenceArgument)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionWithConstArgument)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionsOverloadedOnArgumentNumber)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionsOverloadedOnArgumentType)
 
 TYPED_TEST (FunctionMockerTest, MocksFunctionsOverloadedOnConstnessOfThis)
 
 TYPED_TEST (FunctionMockerTest, MocksReturnTypeWithComma)
 
 TYPED_TEST (FunctionMockerTest, MocksTypeWithTemplatedCopyCtor)
 
 TEST (FunctionMockerTest, RefQualified)
 
 TYPED_TEST_SUITE (ExpectCallTest, ExpectCallTestTypes)
 
 TYPED_TEST (ExpectCallTest, UnmentionedFunctionCanBeCalledAnyNumberOfTimes)
 
 TYPED_TEST_SUITE (TemplateMockTest, TemplateMockTestTypes)
 
 TYPED_TEST (TemplateMockTest, Works)
 
 TYPED_TEST (TemplateMockTest, MethodWithCommaInReturnTypeWorks)
 
 TYPED_TEST_SUITE (OverloadedMockMethodTest, OverloadedMockMethodTestTypes)
 
 TYPED_TEST (OverloadedMockMethodTest, CanOverloadOnArgNumberInMacroBody)
 
 TEST (MockMethodOverloadedMockMethodTest, CanOverloadOnConstnessInMacroBody)
 
 TEST (MockMethodMockFunctionTest, WorksForVoidNullary)
 
 TEST (MockMethodMockFunctionTest, WorksForNonVoidNullary)
 
 TEST (MockMethodMockFunctionTest, WorksForVoidUnary)
 
 TEST (MockMethodMockFunctionTest, WorksForNonVoidBinary)
 
 TEST (MockMethodMockFunctionTest, WorksFor10Arguments)
 
 TEST (MockMethodMockFunctionTest, AsStdFunction)
 
 TEST (MockMethodMockFunctionTest, AsStdFunctionReturnsReference)
 
 TEST (MockMethodMockFunctionTest, AsStdFunctionWithReferenceParameter)
 
 TYPED_TEST_SUITE (MockMethodMockFunctionSignatureTest, MockMethodMockFunctionSignatureTypes)
 
 TYPED_TEST (MockMethodMockFunctionSignatureTest, IsMockFunctionTemplateArgumentDeducedForRawSignature)
 
 TYPED_TEST (MockMethodMockFunctionSignatureTest, IsMockFunctionTemplateArgumentDeducedForStdFunction)
 
 TYPED_TEST (MockMethodMockFunctionSignatureTest, IsMockFunctionCallMethodSignatureTheSameForRawSignatureAndStdFunction)
 
 TYPED_TEST (MockMethodMockFunctionSignatureTest, IsMockFunctionTemplateArgumentDeducedForAlternateCallable)
 
 TYPED_TEST (MockMethodMockFunctionSignatureTest, IsMockFunctionCallMethodSignatureTheSameForAlternateCallable)
 
 TEST (MockMethodMockFunctionTest, MockMethodSizeOverhead)
 
 TEST (MockMethodMockFunctionTest, EnsureNoUnusedMemberFunction)
 
void hasTwoParams (int, int)
 
void MaybeThrows ()
 
void DoesntThrow () noexcept
 
 TEST (MockMethodMockFunctionTest, NoexceptSpecifierPreserved)
 

Variables

FooInterface *const foo_
 
T mock_foo_
 

Typedef Documentation

Definition at line 292 of file gmock-function-mocker_test.cc.

Definition at line 512 of file gmock-function-mocker_test.cc.

Definition at line 588 of file gmock-function-mocker_test.cc.

Definition at line 741 of file gmock-function-mocker_test.cc.

using testing::gmock_function_mocker_test::MockMethodMockFunctionSignatureTypes = typedef Types<void(), int(), void(int), int(int), int(bool, int), int(bool, char, int, int, int, int, int, char, int, bool)>

Definition at line 862 of file gmock-function-mocker_test.cc.

Function Documentation

testing::gmock_function_mocker_test::GTEST_DISABLE_MSC_WARNINGS_POP_ ( )

Definition at line 282 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST_SUITE ( FunctionMockerTest  ,
FunctionMockerTestTypes   
)
testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksVoidFunction   
)

Definition at line 296 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksNullaryFunction   
)

Definition at line 302 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksUnaryFunction   
)

Definition at line 312 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksBinaryFunction   
)

Definition at line 320 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksDecimalFunction   
)

Definition at line 327 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionWithNonConstReferenceArgument   
)

Definition at line 336 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionWithConstReferenceArgument   
)

Definition at line 345 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionWithConstArgument   
)

Definition at line 354 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionsOverloadedOnArgumentNumber   
)

Definition at line 361 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionsOverloadedOnArgumentType   
)

Definition at line 372 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksFunctionsOverloadedOnConstnessOfThis   
)

Definition at line 383 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksReturnTypeWithComma   
)

Definition at line 392 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( FunctionMockerTest  ,
MocksTypeWithTemplatedCopyCtor   
)

Definition at line 401 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( FunctionMockerTest  ,
RefQualified   
)

Definition at line 454 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST_SUITE ( ExpectCallTest  ,
ExpectCallTestTypes   
)
testing::gmock_function_mocker_test::TYPED_TEST ( ExpectCallTest  ,
UnmentionedFunctionCanBeCalledAnyNumberOfTimes   
)

Definition at line 517 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST_SUITE ( TemplateMockTest  ,
TemplateMockTestTypes   
)
testing::gmock_function_mocker_test::TYPED_TEST ( TemplateMockTest  ,
Works   
)

Definition at line 592 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( TemplateMockTest  ,
MethodWithCommaInReturnTypeWorks   
)

Definition at line 612 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST_SUITE ( OverloadedMockMethodTest  ,
OverloadedMockMethodTestTypes   
)
testing::gmock_function_mocker_test::TYPED_TEST ( OverloadedMockMethodTest  ,
CanOverloadOnArgNumberInMacroBody   
)

Definition at line 744 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodOverloadedMockMethodTest  ,
CanOverloadOnConstnessInMacroBody   
)

Definition at line 771 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
WorksForVoidNullary   
)

Definition at line 781 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
WorksForNonVoidNullary   
)

Definition at line 787 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
WorksForVoidUnary   
)

Definition at line 794 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
WorksForNonVoidBinary   
)

Definition at line 800 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
WorksFor10Arguments   
)

Definition at line 809 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
AsStdFunction   
)

Definition at line 820 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
AsStdFunctionReturnsReference   
)

Definition at line 829 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
AsStdFunctionWithReferenceParameter   
)

Definition at line 839 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST_SUITE ( MockMethodMockFunctionSignatureTest  ,
MockMethodMockFunctionSignatureTypes   
)
testing::gmock_function_mocker_test::TYPED_TEST ( MockMethodMockFunctionSignatureTest  ,
IsMockFunctionTemplateArgumentDeducedForRawSignature   
)

Definition at line 866 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( MockMethodMockFunctionSignatureTest  ,
IsMockFunctionTemplateArgumentDeducedForStdFunction   
)

Definition at line 873 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( MockMethodMockFunctionSignatureTest  ,
IsMockFunctionCallMethodSignatureTheSameForRawSignatureAndStdFunction   
)

Definition at line 880 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( MockMethodMockFunctionSignatureTest  ,
IsMockFunctionTemplateArgumentDeducedForAlternateCallable   
)

Definition at line 892 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TYPED_TEST ( MockMethodMockFunctionSignatureTest  ,
IsMockFunctionCallMethodSignatureTheSameForAlternateCallable   
)

Definition at line 899 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
MockMethodSizeOverhead   
)

Definition at line 939 of file gmock-function-mocker_test.cc.

testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
EnsureNoUnusedMemberFunction   
)

Definition at line 953 of file gmock-function-mocker_test.cc.

void testing::gmock_function_mocker_test::hasTwoParams ( int  ,
int   
)
void testing::gmock_function_mocker_test::MaybeThrows ( )
void testing::gmock_function_mocker_test::DoesntThrow ( )
noexcept
testing::gmock_function_mocker_test::TEST ( MockMethodMockFunctionTest  ,
NoexceptSpecifierPreserved   
)

Definition at line 983 of file gmock-function-mocker_test.cc.

Variable Documentation

FooInterface* const testing::gmock_function_mocker_test::foo_

Definition at line 289 of file gmock-function-mocker_test.cc.

T testing::gmock_function_mocker_test::mock_foo_

Definition at line 290 of file gmock-function-mocker_test.cc.