proxygen
gtest_xml_output_unittest Namespace Reference

Classes

class  GTestXMLOutputUnitTest
 

Variables

string __author__ = 'eefacm@gmail.com (Sean Mcafee)'
 
string GTEST_FILTER_FLAG = '--gtest_filter'
 
string GTEST_LIST_TESTS_FLAG = '--gtest_list_tests'
 
string GTEST_OUTPUT_FLAG = "--gtest_output"
 
string GTEST_DEFAULT_OUTPUT_FILE = "test_detail.xml"
 
string GTEST_PROGRAM_NAME = "gtest_xml_output_unittest_"
 
bool SUPPORTS_STACK_TRACES = False
 
string STACK_TRACE_TEMPLATE = '\nStack trace:\n*'
 
string EXPECTED_NON_EMPTY_XML
 
string EXPECTED_FILTERED_TEST_XML
 
string EXPECTED_EMPTY_XML
 
 GTEST_PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath(GTEST_PROGRAM_NAME)
 
string SUPPORTS_TYPED_TESTS = 'TypedTest'
 
 capture_stderr
 

Variable Documentation

string gtest_xml_output_unittest.__author__ = 'eefacm@gmail.com (Sean Mcafee)'
private

Definition at line 34 of file gtest_xml_output_unittest.py.

gtest_xml_output_unittest.capture_stderr

Definition at line 149 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.EXPECTED_EMPTY_XML
Initial value:
1 = """<?xml version="1.0" encoding="UTF-8"?>
2 <testsuites tests="0" failures="0" disabled="0" errors="0" time="*"
3  timestamp="*" name="AllTests">
4 </testsuites>"""

Definition at line 141 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.EXPECTED_FILTERED_TEST_XML
Initial value:
1 = """<?xml version="1.0" encoding="UTF-8"?>
2 <testsuites tests="1" failures="0" disabled="0" errors="0" time="*"
3  timestamp="*" name="AllTests" ad_hoc_property="42">
4  <testsuite name="SuccessfulTest" tests="1" failures="0" disabled="0"
5  errors="0" time="*">
6  <testcase name="Succeeds" status="run" time="*" classname="SuccessfulTest"/>
7  </testsuite>
8 </testsuites>"""

Definition at line 132 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.EXPECTED_NON_EMPTY_XML

Definition at line 60 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.GTEST_DEFAULT_OUTPUT_FILE = "test_detail.xml"

Definition at line 50 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.GTEST_FILTER_FLAG = '--gtest_filter'

Definition at line 47 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.GTEST_LIST_TESTS_FLAG = '--gtest_list_tests'

Definition at line 48 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.GTEST_OUTPUT_FLAG = "--gtest_output"

Definition at line 49 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.GTEST_PROGRAM_NAME = "gtest_xml_output_unittest_"

Definition at line 51 of file gtest_xml_output_unittest.py.

gtest_xml_output_unittest.GTEST_PROGRAM_PATH = gtest_test_utils.GetTestExecutablePath(GTEST_PROGRAM_NAME)

Definition at line 146 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.STACK_TRACE_TEMPLATE = '\nStack trace:\n*'

Definition at line 56 of file gtest_xml_output_unittest.py.

bool gtest_xml_output_unittest.SUPPORTS_STACK_TRACES = False

Definition at line 53 of file gtest_xml_output_unittest.py.

string gtest_xml_output_unittest.SUPPORTS_TYPED_TESTS = 'TypedTest'

Definition at line 148 of file gtest_xml_output_unittest.py.