diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-04-03 14:41:54 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-04-03 14:41:54 -0230 |
commit | d4edcb664ce60c2e4395d534e6759dd8475c5089 (patch) | |
tree | f7322eaeb6472f6506cf85cc4aa6121c19a8d84f /cpp/test/IceGrid/allocation/Server.cpp | |
parent | Fixed compile error (diff) | |
download | ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.tar.bz2 ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.tar.xz ice-d4edcb664ce60c2e4395d534e6759dd8475c5089.zip |
Bug 3465 - Remove _adapter members from test where unecessary
Diffstat (limited to 'cpp/test/IceGrid/allocation/Server.cpp')
-rw-r--r-- | cpp/test/IceGrid/allocation/Server.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/test/IceGrid/allocation/Server.cpp b/cpp/test/IceGrid/allocation/Server.cpp index d3328642b21..32b98d398fa 100644 --- a/cpp/test/IceGrid/allocation/Server.cpp +++ b/cpp/test/IceGrid/allocation/Server.cpp @@ -32,16 +32,16 @@ Server::run(int argc, char* argv[]) string name = properties->getProperty("Ice.ProgramName"); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("Server"); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("nonallocatable")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable1")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable2")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable3")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable4")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable11")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable21")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable31")); - adapter->add(new TestI(adapter, properties), communicator()->stringToIdentity("allocatable41")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("nonallocatable")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable1")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable2")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable3")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable4")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable11")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable21")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable31")); + adapter->add(new TestI(properties), communicator()->stringToIdentity("allocatable41")); shutdownOnInterrupt(); try |