diff options
Diffstat (limited to 'cpp/test/Ice/stream/Client.cpp')
-rw-r--r-- | cpp/test/Ice/stream/Client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/test/Ice/stream/Client.cpp b/cpp/test/Ice/stream/Client.cpp index f8c72f07ebe..bc3bb6f95f9 100644 --- a/cpp/test/Ice/stream/Client.cpp +++ b/cpp/test/Ice/stream/Client.cpp @@ -175,6 +175,9 @@ run(int, char**, const Ice::CommunicatorPtr& communicator) out->write(true); out->endEncapsulation(); out->finished(data); + pair<const Ice::Byte*, const Ice::Byte*> d = out->finished(); + test(d.second - d.first == data.size()); + test(vector<Ice::Byte>(d.first, d.second) == data); out = 0; in = Ice::createInputStream(communicator, data); |