|
static std::string | EscapeJson (const std::string &str) |
|
static void | OutputJsonKey (std::ostream *stream, const std::string &element_name, const std::string &name, const std::string &value, const std::string &indent, bool comma=true) |
|
static void | OutputJsonKey (std::ostream *stream, const std::string &element_name, const std::string &name, int value, const std::string &indent, bool comma=true) |
|
static void | OutputJsonTestInfo (::std::ostream *stream, const char *test_suite_name, const TestInfo &test_info) |
|
static void | PrintJsonTestSuite (::std::ostream *stream, const TestSuite &test_suite) |
|
static void | PrintJsonUnitTest (::std::ostream *stream, const UnitTest &unit_test) |
|
static std::string | TestPropertiesAsJson (const TestResult &result, const std::string &indent) |
|
Definition at line 4367 of file gtest.cc.
testing::internal::JsonUnitTestResultPrinter::JsonUnitTestResultPrinter |
( |
const char * |
output_file | ) |
|
|
explicit |
void testing::internal::JsonUnitTestResultPrinter::OnTestIterationEnd |
( |
const UnitTest & |
unit_test, |
|
|
int |
iteration |
|
) |
| |
|
overridevirtual |
void testing::internal::JsonUnitTestResultPrinter::PrintJsonTestList |
( |
::std::ostream * |
stream, |
|
|
const std::vector< TestSuite * > & |
test_suites |
|
) |
| |
|
static |
std::string testing::internal::JsonUnitTestResultPrinter::EscapeJson |
( |
const std::string & |
str | ) |
|
|
staticprivate |
void testing::internal::JsonUnitTestResultPrinter::OutputJsonKey |
( |
std::ostream * |
stream, |
|
|
const std::string & |
element_name, |
|
|
const std::string & |
name, |
|
|
const std::string & |
value, |
|
|
const std::string & |
indent, |
|
|
bool |
comma = true |
|
) |
| |
|
staticprivate |
void testing::internal::JsonUnitTestResultPrinter::OutputJsonKey |
( |
std::ostream * |
stream, |
|
|
const std::string & |
element_name, |
|
|
const std::string & |
name, |
|
|
int |
value, |
|
|
const std::string & |
indent, |
|
|
bool |
comma = true |
|
) |
| |
|
staticprivate |
void testing::internal::JsonUnitTestResultPrinter::OutputJsonTestInfo |
( |
::std::ostream * |
stream, |
|
|
const char * |
test_suite_name, |
|
|
const TestInfo & |
test_info |
|
) |
| |
|
staticprivate |
void testing::internal::JsonUnitTestResultPrinter::PrintJsonTestSuite |
( |
::std::ostream * |
stream, |
|
|
const TestSuite & |
test_suite |
|
) |
| |
|
staticprivate |
void testing::internal::JsonUnitTestResultPrinter::PrintJsonUnitTest |
( |
::std::ostream * |
stream, |
|
|
const UnitTest & |
unit_test |
|
) |
| |
|
staticprivate |
std::string testing::internal::JsonUnitTestResultPrinter::TestPropertiesAsJson |
( |
const TestResult & |
result, |
|
|
const std::string & |
indent |
|
) |
| |
|
staticprivate |
const std::string testing::internal::JsonUnitTestResultPrinter::output_file_ |
|
private |
The documentation for this class was generated from the following file: