|
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.
◆ JsonUnitTestResultPrinter()
testing::internal::JsonUnitTestResultPrinter::JsonUnitTestResultPrinter |
( |
const char * | output_file | ) |
|
|
explicit |
◆ OnTestIterationEnd()
void testing::internal::JsonUnitTestResultPrinter::OnTestIterationEnd |
( |
const UnitTest & | unit_test, |
|
|
int | iteration ) |
|
overridevirtual |
◆ PrintJsonTestList()
void testing::internal::JsonUnitTestResultPrinter::PrintJsonTestList |
( |
::std::ostream * | stream, |
|
|
const std::vector< TestSuite * > & | test_suites ) |
|
static |
◆ EscapeJson()
std::string testing::internal::JsonUnitTestResultPrinter::EscapeJson |
( |
const std::string & | str | ) |
|
|
staticprivate |
◆ OutputJsonKey() [1/2]
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 |
◆ OutputJsonKey() [2/2]
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 |
◆ OutputJsonTestInfo()
void testing::internal::JsonUnitTestResultPrinter::OutputJsonTestInfo |
( |
::std::ostream * | stream, |
|
|
const char * | test_suite_name, |
|
|
const TestInfo & | test_info ) |
|
staticprivate |
◆ PrintJsonTestSuite()
void testing::internal::JsonUnitTestResultPrinter::PrintJsonTestSuite |
( |
::std::ostream * | stream, |
|
|
const TestSuite & | test_suite ) |
|
staticprivate |
◆ PrintJsonUnitTest()
void testing::internal::JsonUnitTestResultPrinter::PrintJsonUnitTest |
( |
::std::ostream * | stream, |
|
|
const UnitTest & | unit_test ) |
|
staticprivate |
◆ TestPropertiesAsJson()
std::string testing::internal::JsonUnitTestResultPrinter::TestPropertiesAsJson |
( |
const TestResult & | result, |
|
|
const std::string & | indent ) |
|
staticprivate |
◆ GTEST_DISALLOW_COPY_AND_ASSIGN_()
◆ output_file_
const std::string testing::internal::JsonUnitTestResultPrinter::output_file_ |
|
private |
The documentation for this class was generated from the following file: