Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / CSD_Strategy_Tests / TP_Common / TestAppBase.cpp
blobeb6905eb2e3c56084e0c58fabd357034a392d4d0
1 #include "TestAppBase.h"
3 TestAppBase::TestAppBase(const char* name)
4 : name_(name)
8 TestAppBase::~TestAppBase()
12 const char*
13 TestAppBase::name() const
15 return this->name_.c_str();
18 int
19 TestAppBase::run (int argc, ACE_TCHAR *argv[])
21 int rc = this->run_i (argc, argv);
23 // Convert 1 to 0. Leave 0 and -1 as they are.
24 return (rc == 1) ? 0 : rc;