diff options
author | Mark Spruiell <mes@zeroc.com> | 2011-05-04 17:59:29 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2011-05-04 17:59:29 -0700 |
commit | c8d03f9eb29f4a10d77297de8afc912e5456805c (patch) | |
tree | 61e7678c10646c45e8d474f3a48ef665c3344fbf /cpp/test/Ice/operations/TestAMDI.cpp | |
parent | bug 4976 - inconsistent operation mode for pseudo ops (diff) | |
download | ice-c8d03f9eb29f4a10d77297de8afc912e5456805c.tar.bz2 ice-c8d03f9eb29f4a10d77297de8afc912e5456805c.tar.xz ice-c8d03f9eb29f4a10d77297de8afc912e5456805c.zip |
bug 4976 - add test for Normal mode
Diffstat (limited to 'cpp/test/Ice/operations/TestAMDI.cpp')
-rwxr-xr-x | cpp/test/Ice/operations/TestAMDI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/TestAMDI.cpp b/cpp/test/Ice/operations/TestAMDI.cpp index ae0ee6ab716..4f7e4312c5a 100755 --- a/cpp/test/Ice/operations/TestAMDI.cpp +++ b/cpp/test/Ice/operations/TestAMDI.cpp @@ -84,8 +84,10 @@ MyDerivedClassI::delay_async(const Test::AMD_MyClass_delayPtr& cb, Ice::Int ms, } void -MyDerivedClassI::opVoid_async(const Test::AMD_MyClass_opVoidPtr& cb, const Ice::Current&) +MyDerivedClassI::opVoid_async(const Test::AMD_MyClass_opVoidPtr& cb, const Ice::Current& current) { + test(current.mode == Ice::Normal); + IceUtil::Mutex::Lock sync(_opVoidMutex); if(_opVoidThread) { |