Lines Matching refs:ERROR_ASSERT
167 ERROR_ASSERT( info.is() , "XServiceInfo not supported !" ); in testInvariant()
170 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
171 ERROR_ASSERT( ! info->supportsService( L"bla bluzb" ) , "XServiceInfo test failed" ); in testInvariant()
255 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testSimple()
256 ERROR_ASSERT( output.is() , "queryInterface onXOutputStream failed" ); in testSimple()
266 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
268 ERROR_ASSERT( 0 == input->available() , in testSimple()
273 ERROR_ASSERT( 0 == input->available() , "wrong available after skip" ); in testSimple()
277 ERROR_ASSERT( 5 == input->available() , "wrong available after skip/write " ); in testSimple()
280 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testSimple()
287 ERROR_ASSERT( seqWrite.getLen() == input->available(), "wrong available() after write" ); in testSimple()
289 ERROR_ASSERT( 10 == input->readSomeBytes( seqRead , 10 ) , "maximal number of bytes ignored" ); in testSimple()
290 ERROR_ASSERT( seqWrite.getLen() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()
297 ERROR_ASSERT( 0 , "writing on a closed stream does not cause an exception" ); in testSimple()
303 ERROR_ASSERT(! input->readBytes( seqRead , 1 ), "eof not found !" ); in testSimple()
308 ERROR_ASSERT( 0 , "reading from a closed stream does not cause an exception" ); in testSimple()
323 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testBufferResizing()
324 ERROR_ASSERT( output.is() , "queryInterface on XOutputStream failed" ); in testBufferResizing()
339 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testBufferResizing()
345 ERROR_ASSERT( ! input->readBytes( seqRead , 1 ) , "eof not reached !" ); in testBufferResizing()
360 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testMultithreading()
361 ERROR_ASSERT( output.is() , "queryInterface on XOutputStream failed" ); in testMultithreading()
368 ERROR_ASSERT( p , "couldn't create thread for testing !\n" ); in testMultithreading()
378 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testMultithreading()
383 ERROR_ASSERT( i == iMax , "less elements read than written !"); in testMultithreading()