Lines Matching refs:ERROR_ASSERT

125 	ERROR_ASSERT( info.is() , "XServiceInfo not supported !" );  in testInvariant()
128 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
129 ERROR_ASSERT( ! info->supportsService( L"bla bluzb" ) , "XServiceInfo test failed" ); in testInvariant()
214 ERROR_ASSERT( rMarkable.is() , "no MarkableStream implemented" ); in testSimple()
229 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
241 ERROR_ASSERT( ! strcmp( (char *) seqWrite.getArray() , (char * )seqRead.getArray() ) , in testSimple()
252 ERROR_ASSERT( 0 == rInput->available() , "bytes available though mark is holded" ); in testSimple()
254 ERROR_ASSERT( nMax*seqWrite.getLen() == rMarkable->offsetToMark( nMark ) , in testSimple()
258ERROR_ASSERT( nMax*seqWrite.getLen() == rInput->available(),"bytes are not available though mark h… in testSimple()
261 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 == 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()
488 ERROR_ASSERT( info.is() , "XServiceInfo not supported !" ); in testInvariant()
491 ERROR_ASSERT( info->supportsService( TestName ), "XServiceInfo test failed" ); in testInvariant()
492 ERROR_ASSERT( ! info->supportsService( L"bla bluzb" ) , "XServiceInfo test failed" ); in testInvariant()
590 ERROR_ASSERT( 256 == rInput->available() , "basic read/write failure" ); in testSimple()
593 ERROR_ASSERT( 9 == seqRead.getArray()[9] , "basic read/write failure" ); in testSimple()
598 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
599 ERROR_ASSERT( 50 == rMarkable->offsetToMark( nMark ) , "marking error" ); in testSimple()
602 ERROR_ASSERT( 256-10 == rInput->available() , "marking error" ); in testSimple()
605 ERROR_ASSERT( 10 == seqRead.getArray()[0] , "marking error" ); in testSimple()
614 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); in testSimple()
621 ERROR_ASSERT( 20 == seqRead.getArray()[0] , "Inbetween mark failed!\n" ); in testSimple()
627 ERROR_ASSERT( 256-10-50 == rInput->available() , "marking error" ); in testSimple()
630ERROR_ASSERT( 100 == rInput->readSomeBytes( seqRead , 100 ) , "wrong results using readSomeBytes" … in testSimple()
631 ERROR_ASSERT( 96 == rInput->readSomeBytes( seqRead , 1000) , "wrong results using readSomeBytes" ); in testSimple()