diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2011-05-16 07:21:33 -0500 |
---|---|---|
committer | Andrew J. Geissler <andrewg@us.ibm.com> | 2011-05-18 10:14:35 -0500 |
commit | 5f28dffa51ef4fe402e1e8609fd8afa44e834db6 (patch) | |
tree | cd61f8be390ccbf8e6df49e8d82b339c70e24232 /src/usr/example/test/exampletest.H | |
parent | 82fa0190a4ad346500a9b5d75abc9f85c23b08e8 (diff) | |
download | blackbird-hostboot-5f28dffa51ef4fe402e1e8609fd8afa44e834db6.tar.gz blackbird-hostboot-5f28dffa51ef4fe402e1e8609fd8afa44e834db6.zip |
Updated per trace code review comments.
- Fixed merge issue with src/makefile
- Updated per second code review
- Got trace tests up and running
Change-Id: I932ac4eb6d2389e39ce5efb1dd2f5cfa97f7b70b
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'src/usr/example/test/exampletest.H')
-rw-r--r-- | src/usr/example/test/exampletest.H | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/usr/example/test/exampletest.H b/src/usr/example/test/exampletest.H index c45aaf4f7..ec2e60dba 100644 --- a/src/usr/example/test/exampletest.H +++ b/src/usr/example/test/exampletest.H @@ -1,9 +1,22 @@ +#ifndef __TEST_EXAMPLETEST_H +#define __TEST_EXAMPLETEST_H + +/** + * @file exampletest.H + * + * @brief Example for people to use when writing test cases for their module. +*/ + #include <cxxtest/TestSuite.H> #include <example/example.H> class ExampleTest: public CxxTest::TestSuite { public: + + /** + * @test Test Description + */ void testExample1(void) { uint64_t l_rc = 0; @@ -13,11 +26,19 @@ public: TS_FAIL("Call to example1_function1 failed!"); } } + + /** + * @test Test Description + */ void testExample2(void) { // Call functions and validate results // TS_FAIL("Failed test call to example2 function"); } + + /** + * @test Test Description + */ void testExample3(void) { // Call functions and validate results @@ -36,3 +57,5 @@ public: }; +#endif + |