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
[legend]

List of all members.

Public Member Functions

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

Private Member Functions

 GTEST_DISALLOW_COPY_AND_ASSIGN_ (XmlUnitTestResultPrinter)

Static Private Member Functions

static std::string EscapeXml (const std::string &str, bool is_attribute)
static std::string EscapeXmlAttribute (const std::string &str)
static std::string EscapeXmlText (const char *str)
static bool IsNormalizableWhitespace (char c)
static bool IsValidXmlCharacter (char c)
static void OutputXmlAttribute (std::ostream *stream, const std::string &element_name, const std::string &name, const std::string &value)
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 (::std::ostream *stream, const TestCase &test_case)
static void PrintXmlUnitTest (::std::ostream *stream, const UnitTest &unit_test)
static std::string RemoveInvalidXmlCharacters (const std::string &str)
static std::string TestPropertiesAsXmlAttributes (const TestResult &result)

Private Attributes

const std::string output_file_

Detailed Description

Definition at line 4496 of file gtest-all.cc.


Constructor & Destructor Documentation

Definition at line 4569 of file gtest-all.cc.


Member Function Documentation

std::string testing::internal::XmlUnitTestResultPrinter::EscapeXml ( const std::string &  str,
bool  is_attribute 
) [static, private]

Definition at line 4623 of file gtest-all.cc.

static std::string testing::internal::XmlUnitTestResultPrinter::EscapeXmlAttribute ( const std::string &  str) [inline, static, private]

Definition at line 4524 of file gtest-all.cc.

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

Definition at line 4529 of file gtest-all.cc.

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

Definition at line 4505 of file gtest-all.cc.

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

Definition at line 4510 of file gtest-all.cc.

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

Reimplemented from testing::EmptyTestEventListener.

Definition at line 4579 of file gtest-all.cc.

void testing::internal::XmlUnitTestResultPrinter::OutputXmlAttribute ( std::ostream *  stream,
const std::string &  element_name,
const std::string &  name,
const std::string &  value 
) [static, private]

Definition at line 4749 of file gtest-all.cc.

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

Definition at line 4730 of file gtest-all.cc.

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

Definition at line 4767 of file gtest-all.cc.

void testing::internal::XmlUnitTestResultPrinter::PrintXmlTestCase ( ::std::ostream *  stream,
const TestCase test_case 
) [static, private]

Definition at line 4817 of file gtest-all.cc.

void testing::internal::XmlUnitTestResultPrinter::PrintXmlUnitTest ( ::std::ostream *  stream,
const UnitTest unit_test 
) [static, private]

Definition at line 4843 of file gtest-all.cc.

std::string testing::internal::XmlUnitTestResultPrinter::RemoveInvalidXmlCharacters ( const std::string &  str) [static, private]

Definition at line 4669 of file gtest-all.cc.

Definition at line 4883 of file gtest-all.cc.


Member Data Documentation

Definition at line 4563 of file gtest-all.cc.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Mon Aug 14 2017 02:52:34