| 24 | class SubProcessTest : public ::testing::Test {}; |
| 25 | |
| 26 | TEST_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 | |
| 33 | TEST_F(SubProcessTest, NoOutput) { |
| 34 | tensorflow::SubProcess proc; |
nothing calls this directly
no test coverage detected