blob: 3d52871e907075af5b31214c3d05fa97f634bb6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// $Id$
#ifndef TESTAPPBASE_H
#define TESTAPPBASE_H
#include "CSD_TP_Test_Export.h"
#include "ace/SString.h"
#include "tao/Environment.h"
#include "ace/CORBA_macros.h"
class CSD_TP_Test_Export TestAppBase
{
public:
virtual ~TestAppBase();
// Returns 0 for success, and -1 for failure.
int run (int argc, ACE_TCHAR *argv[]);
const char *name() const;
protected:
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_;
};
#endif
|