Ninja
Functions
subprocess_test.cc File Reference
#include "subprocess.h"
#include "exit_status.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, Console)
 
 TEST_F (SubprocessTest, InterruptChild)
 
 TEST_F (SubprocessTest, InterruptChildWithSigHup)
 
 TEST_F (SubprocessTest, InterruptChildWithSigTerm)
 
 TEST_F (SubprocessTest, InterruptParent)
 
 TEST_F (SubprocessTest, InterruptParentWithSigHup)
 
 TEST_F (SubprocessTest, InterruptParentWithSigTerm)
 
 TEST_F (SubprocessTest, NoSuchCommand)
 
 TEST_F (SubprocessTest, ReadStdin)
 
 TEST_F (SubprocessTest, SetWithMulti)
 
 TEST_F (SubprocessTest, SetWithSingle)
 

Function Documentation

◆ TEST_F() [1/12]

TEST_F ( SubprocessTest  ,
BadCommandStderr   
)

◆ TEST_F() [2/12]

TEST_F ( SubprocessTest  ,
Console   
)

Definition at line 152 of file subprocess_test.cc.

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

◆ TEST_F() [3/12]

TEST_F ( SubprocessTest  ,
InterruptChild   
)

Definition at line 80 of file subprocess_test.cc.

References Subprocess::Done(), ExitInterrupted, and Subprocess::Finish().

◆ TEST_F() [4/12]

TEST_F ( SubprocessTest  ,
InterruptChildWithSigHup   
)

Definition at line 128 of file subprocess_test.cc.

References Subprocess::Done(), ExitInterrupted, and Subprocess::Finish().

◆ TEST_F() [5/12]

TEST_F ( SubprocessTest  ,
InterruptChildWithSigTerm   
)

Definition at line 104 of file subprocess_test.cc.

References Subprocess::Done(), ExitInterrupted, and Subprocess::Finish().

◆ TEST_F() [6/12]

TEST_F ( SubprocessTest  ,
InterruptParent   
)

Definition at line 91 of file subprocess_test.cc.

References Subprocess::Done().

◆ TEST_F() [7/12]

TEST_F ( SubprocessTest  ,
InterruptParentWithSigHup   
)

Definition at line 139 of file subprocess_test.cc.

References Subprocess::Done().

◆ TEST_F() [8/12]

TEST_F ( SubprocessTest  ,
InterruptParentWithSigTerm   
)

Definition at line 115 of file subprocess_test.cc.

References Subprocess::Done().

◆ TEST_F() [9/12]

TEST_F ( SubprocessTest  ,
NoSuchCommand   
)

◆ TEST_F() [10/12]

TEST_F ( SubprocessTest  ,
ReadStdin   
)

Definition at line 258 of file subprocess_test.cc.

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

◆ TEST_F() [11/12]

TEST_F ( SubprocessTest  ,
SetWithMulti   
)

Definition at line 182 of file subprocess_test.cc.

References ExitSuccess.

◆ TEST_F() [12/12]

TEST_F ( SubprocessTest  ,
SetWithSingle   
)