#include <cstdio>#include <cstring>#include <fstream>#include <iostream>#include <map>#include <memory>#include <random>#include <sstream>#include <streambuf>#include "../src/benchmark_api_internal.h"#include "../src/check.h"#include "../src/log.h"#include "../src/re.h"#include "output_test.h"
Go to the source code of this file.
Classes | |
| struct | internal::ResultsChecker::PatternAndFn |
| class | internal::ResultsChecker |
Namespaces | |
| internal | |
Functions | |
| int | AddCases (TestCaseID ID, std::initializer_list< TestCase > il) |
| size_t | AddChecker (const char *bm_name, ResultsCheckFn fn) |
| static bool | FileExists (std::string const &name) |
| std::string | GetFileReporterOutput (int argc, char *argv[]) |
| static std::string | GetRandomFileName () |
| ResultsChecker & | internal::GetResultsChecker () |
| static std::string | GetTempFileName () |
| static char | RandomHexChar () |
| void | RunOutputTests (int argc, char *argv[]) |
| int | SetSubstitutions (std::initializer_list< std::pair< std::string, std::string >> il) |
| int | SubstrCnt (const std::string &haystack, const std::string &pat) |
| static char | ToHex (int ch) |
| int AddCases | ( | TestCaseID | ID, |
| std::initializer_list< TestCase > | il | ||
| ) |
Definition at line 361 of file benchmark/test/output_test_helper.cc.
| size_t AddChecker | ( | const char * | bm_name, |
| ResultsCheckFn | fn | ||
| ) |
Definition at line 302 of file benchmark/test/output_test_helper.cc.
Definition at line 482 of file benchmark/test/output_test_helper.cc.
| std::string GetFileReporterOutput | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 501 of file benchmark/test/output_test_helper.cc.
|
static |
Definition at line 473 of file benchmark/test/output_test_helper.cc.
|
static |
Definition at line 487 of file benchmark/test/output_test_helper.cc.
|
static |
Definition at line 467 of file benchmark/test/output_test_helper.cc.
| void RunOutputTests | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 391 of file benchmark/test/output_test_helper.cc.
Definition at line 367 of file benchmark/test/output_test_helper.cc.
Definition at line 453 of file benchmark/test/output_test_helper.cc.
|
static |
Definition at line 462 of file benchmark/test/output_test_helper.cc.
|
private |
Definition at line 168 of file benchmark/test/output_test_helper.cc.