diff options
author | Michi Henning <michi@zeroc.com> | 2007-11-15 12:56:34 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-11-15 12:56:34 +1000 |
commit | 583d947dd0871045a370ad9dad41029ad13fc3e1 (patch) | |
tree | 218e863805c04ac9854858dd1ac330e13c7b0e2a /cpp/test/Ice/interceptor/Client.cpp | |
parent | Did a make depend. (diff) | |
download | ice-583d947dd0871045a370ad9dad41029ad13fc3e1.tar.bz2 ice-583d947dd0871045a370ad9dad41029ad13fc3e1.tar.xz ice-583d947dd0871045a370ad9dad41029ad13fc3e1.zip |
Changed message style for interceptor tests to be the same as for other tests.
Diffstat (limited to 'cpp/test/Ice/interceptor/Client.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/Client.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/test/Ice/interceptor/Client.cpp b/cpp/test/Ice/interceptor/Client.cpp index bd52ff7b9ee..ab0c96e883c 100644 --- a/cpp/test/Ice/interceptor/Client.cpp +++ b/cpp/test/Ice/interceptor/Client.cpp @@ -77,7 +77,7 @@ Client::run(int, char*[]) int Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) { - cout << "testing simple interceptor..." << flush; + cout << "testing simple interceptor... " << flush; test(interceptor->getLastOperation().empty()); prx->ice_ping(); test(interceptor->getLastOperation() == "ice_ping"); @@ -92,12 +92,12 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) test(interceptor->getLastOperation() == "add"); test(interceptor->getLastStatus() == Ice::DispatchOK); cout << "ok" << endl; - cout << "testing retry..." << flush; + cout << "testing retry... " << flush; test(prx->addWithRetry(33, 12) == 45); test(interceptor->getLastOperation() == "addWithRetry"); test(interceptor->getLastStatus() == Ice::DispatchOK); cout << "ok" << endl; - cout << "testing user exception..." << flush; + cout << "testing user exception... " << flush; try { prx->badAdd(33, 12); @@ -110,7 +110,7 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) test(interceptor->getLastOperation() == "badAdd"); test(interceptor->getLastStatus() == Ice::DispatchUserException); cout << "ok" << endl; - cout << "testing ONE..." << flush; + cout << "testing ONE... " << flush; interceptor->clear(); try @@ -124,7 +124,7 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) } test(interceptor->getLastOperation() == "notExistAdd"); cout << "ok" << endl; - cout << "testing system exception..." << flush; + cout << "testing system exception... " << flush; interceptor->clear(); try { @@ -143,7 +143,7 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) cout << "ok" << endl; if(!prx->ice_isCollocationOptimized()) { - cout << "testing simple AMD..." << flush; + cout << "testing simple AMD... " << flush; test(prx->amdAdd(33, 12) == 45); test(interceptor->getLastOperation() == "amdAdd"); test(interceptor->getLastStatus() == Ice::DispatchAsync); @@ -155,20 +155,20 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) int Client::runAmd(const Test::MyObjectPrx& prx, const AMDInterceptorIPtr& interceptor) { - cout << "testing simple interceptor..." << flush; + cout << "testing simple interceptor... " << flush; test(interceptor->getLastOperation().empty()); test(prx->amdAdd(33, 12) == 45); test(interceptor->getLastOperation() == "amdAdd"); test(interceptor->getLastStatus() == Ice::DispatchAsync); test(interceptor->getActualStatus() == Ice::DispatchOK); cout << "ok" << endl; - cout << "testing retry..." << flush; + cout << "testing retry... " << flush; test(prx->amdAddWithRetry(33, 12) == 45); test(interceptor->getLastOperation() == "amdAddWithRetry"); test(interceptor->getLastStatus() == Ice::DispatchAsync); test(interceptor->getActualStatus() == Ice::DispatchOK); cout << "ok" << endl; - cout << "testing user exception..." << flush; + cout << "testing user exception... " << flush; try { prx->amdBadAdd(33, 12); @@ -182,7 +182,7 @@ Client::runAmd(const Test::MyObjectPrx& prx, const AMDInterceptorIPtr& intercept test(interceptor->getLastStatus() == Ice::DispatchAsync); test(interceptor->getActualStatus() == Ice::DispatchUserException); cout << "ok" << endl; - cout << "testing ONE..." << flush; + cout << "testing ONE... " << flush; interceptor->clear(); try { @@ -198,7 +198,7 @@ Client::runAmd(const Test::MyObjectPrx& prx, const AMDInterceptorIPtr& intercept test(interceptor->getActualStatus() == Ice::DispatchAsync); test(dynamic_cast<Ice::ObjectNotExistException*>(interceptor->getException()) != 0); cout << "ok" << endl; - cout << "testing system exception..." << flush; + cout << "testing system exception... " << flush; interceptor->clear(); try { |