You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by rb...@apache.org on 2002/12/11 21:54:35 UTC
cvs commit: apr/test CuTest.c
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];