diff options
author | Mark Spruiell <mes@zeroc.com> | 2016-01-19 16:46:11 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2016-01-19 16:46:11 -0800 |
commit | d5dd7c866e9e1dc59dc7e127eb39f641530bf823 (patch) | |
tree | 61771e4f322a7138b643d5325a6d10acea30fb84 /cpp/test/Ice/custom/AllTests.cpp | |
parent | Deprecate ice_name and add ice_id (diff) | |
download | ice-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.cpp | 10 |
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; |