Fresco/test/syunit-c++/src Breakpoint.cc,1.1,1.2 ResultsMap.cc,1.1,1.2 TestCase.cc,1.1,1.2 TestCaseWrapper.cc,1.1,1.2 TestCmd.cc,1.1,1.2
Nathaniel Smith <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco/test/syunit-c++/src
In directory purcel:/tmp/cvs-serv17657/syunit-c++/src
Modified Files:
Breakpoint.cc ResultsMap.cc TestCase.cc TestCaseWrapper.cc
TestCmd.cc
Log Message:
Oops, I still had the old, provisional name for the library in the source
code; replace "Fresco_Test" with "SyUnit" everywhere.
Index: Breakpoint.cc
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/src/Breakpoint.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Breakpoint.cc 19 Feb 2003 20:07:23 -0000 1.1
+++ Breakpoint.cc 19 Feb 2003 20:40:16 -0000 1.2
@@ -4,17 +4,17 @@
{
void
- Fresco_Test_fail_breakpoint()
+ SyUnit_fail_breakpoint()
{
- Fresco_Test_breakpoint();
+ SyUnit_problem_breakpoint();
}
void
- Fresco_Test_error_breakpoint()
+ SyUnit_error_breakpoint()
{
- Fresco_Test_breakpoint();
+ SyUnit_problem_breakpoint();
}
void
- Fresco_Test_breakpoint() {}
+ SyUnit_problem_breakpoint() {}
}
Index: ResultsMap.cc
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/src/ResultsMap.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ResultsMap.cc 19 Feb 2003 20:07:23 -0000 1.1
+++ ResultsMap.cc 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,6 +1,6 @@
#include "ResultsMap.hh"
-namespace Fresco_Test
+namespace SyUnit
{
const std::string ResultsMap::continuation_indent(" ");
Index: TestCase.cc
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/src/TestCase.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCase.cc 19 Feb 2003 20:07:23 -0000 1.1
+++ TestCase.cc 19 Feb 2003 20:40:16 -0000 1.2
@@ -4,13 +4,13 @@
#include "Breakpoint.hh"
#include "ResultsMap.hh"
-namespace Fresco_Test
+namespace SyUnit
{
void
TestCase::fail(const std::string msg)
{
- Fresco_Test_fail_breakpoint();
+ SyUnit_fail_breakpoint();
result["Result"] = "FAIL";
result["Cause"] = msg;
throw TestFailure();
@@ -19,7 +19,7 @@
void
TestCase::error(const std::string msg)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
result["Result"] = "ERROR";
result["Cause"] = msg;
throw TestError();
Index: TestCaseWrapper.cc
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/src/TestCaseWrapper.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCaseWrapper.cc 19 Feb 2003 20:07:23 -0000 1.1
+++ TestCaseWrapper.cc 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,10 +1 @@
-#include "ResultsMap.hh"
-#include "TestCaseWrapper.hh"
-#include "TestCase.hh"
-#include "Breakpoint.hh"
-
-namespace Fresco_Test
-{
-
-
-}
+// There is no TestCaseWrapper.cc; all the code is in the header file
Index: TestCmd.cc
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/src/TestCmd.cc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCmd.cc 19 Feb 2003 20:07:23 -0000 1.1
+++ TestCmd.cc 19 Feb 2003 20:40:16 -0000 1.2
@@ -4,7 +4,7 @@
#include "TestCmd.hh"
#include "TestCase.hh"
-namespace Fresco_Test
+namespace SyUnit
{
TestCmd::TestCmd(char argc, char** argv)