AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
cpp.gmock_class_test.GenerateMethodsTest Class Reference
Inheritance diagram for cpp.gmock_class_test.GenerateMethodsTest:
Inheritance graph
[legend]
Collaboration diagram for cpp.gmock_class_test.GenerateMethodsTest:
Collaboration graph
[legend]

Public Member Functions

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

Member Function Documentation

◆ GenerateMethodSource()

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

◆ testArgsOfTemplateTypes()

def cpp.gmock_class_test.GenerateMethodsTest.testArgsOfTemplateTypes (   self)

◆ testArrayArgWithoutNames()

def cpp.gmock_class_test.GenerateMethodsTest.testArrayArgWithoutNames (   self)

◆ testCStyleCommentsInParameterListAreNotRemoved()

def cpp.gmock_class_test.GenerateMethodsTest.testCStyleCommentsInParameterListAreNotRemoved (   self)

◆ testDefaultParameters()

def cpp.gmock_class_test.GenerateMethodsTest.testDefaultParameters (   self)

◆ testDoubleSlashCommentsInParameterListAreRemoved()

def cpp.gmock_class_test.GenerateMethodsTest.testDoubleSlashCommentsInParameterListAreRemoved (   self)

◆ testExplicitlyDefaultedConstructorsAndDestructor()

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDefaultedConstructorsAndDestructor (   self)

◆ testExplicitlyDeletedConstructorsAndDestructor()

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitlyDeletedConstructorsAndDestructor (   self)

◆ testExplicitVoid()

def cpp.gmock_class_test.GenerateMethodsTest.testExplicitVoid (   self)

◆ testMultipleDefaultParameters()

def cpp.gmock_class_test.GenerateMethodsTest.testMultipleDefaultParameters (   self)

◆ testPointerArgWithoutNames()

def cpp.gmock_class_test.GenerateMethodsTest.testPointerArgWithoutNames (   self)

◆ testReferenceArgWithoutNames()

def cpp.gmock_class_test.GenerateMethodsTest.testReferenceArgWithoutNames (   self)

◆ testRemovesCommentsWhenDefaultsArePresent()

def cpp.gmock_class_test.GenerateMethodsTest.testRemovesCommentsWhenDefaultsArePresent (   self)

◆ testReturnTypeWithManyTemplateArgs()

def cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithManyTemplateArgs (   self)

◆ testReturnTypeWithOneTemplateArg()

def cpp.gmock_class_test.GenerateMethodsTest.testReturnTypeWithOneTemplateArg (   self)

◆ testSimpleConstMethod()

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstMethod (   self)

◆ testSimpleConstructorsAndDestructor()

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleConstructorsAndDestructor (   self)

◆ testSimpleMethod()

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethod (   self)

◆ testSimpleMethodInTemplatedClass()

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleMethodInTemplatedClass (   self)

◆ testSimpleOverrideMethod()

def cpp.gmock_class_test.GenerateMethodsTest.testSimpleOverrideMethod (   self)

◆ testStrangeNewlineInParameter()

def cpp.gmock_class_test.GenerateMethodsTest.testStrangeNewlineInParameter (   self)

◆ testVirtualDestructor()

def cpp.gmock_class_test.GenerateMethodsTest.testVirtualDestructor (   self)

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0