Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cpp.gmock_class_test.GenerateMethodsTest Class Reference
+ Inheritance diagram for cpp.gmock_class_test.GenerateMethodsTest:
+ Collaboration diagram for cpp.gmock_class_test.GenerateMethodsTest:

Public Member Functions

def GenerateMethodSource
 
def testSimpleMethod
 
def testSimpleConstructorsAndDestructor
 
def testVirtualDestructor
 
def testExplicitlyDefaultedConstructorsAndDestructor
 
def testExplicitlyDeletedConstructorsAndDestructor
 
def testSimpleOverrideMethod
 
def testSimpleConstMethod
 
def testExplicitVoid
 
def testStrangeNewlineInParameter
 
def testDefaultParameters
 
def testMultipleDefaultParameters
 
def testRemovesCommentsWhenDefaultsArePresent
 
def testDoubleSlashCommentsInParameterListAreRemoved
 
def testCStyleCommentsInParameterListAreNotRemoved
 
def testArgsOfTemplateTypes
 
def testReturnTypeWithOneTemplateArg
 
def testReturnTypeWithManyTemplateArgs
 
def testSimpleMethodInTemplatedClass
 
def testPointerArgWithoutNames
 
def testReferenceArgWithoutNames
 
def testArrayArgWithoutNames
 
- Public Member Functions inherited from cpp.gmock_class_test.TestCase
def StripLeadingWhitespace
 
def assertEqualIgnoreLeadingWhitespace
 

Detailed Description

Definition at line 46 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 46 of file gmock_class_test.py

Member Function Documentation

def cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource (   self,
  cpp_source 
)
Convert C++ source to Google Mock output source lines.

Definition at line 48 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 48 of file gmock_class_test.py

References join().

Referenced by cpp.gmock_class_test.GenerateMethodsTest.testArgsOfTemplateTypes(), cpp.gmock_class_test.GenerateMethodsTest.testArrayArgWithoutNames(), cpp.gmock_class_test.GenerateMethodsTest.testCStyleCommentsInParameterListAreNotRemoved(), cpp.gmock_class_test.GenerateMethodsTest.testDefaultParameters(), cpp.gmock_class_test.GenerateMethodsTest.testDoubleSlashCommentsInParameterListAreRemoved(), cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDefaultedConstructorsAndDestructor(), cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDeletedConstructorsAndDestructor(), cpp.gmock_class_test.GenerateMethodsTest.testExplicitVoid(), cpp.gmock_class_test.GenerateMethodsTest.testMultipleDefaultParameters(), cpp.gmock_class_test.GenerateMethodsTest.testPointerArgWithoutNames(), cpp.gmock_class_test.GenerateMethodsTest.testReferenceArgWithoutNames(), cpp.gmock_class_test.GenerateMethodsTest.testRemovesCommentsWhenDefaultsArePresent(), cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithManyTemplateArgs(), cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithOneTemplateArg(), cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstMethod(), cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstructorsAndDestructor(), cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethod(), cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethodInTemplatedClass(), cpp.gmock_class_test.GenerateMethodsTest.testSimpleOverrideMethod(), cpp.gmock_class_test.GenerateMethodsTest.testStrangeNewlineInParameter(), and cpp.gmock_class_test.GenerateMethodsTest.testVirtualDestructor().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testArgsOfTemplateTypes (   self)

Definition at line 236 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 236 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testArrayArgWithoutNames (   self)

Definition at line 304 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 304 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testCStyleCommentsInParameterListAreNotRemoved (   self)

Definition at line 222 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 222 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testDefaultParameters (   self)

Definition at line 175 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 175 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testDoubleSlashCommentsInParameterListAreRemoved (   self)

Definition at line 209 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 209 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDefaultedConstructorsAndDestructor (   self)

Definition at line 98 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 98 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDeletedConstructorsAndDestructor (   self)

Definition at line 114 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 114 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitVoid (   self)

Definition at line 152 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 152 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testMultipleDefaultParameters (   self)

Definition at line 186 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 186 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testPointerArgWithoutNames (   self)

Definition at line 284 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 284 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testReferenceArgWithoutNames (   self)

Definition at line 294 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 294 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testRemovesCommentsWhenDefaultsArePresent (   self)

Definition at line 197 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 197 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithManyTemplateArgs (   self)

Definition at line 257 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 257 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithOneTemplateArg (   self)

Definition at line 247 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 247 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstMethod (   self)

Definition at line 141 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 141 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstructorsAndDestructor (   self)

Definition at line 68 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 68 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethod (   self)

Definition at line 57 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 57 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethodInTemplatedClass (   self)

Definition at line 272 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 272 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleOverrideMethod (   self)

Definition at line 130 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 130 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testStrangeNewlineInParameter (   self)

Definition at line 163 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 163 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:

def cpp.gmock_class_test.GenerateMethodsTest.testVirtualDestructor (   self)

Definition at line 85 of file gmock_class_test.py.

View newest version in sPHENIX GitHub at line 85 of file gmock_class_test.py

References cpp.gmock_class_test.TestCase.assertEqualIgnoreLeadingWhitespace(), and cpp.gmock_class_test.GenerateMethodsTest.GenerateMethodSource().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: