diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 14:54:10 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-08 14:54:10 +0200 |
commit | 8696670b40a7c46fad9e0a0ad05e92e0d6437e09 (patch) | |
tree | fc7ffcca2d61622857dbd56de0fddc621da30412 /objective-c | |
parent | Fixed ICE-7994 - invocation metrics issue with AMI batch oneway requests (diff) | |
download | ice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.tar.bz2 ice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.tar.xz ice-8696670b40a7c46fad9e0a0ad05e92e0d6437e09.zip |
Added JS & Objective-C tests for AMI batch invocations
Diffstat (limited to 'objective-c')
-rw-r--r-- | objective-c/test/Ice/ami/AllTests.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/objective-c/test/Ice/ami/AllTests.m b/objective-c/test/Ice/ami/AllTests.m index d097ce71f70..ebecf494d47 100644 --- a/objective-c/test/Ice/ami/AllTests.m +++ b/objective-c/test/Ice/ami/AllTests.m @@ -547,7 +547,9 @@ amiAllTests(id<ICECommunicator> communicator, BOOL collocated) { test([p opBatchCount] == 0); id<TestAMITestIntfPrx> b1 = [p ice_batchOneway]; - [b1 opBatch]; + id<ICEAsyncResult> br = [b1 begin_opBatch]; + test([br isCompleted]); + test(![br isSent]); [b1 opBatch]; TestAMICallback* cb = [TestAMICallback create]; id<ICEAsyncResult> r = [b1 begin_ice_flushBatchRequests:^(ICEException* ex) { test(NO); } |