More tests update
[ACE_TAO.git] / TAO / tests / CSD_Strategy_Tests / TP_Common / TestAppBase.h
blob0fb4aaaaa9f1356be5066c73a1aca327d8d803bc
1 #ifndef TESTAPPBASE_H
2 #define TESTAPPBASE_H
4 #include "CSD_TP_Test_Export.h"
5 #include "ace/SString.h"
6 #include "tao/Environment.h"
7 #include "ace/CORBA_macros.h"
9 class CSD_TP_Test_Export TestAppBase
11 public:
13 virtual ~TestAppBase();
15 // Returns 0 for success, and -1 for failure.
16 int run (int argc, ACE_TCHAR *argv[]);
18 const char *name() const;
20 protected:
22 TestAppBase (const char* name);
24 // Returns -1 for failure, 0 for success
25 virtual int run_i (int argc, ACE_TCHAR *argv[]) = 0;
27 private:
29 ACE_CString name_;
32 #endif