summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp')
-rw-r--r--TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp b/TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp
new file mode 100644
index 00000000000..8f264fbb111
--- /dev/null
+++ b/TAO/performance-tests/CSD_Strategy/TestInf/TestAppBase.cpp
@@ -0,0 +1,29 @@
+// $Id$
+#include "TestAppBase.h"
+
+TestAppBase::TestAppBase(const char* name)
+ : name_(name)
+{
+}
+
+
+TestAppBase::~TestAppBase()
+{
+}
+
+
+const char*
+TestAppBase::name() const
+{
+ return this->name_.c_str();
+}
+
+
+int
+TestAppBase::run(int argc, char* argv[])
+{
+ int rc = this->run_i(argc, argv);
+
+ // Convert 1 to 0. Leave 0 and -1 as they are.
+ return (rc == 1) ? 0 : rc;
+}