diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-02-10 18:58:53 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-02-10 18:58:53 +0000 |
commit | 983e8c7da953d27ed8524eb4865c3caa8f981f4e (patch) | |
tree | a28d38d71787834f9c3988321ffa05cedb365b1b /cppe/test/IceE/operations/TestI.cpp | |
parent | Fixed Double marshalling for ARM/LINUX (diff) | |
download | ice-983e8c7da953d27ed8524eb4865c3caa8f981f4e.tar.bz2 ice-983e8c7da953d27ed8524eb4865c3caa8f981f4e.tar.xz ice-983e8c7da953d27ed8524eb4865c3caa8f981f4e.zip |
Added test to operations test to check double marshalling
Diffstat (limited to 'cppe/test/IceE/operations/TestI.cpp')
-rw-r--r-- | cppe/test/IceE/operations/TestI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cppe/test/IceE/operations/TestI.cpp b/cppe/test/IceE/operations/TestI.cpp index dbd5615edf0..98e9d26da29 100644 --- a/cppe/test/IceE/operations/TestI.cpp +++ b/cppe/test/IceE/operations/TestI.cpp @@ -359,6 +359,17 @@ MyDerivedClassI::opContext(const Ice::Current& c) return c.ctx; } +void +MyDerivedClassI::opDoubleMarshaling(Ice::Double p1, const Test::DoubleS& p2, const Ice::Current&) +{ + Ice::Double d = 1278312346.0 / 13.0; + test(p1 == d); + for(unsigned int i = 0; i < p2.size(); ++i) + { + test(p2[i] == d); + } +} + void MyDerivedClassI::opDerived(const Ice::Current&) { |