Making sure that sample stub and skeleton classes inherit from a common interface
[iot2.git] / iotjava / iotrmi / C++ / sample / TestClass.cpp
index d9229ab079485286c0681f2ff0d63866b2a7c853..cbaeebab86a317eee9b88734615e3a9efe71ff30 100644 (file)
@@ -10,14 +10,14 @@ 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;
+       vector<string> input;
        input.push_back("123");
        input.push_back("456");
-       input.push_back("987");*/
-       vector<int> input;
+       input.push_back("987");
+       /*vector<int> input;
        input.push_back(123);
        input.push_back(456);
-       input.push_back(987);
+       input.push_back(987);*/
 
        cout << "Return value: " << tc->sumArray(input) << endl;