Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gmock-generated-actions_test.cc File Reference
#include "gmock/gmock-generated-actions.h"
#include <functional>
#include <sstream>
#include <string>
#include "gmock/gmock.h"
#include "gtest/gtest.h"
+ Include dependency graph for gmock-generated-actions_test.cc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::gmock_generated_actions_test::NullaryFunctor
 
struct  testing::gmock_generated_actions_test::UnaryFunctor
 
struct  testing::gmock_generated_actions_test::SumOf5Functor
 
struct  testing::gmock_generated_actions_test::SumOf6Functor
 
class  testing::gmock_generated_actions_test::SubstractAction
 
class  testing::gmock_generated_actions_test::NullaryConstructorClass
 
class  testing::gmock_generated_actions_test::UnaryConstructorClass
 
class  testing::gmock_generated_actions_test::TenArgConstructorClass
 
class  testing::gmock_generated_actions_test::BoolResetter
 
struct  testing::gmock_generated_actions_test::GiantTemplate< T1, T2, T3, k4, k5, k6, T7, T8, T9 >
 

Namespaces

namespace  testing
 
namespace  testing::gmock_generated_actions_test
 
namespace  testing::gmock_generated_actions_test::action_test
 

Functions

short testing::gmock_generated_actions_test::Short (short n)
 
char testing::gmock_generated_actions_test::Char (char ch)
 
int testing::gmock_generated_actions_test::Nullary ()
 
bool testing::gmock_generated_actions_test::Unary (int x)
 
const char * testing::gmock_generated_actions_test::Plus1 (const char *s)
 
bool testing::gmock_generated_actions_test::ByConstRef (const string &s)
 
bool testing::gmock_generated_actions_test::ReferencesGlobalDouble (const double &x)
 
string testing::gmock_generated_actions_test::ByNonConstRef (string &s)
 
const char * testing::gmock_generated_actions_test::Binary (const char *input, short n)
 
void testing::gmock_generated_actions_test::VoidBinary (int, char)
 
int testing::gmock_generated_actions_test::Ternary (int x, char y, short z)
 
void testing::gmock_generated_actions_test::VoidTernary (int, char, bool)
 
int testing::gmock_generated_actions_test::SumOf4 (int a, int b, int c, int d)
 
string testing::gmock_generated_actions_test::Concat4 (const char *s1, const char *s2, const char *s3, const char *s4)
 
int testing::gmock_generated_actions_test::SumOf5 (int a, int b, int c, int d, int e)
 
string testing::gmock_generated_actions_test::Concat5 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5)
 
int testing::gmock_generated_actions_test::SumOf6 (int a, int b, int c, int d, int e, int f)
 
string testing::gmock_generated_actions_test::Concat6 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6)
 
string testing::gmock_generated_actions_test::Concat7 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6, const char *s7)
 
string testing::gmock_generated_actions_test::Concat8 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6, const char *s7, const char *s8)
 
string testing::gmock_generated_actions_test::Concat9 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6, const char *s7, const char *s8, const char *s9)
 
string testing::gmock_generated_actions_test::Concat10 (const char *s1, const char *s2, const char *s3, const char *s4, const char *s5, const char *s6, const char *s7, const char *s8, const char *s9, const char *s10)
 
const char * testing::gmock_generated_actions_test::CharPtr (const char *s)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function0)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Functor1)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function5)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Functor5)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function6)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Functor6)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function7)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function8)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function9)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, Function10)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, ByPointerFunction)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, FunctionWithCStringLiteral)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, ByConstReferenceFunction)
 
 testing::gmock_generated_actions_test::TEST (InvokeArgumentTest, ByExplicitConstReferenceFunction)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, OneArg)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, TwoArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, ThreeArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, FourArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, FiveArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, SixArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, SevenArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, EightArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, NineArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, TenArgs)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, NonInvokeAction)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, Identity)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, RepeatedArguments)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, ReversedArgumentOrder)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, ArgsOfCompatibleTypes)
 
 testing::gmock_generated_actions_test::TEST (WithArgsTest, VoidAction)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, TwoActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, ThreeActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, FourActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, FiveActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, SixActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, SevenActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, EightActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, NineActions)
 
 testing::gmock_generated_actions_test::TEST (DoAllTest, TenActions)
 
 testing::gmock_generated_actions_test::ACTION (Return5)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksWhenNotReferencingArguments)
 
 testing::gmock_generated_actions_test::ACTION (IncrementArg1)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksWhenReturningVoid)
 
 testing::gmock_generated_actions_test::ACTION (IncrementArg2)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, CanReferenceArgumentType)
 
 testing::gmock_generated_actions_test::ACTION (Sum2)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, CanReferenceArgumentTuple)
 
