Lines Matching refs:ERROR_ASSERT

157 	ERROR_ASSERT( info.is() , "XServiceInfo not supported !" );  in testInvariant()
160 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
161 ERROR_ASSERT( ! info->supportsService( in testInvariant()
252 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testSimple()
253 ERROR_ASSERT( output.is() , "queryInterface onXOutputStream failed" ); in testSimple()
263 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
265 ERROR_ASSERT( 0 == input->available() , in testSimple()
270 ERROR_ASSERT( 0 == input->available() , "wrong available after skip" ); in testSimple()
274 ERROR_ASSERT( 5 == input->available() , "wrong available after skip/write " ); in testSimple()
277 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testSimple()
284 ERROR_ASSERT( seqWrite.getLength() == input->available(), "wrong available() after write" ); in testSimple()
286 ERROR_ASSERT( 10 == input->readSomeBytes( seqRead , 10 ) , "maximal number of bytes ignored" ); in testSimple()
287 ERROR_ASSERT( seqWrite.getLength() -10 == input->readSomeBytes( seqRead , 100 ) , in testSimple()
294 ERROR_ASSERT( 0 , "writing on a closed stream does not cause an exception" ); in testSimple()
300 ERROR_ASSERT(! input->readBytes( seqRead , 1 ), "eof not found !" ); in testSimple()
306 ERROR_ASSERT( 0 , "reading from a closed stream does not cause an exception" ); in testSimple()
314 ERROR_ASSERT( 0 , "calling available from a closed stream should thrown an io exception" ); in testSimple()
323 ERROR_ASSERT( 0 , "calling available from a closed stream should thrown an io exception" ); in testSimple()
338 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testBufferResizing()
339 ERROR_ASSERT( output.is() , "queryInterface on XOutputStream failed" ); in testBufferResizing()
355 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testBufferResizing()
361 ERROR_ASSERT( ! input->readBytes( seqRead , 1 ) , "eof not reached !" ); in testBufferResizing()
376 ERROR_ASSERT( input.is() , "queryInterface on XInputStream failed" ); in testMultithreading()
377 ERROR_ASSERT( output.is() , "queryInterface on XOutputStream failed" ); in testMultithreading()
384 ERROR_ASSERT( p , "couldn't create thread for testing !\n" ); in testMultithreading()
394 ERROR_ASSERT( ! strcmp( (char*) seqRead.getArray() , in testMultithreading()
399 ERROR_ASSERT( i == iMax , "less elements read than written !"); in testMultithreading()