Lines Matching refs:ERROR_ASSERT
114 ERROR_ASSERT( info.is() , "XServiceInfo not supported !" ); in testInvariant()
117 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
118 ERROR_ASSERT( ! info->supportsService( in testInvariant()
213 ERROR_ASSERT( rMarkable.is() , "no MarkableStream implemented" ); in testSimple()
228 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
240 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
251 ERROR_ASSERT( 0 == rInput->available() , "bytes available though mark is holded" ); in testSimple()
253 ERROR_ASSERT( nMax*seqWrite.getLength() == rMarkable->offsetToMark( nMark ) , in testSimple()
257 …ERROR_ASSERT( nMax*seqWrite.getLength() == rInput->available(),"bytes are not available though mar… in testSimple()
260 ERROR_ASSERT( 0 == rInput->available(), "skip bytes failure" ); in testSimple()
265 ERROR_ASSERT( 0 , "jump to non existing mark possible !" ); in testSimple()
273 ERROR_ASSERT( 0 == rInput->available(), "stream isn't clean" ); in testSimple()
302 ERROR_ASSERT( 256 == rInput->available(), "in between mark failure" ); in testSimple()
306 ERROR_ASSERT( i == ((sal_uInt8*)(aByte.getArray()))[i] , "in between mark failure" ); in testSimple()
324 ERROR_ASSERT( rMarkable->offsetToMark( an[i] ) == 4-i , "offsetToMark failure" ); in testSimple()
328 ERROR_ASSERT( rMarkable->offsetToMark( an[3] ) == -2 , "offsetToMark failure" ); in testSimple()
331 ERROR_ASSERT( rMarkable->offsetToMark( an[0] ) == 4 , "offsetToMark failure" ); in testSimple()
344 ERROR_ASSERT( rInput->available() == 1 , "wrong number of bytes flushed" ); in testSimple()
348 ERROR_ASSERT( rInput->available() == 4 , "wrong number of bytes flushed" ); in testSimple()
352 ERROR_ASSERT( 3 == seqRead.getArray()[0] , "rewrite didn't work" ); in testSimple()
353 ERROR_ASSERT( 2 == seqRead.getArray()[1] , "rewrite didn't work" ); in testSimple()
354 ERROR_ASSERT( 1 == seqRead.getArray()[2] , "rewrite didn't work" ); in testSimple()
355 ERROR_ASSERT( 0 == seqRead.getArray()[3] , "rewrite didn't work" ); in testSimple()
477 ERROR_ASSERT( info.is() , "XServiceInfo not supported !" ); in testInvariant()
480 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
481 ERROR_ASSERT( in testInvariant()
589 ERROR_ASSERT( 256 == rInput->available() , "basic read/write failure" ); in testSimple()
592 ERROR_ASSERT( 9 == seqRead.getArray()[9] , "basic read/write failure" ); in testSimple()
597 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
598 ERROR_ASSERT( 50 == rMarkable->offsetToMark( nMark ) , "marking error" ); in testSimple()
601 ERROR_ASSERT( 256-10 == rInput->available() , "marking error" ); in testSimple()
604 ERROR_ASSERT( 10 == seqRead.getArray()[0] , "marking error" ); in testSimple()
613 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); in testSimple()
620 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); in testSimple()
626 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
629 …ERROR_ASSERT( 100 == rInput->readSomeBytes( seqRead , 100 ) , "wrong results using readSomeBytes" … in testSimple()
630 ERROR_ASSERT( 96 == rInput->readSomeBytes( seqRead , 1000) , "wrong results using readSomeBytes" ); in testSimple()