Wizard
Software Engineering Project - Wizard
Loading...
Searching...
No Matches
gtest_list_output_unittest Namespace Reference

Classes

class  GTestListTestsOutputUnitTest
 

Variables

str GTEST_LIST_TESTS_FLAG = '--gtest_list_tests'
 
str GTEST_OUTPUT_FLAG = '--gtest_output'
 
str EXPECTED_XML
 
str EXPECTED_JSON
 

Detailed Description

Unit test for Google Test's --gtest_list_tests flag.

A user can ask Google Test to list all tests by specifying the
--gtest_list_tests flag. If output is requested, via --gtest_output=xml
or --gtest_output=json, the tests are listed, with extra information in the
output file.
This script tests such functionality by invoking gtest_list_output_unittest_
 (a program written with Google Test) the command line flags.