|
Ninja
|
#include "subprocess.h"#include "test.h"#include <stdio.h>#include <sys/time.h>#include <sys/resource.h>#include <unistd.h>
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, InterruptChildWithSigTerm) | |
| TEST_F (SubprocessTest, InterruptParentWithSigTerm) | |
| TEST_F (SubprocessTest, InterruptChildWithSigHup) | |
| TEST_F (SubprocessTest, InterruptParentWithSigHup) | |
| TEST_F (SubprocessTest, Console) | |
| TEST_F (SubprocessTest, SetWithSingle) | |
| TEST_F (SubprocessTest, SetWithMulti) | |
| TEST_F (SubprocessTest, ReadStdin) | |
| TEST_F | ( | SubprocessTest | , |
| BadCommandStderr | |||
| ) |
Definition at line 42 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitFailure, EXPECT_EQ, EXPECT_NE, Subprocess::Finish(), and Subprocess::GetOutput().
| TEST_F | ( | SubprocessTest | , |
| NoSuchCommand | |||
| ) |
Definition at line 56 of file subprocess_test.cc.
References ASSERT_EQ, ASSERT_NE, Subprocess::Done(), ExitFailure, EXPECT_EQ, EXPECT_NE, Subprocess::Finish(), and Subprocess::GetOutput().
| TEST_F | ( | SubprocessTest | , |
| InterruptChild | |||
| ) |
Definition at line 75 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParent | |||
| ) |
Definition at line 86 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| InterruptChildWithSigTerm | |||
| ) |
Definition at line 99 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParentWithSigTerm | |||
| ) |
Definition at line 110 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| InterruptChildWithSigHup | |||
| ) |
Definition at line 123 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParentWithSigHup | |||
| ) |
Definition at line 134 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| Console | |||
| ) |
Definition at line 147 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitSuccess, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| SetWithSingle | |||
| ) |
Definition at line 164 of file subprocess_test.cc.
References ASSERT_EQ, ASSERT_NE, Subprocess::Done(), ExitSuccess, Subprocess::Finish(), and Subprocess::GetOutput().
| TEST_F | ( | SubprocessTest | , |
| SetWithMulti | |||
| ) |
Definition at line 177 of file subprocess_test.cc.
References ASSERT_EQ, ASSERT_FALSE, ASSERT_GT, ASSERT_NE, and ExitSuccess.
| TEST_F | ( | SubprocessTest | , |
| ReadStdin | |||
| ) |
Definition at line 253 of file subprocess_test.cc.
References ASSERT_EQ, Subprocess::Done(), ExitSuccess, and Subprocess::Finish().
1.8.14