diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-07-08 13:47:30 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-07-08 13:47:30 +0000 |
commit | 99894938dbde9a0bb10fc1998d9863cae52b8977 (patch) | |
tree | 5b68e52e9a62792f11d8a4e2c844d394cd39f496 /cpp/test/IceGrid/update/AllTests.cpp | |
parent | Fixed Ice interoperability issue (diff) | |
download | ice-99894938dbde9a0bb10fc1998d9863cae52b8977.tar.bz2 ice-99894938dbde9a0bb10fc1998d9863cae52b8977.tar.xz ice-99894938dbde9a0bb10fc1998d9863cae52b8977.zip |
More adapter replication changes.
Diffstat (limited to 'cpp/test/IceGrid/update/AllTests.cpp')
-rw-r--r-- | cpp/test/IceGrid/update/AllTests.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/test/IceGrid/update/AllTests.cpp b/cpp/test/IceGrid/update/AllTests.cpp index e1c7b8030a3..0c561ca2373 100644 --- a/cpp/test/IceGrid/update/AllTests.cpp +++ b/cpp/test/IceGrid/update/AllTests.cpp @@ -48,9 +48,8 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter.id = "ServerAdapter"; adapter.registerProcess = true; ObjectDescriptor object; - object.proxy = communicator->stringToProxy("test@ServerAdapter"); + object.id = Ice::stringToIdentity("test"); object.type = "::Test::TestIntf"; - object.adapterId = "ServerAdapter"; adapter.objects.push_back(object); instance.descriptor->adapters.push_back(adapter); update.servers.push_back(instance); @@ -88,7 +87,7 @@ allTests(const Ice::CommunicatorPtr& communicator) test(false); } - update.servers[0].descriptor->adapters[0].objects[0].proxy = communicator->stringToProxy("test2@ServerAdapter"); + update.servers[0].descriptor->adapters[0].objects[0].id = Ice::stringToIdentity("test2"); try { admin->updateApplication(update); @@ -111,9 +110,8 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter.id = "${server}"; adapter.registerProcess = true; object = ObjectDescriptor(); - object.proxy = communicator->stringToProxy("${server}@" + adapter.id); + object.id = Ice::stringToIdentity("${server}"); object.type = "::Test::TestIntf"; - object.adapterId = adapter.id; adapter.objects.push_back(object); server->adapters.push_back(adapter); update = empty; @@ -322,7 +320,7 @@ allTests(const Ice::CommunicatorPtr& communicator) adapter = AdapterDescriptor(); adapter.id = "ServerX"; object = ObjectDescriptor(); - object.proxy = communicator->stringToProxy("test"); + object.id = Ice::stringToIdentity("test"); adapter.objects.push_back(object); instance.descriptor->adapters.push_back(adapter); update = empty; |