pumptest.cxx (3716f815) | pumptest.cxx (74cbd1f1) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 363 unchanged lines hidden (view full) --- 372 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); 373 374 t.m_rControl->terminate(); 375 376 mywait(); 377 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); 378 ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" ); 379 // terminte leads to an error, that is no surprise, in fact | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 363 unchanged lines hidden (view full) --- 372 ERROR_ASSERT( ! t.m_pTestListener->m_bClosed, "unexpected clase" ); 373 374 t.m_rControl->terminate(); 375 376 mywait(); 377 ERROR_ASSERT( t.m_pTestListener->m_bStarted , "should have been started already" ); 378 ERROR_ASSERT( t.m_pTestListener->m_bTerminated , "should be terminiated already" ); 379 // terminte leads to an error, that is no surprise, in fact |
380 // one can't tell wether the error occurs because of the terminate | 380 // one can't tell whether the error occurs because of the terminate |
381 // call or for some other reason ! 382// ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); 383 ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" ); 384} 385 386void OPumpTest::testFunction( const Reference< XInterface > &r ) 387{ 388 TestCase t( m_rSmgr, r ); --- 57 unchanged lines hidden --- | 381 // call or for some other reason ! 382// ERROR_ASSERT( ! t.m_pTestListener->m_bError, "unexpected error" ); 383 ERROR_ASSERT( t.m_pTestListener->m_bClosed, "should be closed already" ); 384} 385 386void OPumpTest::testFunction( const Reference< XInterface > &r ) 387{ 388 TestCase t( m_rSmgr, r ); --- 57 unchanged lines hidden --- |