summaryrefslogtreecommitdiff
path: root/TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h')
-rw-r--r--TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h25
1 files changed, 11 insertions, 14 deletions
diff --git a/TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h b/TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h
index 0fb4aaaaa9f..40b06e5ca2d 100644
--- a/TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h
+++ b/TAO/tests/CSD_Strategy_Tests/TP_Common/TestAppBase.h
@@ -8,25 +8,22 @@
class CSD_TP_Test_Export TestAppBase
{
- public:
+public:
+ virtual ~TestAppBase();
- virtual ~TestAppBase();
+ // Returns 0 for success, and -1 for failure.
+ int run (int argc, ACE_TCHAR *argv[]);
- // Returns 0 for success, and -1 for failure.
- int run (int argc, ACE_TCHAR *argv[]);
+ const char *name() const;
- const char *name() const;
+protected:
+ TestAppBase (const char* name);
- protected:
+ // Returns -1 for failure, 0 for success
+ virtual int run_i (int argc, ACE_TCHAR *argv[]) = 0;
- TestAppBase (const char* name);
-
- // Returns -1 for failure, 0 for success
- virtual int run_i (int argc, ACE_TCHAR *argv[]) = 0;
-
- private:
-
- ACE_CString name_;
+private:
+ ACE_CString name_;
};
#endif