diff options
author | Jose <jose@zeroc.com> | 2015-12-01 17:36:19 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-12-01 17:36:19 +0100 |
commit | 2029ff368e49fae489b8ec8fc12f7d126b182dfb (patch) | |
tree | 6075d652b7851831c39e6f22004d8720864f1a60 /cpp/test/Ice/operations/AllTests.cpp | |
parent | The default LMDB map size for IceGrid and IceStorm is now 10MB (Windows) (diff) | |
download | ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.bz2 ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.tar.xz ice-2029ff368e49fae489b8ec8fc12f7d126b182dfb.zip |
C++11 mapping initial commit
Diffstat (limited to 'cpp/test/Ice/operations/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/operations/AllTests.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/Ice/operations/AllTests.cpp b/cpp/test/Ice/operations/AllTests.cpp index f4b3a712d6e..45e9f666ba3 100644 --- a/cpp/test/Ice/operations/AllTests.cpp +++ b/cpp/test/Ice/operations/AllTests.cpp @@ -14,45 +14,45 @@ using namespace std; -Test::MyClassPrx +Test::MyClassPrxPtr allTests(const Ice::CommunicatorPtr& communicator) { string ref = "test:default -p 12010"; - Ice::ObjectPrx base = communicator->stringToProxy(ref); - Test::MyClassPrx cl = Test::MyClassPrx::checkedCast(base); - Test::MyDerivedClassPrx derived = Test::MyDerivedClassPrx::checkedCast(cl); + Ice::ObjectPrxPtr base = communicator->stringToProxy(ref); + Test::MyClassPrxPtr cl = ICE_CHECKED_CAST(Test::MyClassPrx, base); + Test::MyDerivedClassPrxPtr derived = ICE_CHECKED_CAST(Test::MyDerivedClassPrx, cl); cout << "testing twoway operations... " << flush; - void twoways(const Ice::CommunicatorPtr&, const Test::MyClassPrx&); + void twoways(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr&); twoways(communicator, cl); twoways(communicator, derived); derived->opDerived(); cout << "ok" << endl; cout << "testing oneway operations... " << flush; - void oneways(const Ice::CommunicatorPtr&, const Test::MyClassPrx&); + void oneways(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr&); oneways(communicator, cl); cout << "ok" << endl; cout << "testing twoway operations with AMI... " << flush; - void twowaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrx&); + void twowaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr&); twowaysAMI(communicator, cl); twowaysAMI(communicator, derived); cout << "ok" << endl; cout << "testing oneway operations with AMI... " << flush; - void onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrx&); + void onewaysAMI(const Ice::CommunicatorPtr&, const Test::MyClassPrxPtr&); onewaysAMI(communicator, cl); cout << "ok" << endl; cout << "testing batch oneway operations... " << flush; - void batchOneways(const Test::MyClassPrx&); + void batchOneways(const Test::MyClassPrxPtr&); batchOneways(cl); batchOneways(derived); cout << "ok" << endl; cout << "testing batch AMI oneway operations... " << flush; - void batchOnewaysAMI(const Test::MyClassPrx&); + void batchOnewaysAMI(const Test::MyClassPrxPtr&); batchOnewaysAMI(cl); batchOnewaysAMI(derived); cout << "ok" << endl; |