INTEGRATION: CWS os2port01 (1.9.28); FILE MERGED

2007/07/17 11:39:00 obr 1.9.28.2: RESYNC: (1.9-1.10); FILE MERGED
2006/12/28 15:00:39 ydario 1.9.28.1: OS/2 initial import.
This commit is contained in:
Vladimir Glazounov 2007-09-20 13:41:34 +00:00
parent 678e23d832
commit f3d2b8a43f

View File

@ -4,9 +4,9 @@
* *
* $RCSfile: datatest.cxx,v $ * $RCSfile: datatest.cxx,v $
* *
* $Revision: 1.10 $ * $Revision: 1.11 $
* *
* last change: $Author: obo $ $Date: 2006-09-16 23:45:12 $ * last change: $Author: vg $ $Date: 2007-09-20 14:41:34 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@ -301,8 +301,8 @@ void ODataStreamTest::testSimple( const Reference < XDataInputStream > &rInput
rOutput->writeDouble( (double) 42.42 ); rOutput->writeDouble( (double) 42.42 );
ERROR_ASSERT( rInput->readDouble() == 42.42 , "double read/write mismatch" ); ERROR_ASSERT( rInput->readDouble() == 42.42 , "double read/write mismatch" );
rOutput->writeHyper( 0x123456789abcdef ); rOutput->writeHyper( 0x123456789abcdefLL );
ERROR_ASSERT( rInput->readHyper() == 0x123456789abcdef , "int64 read/write mismatch" ); ERROR_ASSERT( rInput->readHyper() == 0x123456789abcdefLL , "int64 read/write mismatch" );
rOutput->writeUTF( OUString::createFromAscii("Live long and prosper !") ); rOutput->writeUTF( OUString::createFromAscii("Live long and prosper !") );
ERROR_ASSERT( rInput->readUTF() == OUString::createFromAscii("Live long and prosper !") , ERROR_ASSERT( rInput->readUTF() == OUString::createFromAscii("Live long and prosper !") ,