3 #include "TestClassComplete_Stub.hpp"
7 int main(int argc, char *argv[])
11 const char* address = "localhost";
15 ports.push_back(12345);
17 TestClassComplete *tcStub = new TestClassComplete_Stub(port, address, rev, &bResult, ports);
18 cout << "Return value: " << tcStub->setAndGetA(123) << endl;
19 cout << "Return value: " << tcStub->setACAndGetA("string", 123) << endl;
21 input.push_back("123");
22 input.push_back("456");
23 input.push_back("987");
25 cout << "Return value: " << tcStub->sumArray(input) << endl;