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

Public Member Functions

def TestHelpFlag (self, flag)
 
def TestNonHelpFlag (self, flag)
 
def testPrintsHelpWithFullFlag (self)
 
def testPrintsHelpWithShortFlag (self)
 
def testPrintsHelpWithQuestionFlag (self)
 
def testPrintsHelpWithWindowsStyleQuestionFlag (self)
 
def testPrintsHelpWithUnrecognizedGoogleTestFlag (self)
 
def testPrintsHelpWithIncorrectFlagStyle (self)
 
def testRunsTestsWithoutHelpFlag (self)
 
def testRunsTestsWithGtestInternalFlag (self)
 

Detailed Description

Tests the --help flag and its equivalent forms.

Member Function Documentation

◆ TestHelpFlag()

def gtest_help_test.GTestHelpTest.TestHelpFlag (   self,
  flag 
)
Verifies correct behavior when help flag is specified.

The right message must be printed and the tests must
skipped when the given flag is specified.

Args:
  flag:  A flag to pass to the binary or None.

◆ TestNonHelpFlag()

def gtest_help_test.GTestHelpTest.TestNonHelpFlag (   self,
  flag 
)
Verifies correct behavior when no help flag is specified.

Verifies that when no help flag is specified, the tests are run
and the help message is not printed.

Args:
  flag:  A flag to pass to the binary or None.

◆ testPrintsHelpWithFullFlag()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithFullFlag (   self)

◆ testPrintsHelpWithIncorrectFlagStyle()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithIncorrectFlagStyle (   self)

◆ testPrintsHelpWithQuestionFlag()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithQuestionFlag (   self)

◆ testPrintsHelpWithShortFlag()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithShortFlag (   self)

◆ testPrintsHelpWithUnrecognizedGoogleTestFlag()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithUnrecognizedGoogleTestFlag (   self)

◆ testPrintsHelpWithWindowsStyleQuestionFlag()

def gtest_help_test.GTestHelpTest.testPrintsHelpWithWindowsStyleQuestionFlag (   self)

◆ testRunsTestsWithGtestInternalFlag()

def gtest_help_test.GTestHelpTest.testRunsTestsWithGtestInternalFlag (   self)
Verifies that the tests are run and no help message is printed when
a flag starting with Google Test prefix and 'internal_' is supplied.

◆ testRunsTestsWithoutHelpFlag()

def gtest_help_test.GTestHelpTest.testRunsTestsWithoutHelpFlag (   self)
Verifies that when no help flag is specified, the tests are run
and the help message is not printed.

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