Home
last modified time | relevance | path

Searched refs:TestReporter (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dreporter_test.cc36 TEST(TestReporter, NoLogging) { in TEST() argument
37 TestReporter test_reporter("b1"); in TEST()
42 TEST(TestReporter, UsesEnv) { in TEST() argument
43 const char* old_env = std::getenv(TestReporter::kTestReporterEnv); in TEST()
46 setenv(TestReporter::kTestReporterEnv, "/cant/find/me:!", 1); in TEST()
47 CHECK_EQ(string(std::getenv(TestReporter::kTestReporterEnv)), in TEST()
49 TestReporter test_reporter("b1"); in TEST()
54 unsetenv(TestReporter::kTestReporterEnv); in TEST()
55 CHECK_EQ(std::getenv(TestReporter::kTestReporterEnv), nullptr); in TEST()
56 TestReporter test_reporter_empty("b1"); in TEST()
[all …]
Dreporter.h50 class TestReporter {
55 explicit TestReporter(const string& test_name) in TestReporter() function
56 : TestReporter(GetLogEnv(), test_name) {} in TestReporter()
59 TestReporter(const string& fname, const string& test_name);
79 ~TestReporter() { Close().IgnoreError(); } // Autoclose in destructor. in ~TestReporter()
91 TF_DISALLOW_COPY_AND_ASSIGN(TestReporter);
Dreporter.cc24 TestReporter::TestReporter(const string& fname, const string& test_name) in TestReporter() function in tensorflow::TestReporter
27 Status TestReporter::Close() { in Close()
40 Status TestReporter::Benchmark(int64 iters, double cpu_time, double wall_time, in Benchmark()
50 Status TestReporter::Initialize() { in Initialize()
/external/libcxx/utils/google-benchmark/test/
Dfilter_test.cc15 class TestReporter : public benchmark::ConsoleReporter { class
26 TestReporter() : count_(0) {} in TestReporter() function in __anon07e4e4b30111::TestReporter
28 virtual ~TestReporter() {} in ~TestReporter()
76 TestReporter test_reporter; in main()
Dskip_with_error_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
22 TestReporter() {} in TestReporter() function in __anon9432b7280111::TestReporter
23 virtual ~TestReporter() {} in ~TestReporter()
168 TestReporter test_reporter; in main()
Dregister_benchmark_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
134 TestReporter test_reporter; in RunTestOne()
157 TestReporter test_reporter; in RunTestTwo()
Doutput_test_helper.cc123 class TestReporter : public benchmark::BenchmarkReporter { class
125 TestReporter(std::vector<benchmark::BenchmarkReporter*> reps) in TestReporter() function in internal::__anon7e005a9d0111::TestReporter
400 internal::TestReporter test_rep({&CR, &JR, &CSVR}); in RunOutputTests()
/external/google-benchmark/test/
Dfilter_test.cc15 class TestReporter : public benchmark::ConsoleReporter { class
26 TestReporter() : count_(0) {} in TestReporter() function in __anon3afdfbfa0111::TestReporter
28 virtual ~TestReporter() {} in ~TestReporter()
76 TestReporter test_reporter; in main()
Dskip_with_error_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
22 TestReporter() {} in TestReporter() function in __anon6563ee4f0111::TestReporter
23 virtual ~TestReporter() {} in ~TestReporter()
168 TestReporter test_reporter; in main()
Dregister_benchmark_test.cc11 class TestReporter : public benchmark::ConsoleReporter { class
134 TestReporter test_reporter; in RunTestOne()
157 TestReporter test_reporter; in RunTestTwo()
Doutput_test_helper.cc123 class TestReporter : public benchmark::BenchmarkReporter { class
125 TestReporter(std::vector<benchmark::BenchmarkReporter*> reps) in TestReporter() function in internal::__anon8b5b9c040111::TestReporter
400 internal::TestReporter test_rep({&CR, &JR, &CSVR}); in RunOutputTests()
/external/skia/tests/
Dskia_test.cpp90 struct TestReporter : public skiatest::Reporter { in operator ()() struct
92 TestReporter() : fStats(nullptr), fError(false), fTestCount(0) {} in operator ()() argument
/external/skqp/tests/
Dskia_test.cpp90 struct TestReporter : public skiatest::Reporter { in operator ()() struct
92 TestReporter() : fStats(nullptr), fError(false), fTestCount(0) {} in operator ()() function
/external/tensorflow/tensorflow/core/platform/default/
Dtest_benchmark.cc181 TestReporter reporter(name); in Run()
/external/tensorflow/tensorflow/tools/benchmark/
Dbenchmark_model.cc243 TestReporter node_reporter(output_prefix, stream.str()); in RecordBenchmarkEntry()