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

Function TEST_F

tensorflow/core/platform/subprocess_test.cc:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24class SubProcessTest : public ::testing::Test {};
25
26TEST_F(SubProcessTest, NoOutputNoComm) {
27 tensorflow::SubProcess proc;
28 proc.SetProgram("/bin/cat", {"cat", "/dev/null"});
29 EXPECT_TRUE(proc.Start());
30 EXPECT_TRUE(proc.Wait());
31}
32
33TEST_F(SubProcessTest, NoOutput) {
34 tensorflow::SubProcess proc;

Callers

nothing calls this directly

Calls 8

SetProgramMethod · 0.80
SetChannelActionMethod · 0.80
CommunicateMethod · 0.80
KillMethod · 0.80
StartMethod · 0.45
WaitMethod · 0.45
findMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected