MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TEST

Function TEST

tensorflow/core/util/reporter_test.cc:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36TEST(TestReporter, NoLogging) {
37 TestReporter test_reporter("b1");
38 TF_EXPECT_OK(test_reporter.Initialize());
39 TF_EXPECT_OK(test_reporter.Close());
40}
41
42TEST(TestReporter, UsesEnv) {
43 const char* old_env = std::getenv(TestReporter::kTestReporterEnv);

Callers

nothing calls this directly

Calls 15

TmpDirFunction · 0.85
ReadFileToStringFunction · 0.85
DefaultFunction · 0.85
SetPropertyMethod · 0.80
ExpectHasSubstrFunction · 0.70
nameMethod · 0.65
setenvFunction · 0.50
unsetenvFunction · 0.50
StrCatFunction · 0.50
InitializeMethod · 0.45
CloseMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected