3 #include "TestClass_Stub.hpp"
7 int main(int argc, char *argv[])
11 const char* address = "localhost";
15 ports.push_back(12345);
16 //ports.push_back(13234);
18 TestClassInterface *tcStub = new TestClass_Stub(port, address, rev, &bResult, ports);
19 cout << "Return value: " << tcStub->setAndGetA(123) << endl;
20 cout << "Return value: " << tcStub->setACAndGetA("string", 123) << endl;
22 input.push_back("123");
23 input.push_back("456");
24 input.push_back("987");
28 input.push_back(987);*/
30 cout << "Return value: " << tcStub->sumArray(input) << endl;