src/app/dvb/streamer/testplugin.cpp
void TestPlugin::tearDown()
{
    // clear resources
    CPPUNIT_ASSERT(test::Factory::instance());
    test::Factory::instance()->reset();
    test::Factory::instance()->getResources()->initDevs();
    // stop all activity left
    m_dvbscheduler.stop();

    // clear channels
    m_stations.clear();
}
// Clean up after the test run.
Clean up after the test run.
Clean up after the test run .
void TestPlugin::tearDown()
{
    CPPUNIT_ASSERT(test::Factory::instance());
    test::Factory::instance()->reset();
    test::Factory::instance()->getResources()->initDevs();
    m_dvbscheduler.stop();
    m_stations.clear();
}
void TestPlugin :: tearDown ( ) { CPPUNIT_ASSERT ( test :: Factory :: instance ( ) ) ; test :: Factory :: instance ( ) -> reset ( ) ; test :: Factory :: instance ( ) -> getResources ( ) -> initDevs ( ) ; m_dvbscheduler . stop ( ) ; m_stations . clear ( ) ; }
Clean up after the test run.
Clean up after the test run .
// clear resources // stop all activity left // clear channels