summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/custom/AllTests.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
committerMark Spruiell <mes@zeroc.com>2016-01-19 16:46:11 -0800
commitd5dd7c866e9e1dc59dc7e127eb39f641530bf823 (patch)
tree61771e4f322a7138b643d5325a6d10acea30fb84 /cpp/test/Ice/custom/AllTests.cpp
parentDeprecate ice_name and add ice_id (diff)
downloadice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.bz2
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.tar.xz
ice-d5dd7c866e9e1dc59dc7e127eb39f641530bf823.zip
ICE-6861 - removing public stream API
Diffstat (limited to 'cpp/test/Ice/custom/AllTests.cpp')
-rw-r--r--cpp/test/Ice/custom/AllTests.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/test/Ice/custom/AllTests.cpp b/cpp/test/Ice/custom/AllTests.cpp
index 42937e63c50..ec0d7c67d4b 100644
--- a/cpp/test/Ice/custom/AllTests.cpp
+++ b/cpp/test/Ice/custom/AllTests.cpp
@@ -1186,14 +1186,14 @@ allTests(const Ice::CommunicatorPtr& communicator)
Test::BufferStruct rs = t->opBufferStruct(bs);
test(rs == bs);
- Ice::OutputStreamPtr os = Ice::createOutputStream(communicator);
- os->write(rs);
+ Ice::OutputStream os(communicator);
+ os.write(rs);
Ice::ByteSeq bytes;
- os->finished(bytes);
+ os.finished(bytes);
- Ice::InputStreamPtr is = Ice::wrapInputStream(communicator, bytes);
+ Ice::InputStream is(communicator, os.getEncoding(), bytes);
Test::BufferStruct rs2;
- is->read(rs2);
+ is.read(rs2);
test(rs == rs2);
}
cout << "ok" << endl;