Termination can have different meaning for a process, rename the test cases to be more explicit
Signed-off-by: Peter Hutterer <[email protected]> --- test/process-test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/process-test.cpp b/test/process-test.cpp index 183b9f8..8646c12 100644 --- a/test/process-test.cpp +++ b/test/process-test.cpp @@ -25,7 +25,7 @@ TEST(Process, StartWithNULLTerminatedArg) ASSERT_GT(p.Pid(), 0); } -TEST(Process, TerminationSuccess) +TEST(Process, ExitCodeSuccess) { SCOPED_TRACE("TESTCASE: invocation of 'echo -n', check for success exit status"); @@ -45,7 +45,7 @@ TEST(Process, TerminationSuccess) ASSERT_EQ(p.GetState(), Process::FINISHED_SUCCESS); } -TEST(Process, TerminationFailure) +TEST(Process, ExitCodeFailure) { SCOPED_TRACE("TESTCASE: an invalid invocation of 'ls', check for error exit status"); Process p; -- 1.7.11.4 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
