src/modules/service/testservice.cpp
void TestService::loadModules()
{
    // remove prev. results
    base::Utils::unlink(srv::test::RESULTDIR);
    // create the empty folder for future tests
    base::Utils::mkdir(srv::test::RESULTDIR);

    // to be able use RPC for different objects
    loadAdapter();
    sleep(3);

    CPPUNIT_ASSERT(m_modfactory);
    m_modfactory->load(MODID);
}
// Loads all necessary modules at setUp()
Loads all necessary modules at setUp()
Loads all necessary modules at setUp ()
void TestService::loadModules()
{
    base::Utils::unlink(srv::test::RESULTDIR);
    base::Utils::mkdir(srv::test::RESULTDIR);
    loadAdapter();
    sleep(3);
    CPPUNIT_ASSERT(m_modfactory);
    m_modfactory->load(MODID);
}
void TestService :: loadModules ( ) { base :: Utils :: unlink ( srv :: test :: RESULTDIR ) ; base :: Utils :: mkdir ( srv :: test :: RESULTDIR ) ; loadAdapter ( ) ; sleep ( 3 ) ; CPPUNIT_ASSERT ( m_modfactory ) ; m_modfactory -> load ( MODID ) ; }
Loads all necessary modules at setUp()
Loads all necessary modules at setUp ()
// remove prev. results // create the empty folder for future tests // to be able use RPC for different objects