Ninja
Functions
subprocess_test.cc File Reference
#include "subprocess.h"
#include "test.h"
#include <stdio.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
Include dependency graph for subprocess_test.cc:

Go to the source code of this file.

Functions

 TEST_F (SubprocessTest, BadCommandStderr)
 
 TEST_F (SubprocessTest, NoSuchCommand)
 
 TEST_F (SubprocessTest, InterruptChild)
 
 TEST_F (SubprocessTest, InterruptParent)
 
 TEST_F (SubprocessTest, Console)
 
 TEST_F (SubprocessTest, SetWithSingle)
 
 TEST_F (SubprocessTest, SetWithMulti)
 
 TEST_F (SubprocessTest, SetWithLots)
 
 TEST_F (SubprocessTest, ReadStdin)
 

Function Documentation

TEST_F ( SubprocessTest  ,
BadCommandStderr   
)
TEST_F ( SubprocessTest  ,
NoSuchCommand   
)
TEST_F ( SubprocessTest  ,
InterruptChild   
)
TEST_F ( SubprocessTest  ,
InterruptParent   
)

Definition at line 86 of file subprocess_test.cc.

References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().

TEST_F ( SubprocessTest  ,
Console   
)
TEST_F ( SubprocessTest  ,
SetWithSingle   
)
TEST_F ( SubprocessTest  ,
SetWithMulti   
)

Definition at line 129 of file subprocess_test.cc.

References ASSERT_EQ, ASSERT_FALSE, ASSERT_GT, ASSERT_NE, and ExitSuccess.

TEST_F ( SubprocessTest  ,
SetWithLots   
)

Definition at line 172 of file subprocess_test.cc.

References ASSERT_EQ, ASSERT_NE, ExitSuccess, and EXPECT_GT.

TEST_F ( SubprocessTest  ,
ReadStdin   
)

Definition at line 206 of file subprocess_test.cc.

References ASSERT_EQ, Subprocess::Done(), ExitSuccess, and Subprocess::Finish().