Cleaning up drivers/Cpp, Cpp/Lifxtest, virtuals, and iotrmi/C++ (revisiting the C...
[iot2.git] / iotjava / iotrmi / C++ / sample / TestClass.cpp
diff --git a/iotjava/iotrmi/C++/sample/TestClass.cpp b/iotjava/iotrmi/C++/sample/TestClass.cpp
deleted file mode 100644 (file)
index e29e2d4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-#include <iostream>
-#include <string>
-#include "TestClass.hpp"
-#include "CallBack.hpp"
-
-using namespace std;
-
-int main(int argc, char *argv[])
-{
-
-       TestClassInterface *tc = new TestClass();
-       cout << "Return value: " << tc->setAndGetA(123) << endl;
-       cout << "Return value: " << tc->setACAndGetA("string", 123) << endl;
-       vector<string> input;
-       input.push_back("123");
-       input.push_back("456");
-       input.push_back("987");
-       /*vector<int> input;
-       input.push_back(123);
-       input.push_back(456);
-       input.push_back(987);*/
-
-       cout << "Return value: " << tc->sumArray(input) << endl;
-       delete tc;
-
-       vector<CallBackInterface*> test;
-       CallBackInterface *cb1 = new CallBack(12);
-       CallBackInterface *cb2 = new CallBack(22);
-       CallBackInterface *cb3 = new CallBack(32);
-       test.push_back(cb1);
-       test.push_back(cb2);
-       test.push_back(cb3);
-       for (CallBackInterface *cb : test) {
-               cout << "Test print: " << cb->printInt() << endl;
-       }
-
-       delete cb1;
-       delete cb2;
-       delete cb3;
-
-       return 0;
-}