Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
testing::internal::XmlUnitTestResultPrinter Class Reference
Inheritance diagram for testing::internal::XmlUnitTestResultPrinter:
Inheritance graph

List of all members.

Public Member Functions

virtual void OnTestIterationEnd (const UnitTest &unit_test, int iteration)
 XmlUnitTestResultPrinter (const char *output_file)

Private Member Functions


Static Private Member Functions

static String EscapeXml (const char *str, bool is_attribute)
static String EscapeXmlAttribute (const char *str)
static String EscapeXmlText (const char *str)
static bool IsNormalizableWhitespace (char c)
static bool IsValidXmlCharacter (char c)
static void OutputXmlCDataSection (::std::ostream *stream, const char *data)
static void OutputXmlTestInfo (::std::ostream *stream, const char *test_case_name, const TestInfo &test_info)
static void PrintXmlTestCase (FILE *out, const TestCase &test_case)
static void PrintXmlUnitTest (FILE *out, const UnitTest &unit_test)
static string RemoveInvalidXmlCharacters (const string &str)
static String TestPropertiesAsXmlAttributes (const TestResult &result)

Private Attributes

const String output_file_

Detailed Description

Definition at line 3010 of file

Constructor & Destructor Documentation

Definition at line 3072 of file

Member Function Documentation

String testing::internal::XmlUnitTestResultPrinter::EscapeXml ( const char *  str,
bool  is_attribute 
) [static, private]

Definition at line 3124 of file

static String testing::internal::XmlUnitTestResultPrinter::EscapeXmlAttribute ( const char *  str) [inline, static, private]

Definition at line 3038 of file

static String testing::internal::XmlUnitTestResultPrinter::EscapeXmlText ( const char *  str) [inline, static, private]

Definition at line 3043 of file

static bool testing::internal::XmlUnitTestResultPrinter::IsNormalizableWhitespace ( char  c) [inline, static, private]

Definition at line 3019 of file

static bool testing::internal::XmlUnitTestResultPrinter::IsValidXmlCharacter ( char  c) [inline, static, private]

Definition at line 3024 of file

void testing::internal::XmlUnitTestResultPrinter::OnTestIterationEnd ( const UnitTest unit_test,
int  iteration 
) [virtual]

Reimplemented from testing::EmptyTestEventListener.

Definition at line 3082 of file

void testing::internal::XmlUnitTestResultPrinter::OutputXmlCDataSection ( ::std::ostream *  stream,
const char *  data 
) [static, private]

Definition at line 3203 of file

void testing::internal::XmlUnitTestResultPrinter::OutputXmlTestInfo ( ::std::ostream *  stream,
const char *  test_case_name,
const TestInfo test_info 
) [static, private]

Definition at line 3224 of file

void testing::internal::XmlUnitTestResultPrinter::PrintXmlTestCase ( FILE *  out,
const TestCase test_case 
) [static, private]

Definition at line 3272 of file

void testing::internal::XmlUnitTestResultPrinter::PrintXmlUnitTest ( FILE *  out,
const UnitTest unit_test 
) [static, private]

Definition at line 3293 of file

Definition at line 3169 of file

Definition at line 3314 of file

Member Data Documentation

Definition at line 3066 of file

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

Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:37