diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2000-12-08 07:24:40 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2000-12-08 07:24:40 +0000 |
commit | d8f189f40f992f4236d4790d8b64f14934ab6846 (patch) | |
tree | dfe501f8d25fd242f2052bcd9807e4becacae483 /io/test | |
parent | 3e70e0c9a96fdc7f75e5e1ee0965267f641a3e3b (diff) |
#81032# hyper are now also read/written. Note that e.g. scripts using hypers won't be able to read/write them in older versions.
Diffstat (limited to 'io/test')
-rw-r--r-- | io/test/stm/datatest.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx index 1d627c69e320..0aed90948fba 100644 --- a/io/test/stm/datatest.cxx +++ b/io/test/stm/datatest.cxx @@ -2,9 +2,9 @@ * * $RCSfile: datatest.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:24:19 $ + * last change: $Author: jbu $ $Date: 2000-12-08 08:23:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -320,6 +320,9 @@ void ODataStreamTest::testSimple( const Reference < XDataInputStream > &rInput rOutput->writeDouble( (double) 42.42 ); ERROR_ASSERT( rInput->readDouble() == 42.42 , "double read/write mismatch" ); + rOutput->writeHyper( 0x123456789abcdef ); + ERROR_ASSERT( rInput->readHyper() == 0x123456789abcdef , "int64 read/write mismatch" ); + rOutput->writeUTF( L"Live long and prosper !" ); ERROR_ASSERT( rInput->readUTF() == L"Live long and prosper !" , "UTF read/write mismatch" ); |