int testing::gmock_generated_actions_test::Dummy (bool flag)
 
 testing::gmock_generated_actions_test::ACTION (InvokeDummy)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, CanReferenceMockFunctionType)
 
 testing::gmock_generated_actions_test::ACTION (InvokeDummy2)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, CanReferenceMockFunctionReturnType)
 
 testing::gmock_generated_actions_test::ACTION (ReturnAddrOfConstBoolReferenceArg)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksForConstReferenceArg)
 
 testing::gmock_generated_actions_test::ACTION (ReturnAddrOfIntReferenceArg)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksForNonConstReferenceArg)
 
 testing::gmock_generated_actions_test::action_test::ACTION (Sum)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksInNamespace)
 
 testing::gmock_generated_actions_test::ACTION (PlusTwo)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, WorksForDifferentArgumentNumbers)
 
 testing::gmock_generated_actions_test::ACTION_P (Plus, n)
 
 testing::gmock_generated_actions_test::TEST (ActionPMacroTest, DefinesParameterizedAction)
 
 testing::gmock_generated_actions_test::ACTION_P (TypedPlus, n)
 
 testing::gmock_generated_actions_test::TEST (ActionPMacroTest, CanReferenceArgumentAndParameterTypes)
 
 testing::gmock_generated_actions_test::TEST (ActionPMacroTest, WorksInCompatibleMockFunction)
 
 testing::gmock_generated_actions_test::ACTION (OverloadedAction)
 
 testing::gmock_generated_actions_test::ACTION_P (OverloadedAction, default_value)
 
 testing::gmock_generated_actions_test::ACTION_P2 (OverloadedAction, true_value, false_value)
 
 testing::gmock_generated_actions_test::TEST (ActionMacroTest, CanDefineOverloadedActions)
 
 testing::gmock_generated_actions_test::ACTION_P3 (Plus, m, n, k)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor3Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P4 (Plus, p0, p1, p2, p3)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor4Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P5 (Plus, p0, p1, p2, p3, p4)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor5Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P6 (Plus, p0, p1, p2, p3, p4, p5)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor6Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P7 (Plus, p0, p1, p2, p3, p4, p5, p6)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor7Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P8 (Plus, p0, p1, p2, p3, p4, p5, p6, p7)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor8Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P9 (Plus, p0, p1, p2, p3, p4, p5, p6, p7, p8)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor9Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P10 (Plus, p0, p1, p2, p3, p4, p5, p6, p7, p8, last_param)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, WorksFor10Parameters)
 
 testing::gmock_generated_actions_test::ACTION_P2 (PadArgument, prefix, suffix)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, SimpleTypePromotion)
 
 testing::gmock_generated_actions_test::ACTION_P3 (ConcatImpl, a, b, c)
 
template<typename T1 , typename T2 >
ConcatImplActionP3
< std::string, T1, T2
testing::gmock_generated_actions_test::Concat (const std::string &a, T1 b, T2 c)
 
template<typename T1 , typename T2 >
ConcatImplActionP3< T1, int, T2testing::gmock_generated_actions_test::Concat (T1 a, int b, T2 c)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, CanPartiallyRestrictParameterTypes)
 
 testing::gmock_generated_actions_test::ACTION (DoFoo)
 
 testing::gmock_generated_actions_test::ACTION_P (DoFoo, p)
 
 testing::gmock_generated_actions_test::ACTION_P2 (DoFoo, p0, p1)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, TypesAreCorrect)
 
 testing::gmock_generated_actions_test::ACTION_P (Plus1, x)
 
 testing::gmock_generated_actions_test::ACTION_P2 (Plus2, x, y)
 
 testing::gmock_generated_actions_test::ACTION_P3 (Plus3, x, y, z)
 
 testing::gmock_generated_actions_test::ACTION_P10 (Plus10, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9)
 
 testing::gmock_generated_actions_test::TEST (ActionPnMacroTest, CanExplicitlyInstantiateWithReferenceTypes)
 
 testing::gmock_generated_actions_test::TEST (ReturnNewTest, NoArgs)
 
 testing::gmock_generated_actions_test::TEST (ReturnNewTest, Unary)
 
 testing::gmock_generated_actions_test::TEST (ReturnNewTest, UnaryWorksWhenMockMethodHasArgs)
 
 testing::gmock_generated_actions_test::TEST (ReturnNewTest, UnaryWorksWhenMockMethodReturnsPointerToConst)
 
 testing::gmock_generated_actions_test::TEST (ReturnNewTest, ConstructorThatTakes10Arguments)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (CreateNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_0_VALUE_PARAMS())
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksWithoutValueParam)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (CreateNew, HAS_1_TEMPLATE_PARAMS(typename, T), AND_1_VALUE_PARAMS(a0))
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksWithValueParams)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (MyDeleteArg, HAS_1_TEMPLATE_PARAMS(int, k), AND_0_VALUE_PARAMS())
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksForIntegralTemplateParams)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnSmartPointer, HAS_1_TEMPLATE_PARAMS(template< typename Pointee > class, Pointer), AND_1_VALUE_PARAMS(pointee))
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksForTemplateTemplateParameters)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnGiant, HAS_10_TEMPLATE_PARAMS(typename, T1, typename, T2, typename, T3, int, k4, bool, k5, unsigned int, k6, class, T7, class, T8, class, T9, template< typename T > class, T10), AND_1_VALUE_PARAMS(value))
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksFor10TemplateParameters)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnSum, HAS_1_TEMPLATE_PARAMS(typename, Number), AND_10_VALUE_PARAMS(v1, v2, v3, v4, v5, v6, v7, v8, v9, v10))
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, WorksFor10ValueParameters)
 
 testing::gmock_generated_actions_test::ACTION (ReturnSum)
 
 testing::gmock_generated_actions_test::ACTION_P (ReturnSum, x)
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnSum, HAS_1_TEMPLATE_PARAMS(typename, Number), AND_2_VALUE_PARAMS(v1, v2))
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnSum, HAS_1_TEMPLATE_PARAMS(typename, Number), AND_3_VALUE_PARAMS(v1, v2, v3))
 
 testing::gmock_generated_actions_test::ACTION_TEMPLATE (ReturnSum, HAS_2_TEMPLATE_PARAMS(typename, Number, int, k), AND_4_VALUE_PARAMS(v1, v2, v3, v4))
 
 testing::gmock_generated_actions_test::TEST (ActionTemplateTest, CanBeOverloadedOnNumberOfValueParameters)
 

Variables

bool testing::gmock_generated_actions_test::g_done = false
 
const double testing::gmock_generated_actions_test::g_double = 0