|
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 44 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 58 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 77 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParent | |||
| ) |
Definition at line 88 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| InterruptChildWithSigTerm | |||
| ) |
Definition at line 101 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParentWithSigTerm | |||
| ) |
Definition at line 112 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| InterruptChildWithSigHup | |||
| ) |
Definition at line 125 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitInterrupted, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| InterruptParentWithSigHup | |||
| ) |
Definition at line 136 of file subprocess_test.cc.
References ASSERT_FALSE, ASSERT_NE, and Subprocess::Done().
| TEST_F | ( | SubprocessTest | , |
| Console | |||
| ) |
Definition at line 149 of file subprocess_test.cc.
References ASSERT_NE, Subprocess::Done(), ExitSuccess, EXPECT_EQ, and Subprocess::Finish().
| TEST_F | ( | SubprocessTest | , |
| SetWithSingle | |||
| ) |
Definition at line 166 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 179 of file subprocess_test.cc.
References ASSERT_EQ, ASSERT_FALSE, ASSERT_GT, ASSERT_NE, and ExitSuccess.
| TEST_F | ( | SubprocessTest | , |
| ReadStdin | |||
| ) |
Definition at line 255 of file subprocess_test.cc.
References ASSERT_EQ, Subprocess::Done(), ExitSuccess, and Subprocess::Finish().
1.8.14