Lines Matching refs:t
330 TestCase t( m_rSmgr, r ); in testClose() local
332 ERROR_ASSERT( ! t.m_pTestListener->m_bStarted , "started too early" ); in testClose()
333 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" ); in testClose()
334 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testClose()
335 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); in testClose()
337 t.m_rControl->start(); in testClose()
340 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); in testClose()
341 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" ); in testClose()
342 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testClose()
343 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); in testClose()
346 t.m_rControl->addListener( rListener ); in testClose()
347 t.m_rControl->removeListener( rListener ); in testClose()
349 t.m_rOutSource->closeOutput(); in testClose()
351 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); in testClose()
352 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminiated already" ); in testClose()
353 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testClose()
354 ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" ); in testClose()
359 TestCase t( m_rSmgr, r ); in testTerminate() local
361 ERROR_ASSERT( ! t.m_pTestListener->m_bStarted , "started too early" ); in testTerminate()
362 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" ); in testTerminate()
363 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testTerminate()
364 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); in testTerminate()
366 t.m_rControl->start(); in testTerminate()
369 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); in testTerminate()
370 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "terminiation unexpected" ); in testTerminate()
371 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testTerminate()
372 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); in testTerminate()
374 t.m_rControl->terminate(); in testTerminate()
377 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); in testTerminate()
378 ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" ); in testTerminate()
383 ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" ); in testTerminate()
388 TestCase t( m_rSmgr, r ); in testFunction() local
390 t.m_rControl->start(); in testFunction()
392 t.m_rOutSource->writeBytes( Sequence< sal_Int8 > ( 5 ) ); in testFunction()
395 …ERROR_ASSERT( 5 == t.m_rInSink->readBytes( dummy , 5 ), "couldn't read the expected number of byte… in testFunction()
397 t.m_rOutSource->closeOutput(); in testFunction()
400 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); in testFunction()
401 ERROR_ASSERT( ! t.m_pTestListener->m_bTerminated , "should be terminiated already" ); in testFunction()
402 ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); in testFunction()
403 ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" ); in testFunction()