#include <TestCaseGenericSetUp.h>
Inheritance diagram for TestCaseGenericSetUp:

This class specializes class TestCase to provide default implementations of the SetUpTestCase and ShutDownTestCase methods that are intended to be suitable for most framework test cases.
Definition at line 24 of file TestCaseGenericSetUp.h.
Public Member Functions | |
| TestCaseGenericSetUp (int testId, char *testName) | |
| Set the test case name and ID. | |
| virtual bool | setUpTestCase (void) |
| Perform basic test initialization actions. | |
| virtual void | runTestCase (void) |
| Dummy implementation that returns without doing anything. | |
| virtual bool | shutDownTestCase (void) |
There are no shut-down actions associated to the basic initialization actions performed in method setUpTestCase. | |
|
||||||||||||
|
Set the test case name and ID. Calls the constructor of the super class and returns.
Definition at line 30 of file TestCaseGenericSetUp.cpp. |
|
|
|
Perform basic test initialization actions. More specifically, the following actions are taken:
Reimplemented from TestCase. Reimplemented in TestCasePUSFull, TestCaseWithEvtCheck, and TestCaseWithFactories. Definition at line 35 of file TestCaseGenericSetUp.cpp. |
|
|
There are no shut-down actions associated to the basic initialization actions performed in method
Hence, this method only returns "shut down successful" without performing any actions. In order to preserve compatibility with future releases that might be performing some actions in this method, implementations of
ConcreteTestCase::shutDownTestCase() {
bool outcome = . . . ; // perform class-specific shut-down
if (!outcome)
return outcome;
else
return TestCaseGenericSetUp::shutDownTestCase();
Reimplemented from TestCase. Reimplemented in TestCasePUSFull, and TestCaseWithFactories. Definition at line 86 of file TestCaseGenericSetUp.cpp. |