Monero
Loading...
Searching...
No Matches
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

 GenerateMethodSource (self, cpp_source)
 testSimpleMethod (self)
 testSimpleConstructorsAndDestructor (self)
 testVirtualDestructor (self)
 testExplicitlyDefaultedConstructorsAndDestructor (self)
 testExplicitlyDeletedConstructorsAndDestructor (self)
 testSimpleOverrideMethod (self)
 testSimpleConstMethod (self)
 testExplicitVoid (self)
 testStrangeNewlineInParameter (self)
 testDefaultParameters (self)
 testMultipleDefaultParameters (self)
 testRemovesCommentsWhenDefaultsArePresent (self)
 testDoubleSlashCommentsInParameterListAreRemoved (self)
 testCStyleCommentsInParameterListAreNotRemoved (self)
 testArgsOfTemplateTypes (self)
 testReturnTypeWithOneTemplateArg (self)
 testReturnTypeWithManyTemplateArgs (self)
 testSimpleMethodInTemplatedClass (self)
 testPointerArgWithoutNames (self)
 testReferenceArgWithoutNames (self)
 testArrayArgWithoutNames (self)
Public Member Functions inherited from cpp.gmock_class_test.TestCase
 StripLeadingWhitespace (self, lines)
 assertEqualIgnoreLeadingWhitespace (self, expected_lines, lines)

Member Function Documentation

◆ GenerateMethodSource()

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

◆ testArgsOfTemplateTypes()

cpp.gmock_class_test.GenerateMethodsTest.testArgsOfTemplateTypes ( self)

◆ testArrayArgWithoutNames()

cpp.gmock_class_test.GenerateMethodsTest.testArrayArgWithoutNames ( self)

◆ testCStyleCommentsInParameterListAreNotRemoved()

cpp.gmock_class_test.GenerateMethodsTest.testCStyleCommentsInParameterListAreNotRemoved ( self)

◆ testDefaultParameters()

cpp.gmock_class_test.GenerateMethodsTest.testDefaultParameters ( self)

◆ testDoubleSlashCommentsInParameterListAreRemoved()

cpp.gmock_class_test.GenerateMethodsTest.testDoubleSlashCommentsInParameterListAreRemoved ( self)

◆ testExplicitlyDefaultedConstructorsAndDestructor()

cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDefaultedConstructorsAndDestructor ( self)

◆ testExplicitlyDeletedConstructorsAndDestructor()

cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDeletedConstructorsAndDestructor ( self)

◆ testExplicitVoid()

cpp.gmock_class_test.GenerateMethodsTest.testExplicitVoid ( self)

◆ testMultipleDefaultParameters()

cpp.gmock_class_test.GenerateMethodsTest.testMultipleDefaultParameters ( self)

◆ testPointerArgWithoutNames()

cpp.gmock_class_test.GenerateMethodsTest.testPointerArgWithoutNames ( self)

◆ testReferenceArgWithoutNames()

cpp.gmock_class_test.GenerateMethodsTest.testReferenceArgWithoutNames ( self)

◆ testRemovesCommentsWhenDefaultsArePresent()

cpp.gmock_class_test.GenerateMethodsTest.testRemovesCommentsWhenDefaultsArePresent ( self)

◆ testReturnTypeWithManyTemplateArgs()

cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithManyTemplateArgs ( self)

◆ testReturnTypeWithOneTemplateArg()

cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithOneTemplateArg ( self)

◆ testSimpleConstMethod()

cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstMethod ( self)

◆ testSimpleConstructorsAndDestructor()

cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstructorsAndDestructor ( self)

◆ testSimpleMethod()

cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethod ( self)

◆ testSimpleMethodInTemplatedClass()

cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethodInTemplatedClass ( self)

◆ testSimpleOverrideMethod()

cpp.gmock_class_test.GenerateMethodsTest.testSimpleOverrideMethod ( self)

◆ testStrangeNewlineInParameter()

cpp.gmock_class_test.GenerateMethodsTest.testStrangeNewlineInParameter ( self)

◆ testVirtualDestructor()

cpp.gmock_class_test.GenerateMethodsTest.testVirtualDestructor ( self)

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