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
testing::gmock_function_mocker_test Namespace Reference

Classes

class  TemplatedCopyable
 
class  FooInterface
 
class  MockFoo
 
class  LegacyMockFoo
 
class  FunctionMockerTest
 
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  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

 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)
 
 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, IsMockFunctionAsStdFunctionMethodSignatureTheSameForRawSignatureAndStdFunction)
 
 TEST (MockMethodMockFunctionTest, MockMethodSizeOverhead)
 
void hasTwoParams (int, int)
 
void MaybeThrows ()
 
void DoesntThrow () noexcept
 
 TEST (MockMethodMockFunctionTest, NoexceptSpecifierPreserved)
 

Typedef Documentation

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

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

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

Definition at line 670 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 797 of file gmock-function-mocker_test.cc.

Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 370 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 450 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 523 of file gmock-function-mocker_test.cc.

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

Definition at line 545 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 673 of file gmock-function-mocker_test.cc.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition at line 772 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 801 of file gmock-function-mocker_test.cc.

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

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

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

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

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

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

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

Definition at line 866 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 895 of file gmock-function-mocker_test.cc.