summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/evictor/Client.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-12-01 15:31:46 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-12-01 15:31:46 -0330
commit71c27da848309c9e785e34760150d2bd30c5e6cc (patch)
tree2d1744eda8e0bc53f4c443315920aca09c663ad5 /cpp/test/Freeze/evictor/Client.cpp
parentfixing compilation error in Java background test (diff)
downloadice-71c27da848309c9e785e34760150d2bd30c5e6cc.tar.bz2
ice-71c27da848309c9e785e34760150d2bd30c5e6cc.tar.xz
ice-71c27da848309c9e785e34760150d2bd30c5e6cc.zip
Converted rest of tests to use new AMI mapping
Diffstat (limited to 'cpp/test/Freeze/evictor/Client.cpp')
-rw-r--r--cpp/test/Freeze/evictor/Client.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/cpp/test/Freeze/evictor/Client.cpp b/cpp/test/Freeze/evictor/Client.cpp
index 814b40e85ba..36f755f2ee4 100644
--- a/cpp/test/Freeze/evictor/Client.cpp
+++ b/cpp/test/Freeze/evictor/Client.cpp
@@ -16,13 +16,6 @@
using namespace std;
using namespace IceUtil;
-class AMI_Servant_setValueAsyncI : public Test::AMI_Servant_setValueAsync
-{
-public:
- void ice_response() {}
- void ice_exception(const Ice::Exception&) {}
-};
-
class ReadThread : public Thread
{
public:
@@ -565,13 +558,12 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, bool trans
//
// Test saving while busy
//
- Test::AMI_Servant_setValueAsyncPtr setCB = new AMI_Servant_setValueAsyncI;
for(i = 0; i < size; i++)
{
//
// Start a mutating operation so that the object is not idle.
//
- servants[i]->setValueAsync_async(setCB, i + 300);
+ servants[i]->begin_setValueAsync(i + 300);
test(servants[i]->getValue() == i + 100);
//