Fresco/test/syunit-c++/include Breakpoint.hh,1.1,1.2 ResultsMap.hh,1.1,1.2 TestCase.hh,1.1,1.2 TestCaseWrapper.hh,1.1,1.2 TestCmd.hh,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++/include
In directory purcel:/tmp/cvs-serv17657/syunit-c++/include
Modified Files:
Breakpoint.hh ResultsMap.hh TestCase.hh TestCaseWrapper.hh
TestCmd.hh
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.hh
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/include/Breakpoint.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Breakpoint.hh 19 Feb 2003 20:07:22 -0000 1.1
+++ Breakpoint.hh 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,11 +1,11 @@
-#ifndef _FRESCO_TEST_BREAKPOINT_H
-#define _FRESCO_TEST_BREAKPOINT_H
+#ifndef _SYUNIT_BREAKPOINT_H
+#define _SYUNIT_BREAKPOINT_H
extern "C"
{
- void Fresco_Test_fail_breakpoint();
- void Fresco_Test_error_breakpoint();
- void Fresco_Test_breakpoint(); // called by the other two
+ void SyUnit_fail_breakpoint();
+ void SyUnit_error_breakpoint();
+ void SyUnit_problem_breakpoint(); // called by the other two
}
#endif /* header guard */
Index: ResultsMap.hh
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/include/ResultsMap.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- ResultsMap.hh 19 Feb 2003 20:07:22 -0000 1.1
+++ ResultsMap.hh 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,12 +1,12 @@
-#ifndef _FRESCO_TEST_RESULTSMAP_H
-#define _FRESCO_TEST_RESULTSMAP_H
+#ifndef _SYUNIT_RESULTSMAP_H
+#define _SYUNIT_TEST_RESULTSMAP_H
#include <string>
#include <list>
#include <map>
#include <iostream>
-namespace Fresco_Test
+namespace SyUnit
{
class ResultsMapTest;
Index: TestCase.hh
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/include/TestCase.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCase.hh 19 Feb 2003 20:07:22 -0000 1.1
+++ TestCase.hh 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,11 +1,11 @@
-#ifndef _FRESCO_TEST_TEST_CASE_H
-#define _FRESCO_TEST_TEST_CASE_H
+#ifndef _SYUNIT_TEST_CASE_H
+#define _SYUNIT_TEST_CASE_H
#include <string>
#include "ResultsMap.h"
-namespace Fresco_Test
+namespace SyUnit
{
// A few cheap exception classes
Index: TestCaseWrapper.hh
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/include/TestCaseWrapper.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCaseWrapper.hh 19 Feb 2003 20:07:22 -0000 1.1
+++ TestCaseWrapper.hh 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,5 +1,5 @@
-#ifndef _FRESCO_TEST_TEST_CASE_WRAPPER_H
-#define _FRESCO_TEST_TEST_CASE_WRAPPER_H
+#ifndef _SYUNIT_TEST_CASE_WRAPPER_H
+#define _SYUNIT_TEST_CASE_WRAPPER_H
#include <string>
@@ -7,7 +7,7 @@
#include "TestCase.h"
#include "Breakpoint.h"
-namespace Fresco_Test
+namespace SyUnit
{
class ResultsMap;
@@ -70,7 +70,7 @@
}
catch (std::exception& e)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
test.result["Result"] = "ERROR";
test.result["Cause"] = "set_up() threw a std::exception: ";
test.result["Exception"] = e.what();
@@ -78,7 +78,7 @@
}
catch (...)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
test.result["Result"] = "ERROR";
test.result["Cause"] = "set_up() threw an unknown exception";
return test.result;
@@ -92,14 +92,14 @@
// match exception thrown...
catch (std::exception& e)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
test.result["Result"] = "ERROR";
test.result["Cause"] = "test method threw a std::exception";
test.result["Exception"] += e.what();
}
catch (...)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
test.result["Result"] = "ERROR";
test.result["Cause"] = "test method threw an unknown exception";
}
@@ -111,7 +111,7 @@
}
catch (std::exception& e)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
std::string msg = "tear_down() threw a std::exception: ";
msg += e.what();
if (test.result["Result"] == "ERROR")
@@ -127,7 +127,7 @@
}
catch (...)
{
- Fresco_Test_error_breakpoint();
+ SyUnit_error_breakpoint();
std::string msg = "tear_down() threw an unknown exception";
if (test.result["Result"] == "ERROR")
{
Index: TestCmd.hh
===================================================================
RCS file: /cvs/fresco/Fresco/test/syunit-c++/include/TestCmd.hh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- TestCmd.hh 19 Feb 2003 20:07:22 -0000 1.1
+++ TestCmd.hh 19 Feb 2003 20:40:16 -0000 1.2
@@ -1,12 +1,12 @@
-#ifndef _FRESCO_TEST_TEST_CMD_H
-#define _FRESCO_TEST_TEST_CMD_H
+#ifndef _SYUNIT_TEST_CMD_H
+#define _SYUNIT_TEST_CMD_H
#include <string>
#include <map>
#include "TestCaseWrapper.h"
-namespace Fresco_Test
+namespace SyUnit
{
class TestCmd