summaryrefslogtreecommitdiffstats
path: root/src/include/usr/cxxtest/TestSuite.H
diff options
context:
space:
mode:
authorMark Wenning <wenning@us.ibm.com>2011-06-29 17:30:28 -0500
committerMark W. Wenning <wenning@us.ibm.com>2011-07-14 15:38:11 -0500
commit5530b7609c0351deb5d707c5950a56309842a325 (patch)
tree2382ef9aa2e3cfebe33d6d1737647be7325a94e0 /src/include/usr/cxxtest/TestSuite.H
parent2583b46750d1e1c062763eff204baa1460e7ae90 (diff)
downloadtalos-hostboot-5530b7609c0351deb5d707c5950a56309842a325.tar.gz
talos-hostboot-5530b7609c0351deb5d707c5950a56309842a325.zip
InitService changes for LLDD 0.7
- implement task flags - add barrier to unit tests - startTask returns errlog handle - factor taskargs.H - add STRICT mode and fix results - add tasktest2 to replace example.C - add cxxtest as an explicit task at the end - cleanup todo's - post-review fixes - merge problem Change-Id: I073bd154a64013553c1863f9eb674cda2bf40a8d Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/187 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/include/usr/cxxtest/TestSuite.H')
-rwxr-xr-xsrc/include/usr/cxxtest/TestSuite.H33
1 files changed, 19 insertions, 14 deletions
diff --git a/src/include/usr/cxxtest/TestSuite.H b/src/include/usr/cxxtest/TestSuite.H
index 937a29011..ff40ce06b 100755
--- a/src/include/usr/cxxtest/TestSuite.H
+++ b/src/include/usr/cxxtest/TestSuite.H
@@ -1,4 +1,8 @@
-// Imported from FSP tree - /src/test/cxxtest/cxxtest/
+/** @file TestSuite.H
+ *
+ * Imported from FSP tree - /src/test/cxxtest/cxxtest/
+ */
+
#ifndef __cxxtest__TestSuite_h__
#define __cxxtest__TestSuite_h__
@@ -10,17 +14,24 @@
#include <trace/interface.H>
-extern trace_desc_t *g_trac_test;
-
-//
-// class TestSuite is the base class for all test suites.
-// To define a test suite, derive from this class and add
-// member functions called void test*();
-//
+extern trace_desc_t *g_trac_test;
namespace CxxTest
{
+extern uint64_t g_TotalTests;
+extern uint64_t g_TraceCalls;
+extern uint64_t g_Warnings;
+extern uint64_t g_FailedTests;
+
+/**
+ * @class TestSuite
+ *
+ * class TestSuite is the base class for all test suites.
+ * To define a test suite, derive from this class and add
+ * member functions called void test*();
+ *
+ */
class TestSuite
{
public:
@@ -39,12 +50,6 @@ void doFailAssert( const char *file, unsigned line, const char *expression, cons
void reportTotalTests( const char *suitename, uint64_t numtests );
-// $$ these should be set up as readonly accessors
-uint64_t getTotalTests(void);
-uint64_t getFailedTests(void);
-uint64_t getWarnings(void);
-uint64_t getTraceCalls(void);
-
extern uint64_t g_ModulesCompleted;
#define _TS_TRY
OpenPOWER on IntegriCloud