[PATCH xorg-gtest 3/4] test: rename two process tests

Peter Hutterer peter.hutterer at who-t.net
Sun Oct 7 19:47:12 PDT 2012


Termination can have different meaning for a process, rename the test cases
to be more explicit

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 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



More information about the xorg-devel mailing list