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 3301 of file gtest.cc.


Constructor & Destructor Documentation

Definition at line 3374 of file gtest.cc.


Member Function Documentation

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

Definition at line 3428 of file gtest.cc.

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

Definition at line 3329 of file gtest.cc.

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

Definition at line 3334 of file gtest.cc.

Definition at line 3310 of file gtest.cc.

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

Definition at line 3315 of file gtest.cc.

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

Reimplemented from testing::EmptyTestEventListener.

Definition at line 3384 of file gtest.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 3559 of file gtest.cc.

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

Definition at line 3540 of file gtest.cc.

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

Definition at line 3577 of file gtest.cc.

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

Definition at line 3627 of file gtest.cc.

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

Definition at line 3653 of file gtest.cc.

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

Definition at line 3474 of file gtest.cc.

Definition at line 3693 of file gtest.cc.


Member Data Documentation

Definition at line 3368 of file gtest.cc.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:12