pelican/core/test/src/PipelineDriverTest.cpp
/**
 * @details
 * Set-up routine executed before each test method.
 */
@details
Set-up routine executed before each test method.
@details Set - up routine executed before each test method .
void PipelineDriverTest::setUp()
{
    _dataBlobFactory = new FactoryGeneric<DataBlob>(false);
    Config config;
    Config::TreeAddress address;
    _moduleFactory = new FactoryConfig<AbstractModule>(0, "", "");
    _clientFactory = new DataClientFactory(0, "", "", 0);
    _osmanager = new OutputStreamManager(0,Config::TreeAddress());
    _pipelineDriver = new PipelineDriver( _dataBlobFactory, _moduleFactory,
                                          _clientFactory, _osmanager, &config, address);
    _client = NULL; 
}
void PipelineDriverTest :: setUp ( ) { _dataBlobFactory = new FactoryGeneric < DataBlob > ( false ) ; Config config ; Config :: TreeAddress address ; _moduleFactory = new FactoryConfig < AbstractModule > ( 0 , " " , " " ) ; _clientFactory = new DataClientFactory ( 0 , " " , " " , 0 ) ; _osmanager = new OutputStreamManager ( 0 , Config :: TreeAddress ( ) ) ; _pipelineDriver = new PipelineDriver ( _dataBlobFactory , _moduleFactory , _clientFactory , _osmanager , & config , address ) ; _client = NULL ; }
@details
 Set-up routine executed before each test method.
@details Set - up routine executed before each test method .
// Create the QCoreApplication. //int argc = 1; //char *argv[] = {(char*)"pelican"}; //_coreApp = new QCoreApplication(argc, argv); // Create the factories. // Create the pipeline driver. // will be set if required