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

Public Member Functions

def RunAndVerify (self, flag_value, expected_output_re, other_flag)
def testDefaultBehavior (self)
def testFlag (self)
def testOverrideNonFilterFlags (self)
def testWithFilterFlags (self)

Detailed Description

Tests using the --gtest_list_tests flag to list all tests.

Member Function Documentation

◆ RunAndVerify()

def gtest_list_tests_unittest.GTestListTestsUnitTest.RunAndVerify (   self,
Runs gtest_list_tests_unittest_ and verifies that it prints
the correct tests.

  flag_value:         value of the --gtest_list_tests flag;
                  None if the flag should not be present.
  expected_output_re: regular expression that matches the expected
                  output after running command;
  other_flag:         a different flag to be passed to command
                  along with gtest_list_tests;
                  None if the flag should not be present.

◆ testDefaultBehavior()

def gtest_list_tests_unittest.GTestListTestsUnitTest.testDefaultBehavior (   self)
Tests the behavior of the default mode.

◆ testFlag()

def gtest_list_tests_unittest.GTestListTestsUnitTest.testFlag (   self)
Tests using the --gtest_list_tests flag.

◆ testOverrideNonFilterFlags()

def gtest_list_tests_unittest.GTestListTestsUnitTest.testOverrideNonFilterFlags (   self)
Tests that --gtest_list_tests overrides the non-filter flags.

◆ testWithFilterFlags()

def gtest_list_tests_unittest.GTestListTestsUnitTest.testWithFilterFlags (   self)
Tests that --gtest_list_tests takes into account the
--gtest_filter flag.

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

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