Lines Matching refs:target
37 // check if 'actual' is close to 'target', within 5% in default
38 int CheckValueClose(double target, double actual, double accuracy = 0.05);
45 * input: pid -- target pid
50 * 0 -- target process still alive
51 * 1 -- target process existd, exist code is set in 'code'
52 * 2 -- target process killed by a signal, signal number is set in 'code'
53 * 3 -- target process is stopped, signal number is set in 'code'
54 * 4 -- get target process state error, due to waitpid error
62 ASSERT_EQ(procStat, 0) << "target process should still alive.\n"; \
67 EXPECT_EQ(procStat, 0) << "target process should still alive.\n"; \
75 ASSERT_EQ(exitCode, 0) << "target process should exited 0.\n"; \
81 EXPECT_EQ(exitCode, 0) << "target process should exited 0.\n"; \
88 EXPECT_EQ(exitCode, 0) << "target process should exited 0.\n"; \
95 ASSERT_EQ(procStat, 2) << "target process should killed by " << signum; \
96 ASSERT_EQ(exitCode, signum) << "target process should killed by " << signum; \
102 EXPECT_EQ(exitCode, signum) << "target process should killed by " << signum; \
108 ASSERT_EQ(procStat, 2) << "target process should killed by " << signum; \
109 ASSERT_EQ(exitCode, signum) << "target process should killed by " << signum; \