apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test CuTest.c
Date Wed, 11 Dec 2002 20:54:35 GMT
rbb         2002/12/11 12:54:35

  Modified:    test     CuTest.c
  Log:
  Be more verbose about where the tests failed when we print information
  about failed and not implemented tests.
  
  Revision  Changes    Path
  1.15      +2 -2      apr/test/CuTest.c
  
  Index: CuTest.c
  ===================================================================
  RCS file: /home/cvs/apr/test/CuTest.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- CuTest.c	11 Dec 2002 20:00:42 -0000	1.14
  +++ CuTest.c	11 Dec 2002 20:54:35 -0000	1.15
  @@ -309,7 +309,7 @@
   
   	if (testSuite->failCount != 0 && verbose)
   	{
  -		CuStringAppendFormat(details, "Failed tests:\n");
  +		CuStringAppendFormat(details, "Failed tests in %s:\n", testSuite->name);
   		for (i = 0 ; i < testSuite->count ; ++i)
   		{
   			CuTest* testCase = testSuite->list[i];
  @@ -323,7 +323,7 @@
   	}
   	if (testSuite->notimplCount != 0 && verbose)
   	{
  -		CuStringAppendFormat(details, "\nNot Implemented tests:\n");
  +		CuStringAppendFormat(details, "\nNot Implemented tests in %s:\n", testSuite->name);
   		for (i = 0 ; i < testSuite->count ; ++i)
   		{
   			CuTest* testCase = testSuite->list[i];
  
  
  

Mime
View raw message