ifw-daq  3.0.1
IFW Data Acquisition modules
Classes | Namespaces | Functions
testDaqController.cpp File Reference

Unit tests for daq::dpm::DaqControllerImpl. More...

#include <daq/dpm/scheduler.hpp>
#include <fmt/format.h>
#include <log4cplus/loggingmacros.h>
#include <utility>
#include "mock/mockAsyncProcess.hpp"
#include "mock/mockScheduler.hpp"
#include "mock/mockWorkspace.hpp"
#include <gmock/gmock.h>
#include <gtest/gtest.h>

Go to the source code of this file.

Classes

struct  daq::dpm::FakeRsyncFactory
 
struct  daq::dpm::FakeProcFactory
 
class  daq::dpm::TestDaqControllerBase
 
class  daq::dpm::TestDaqControllerInit
 
class  daq::dpm::TestDaqController
 

Namespaces

 daq
 
 daq::dpm
 

Functions

 daq::dpm::TEST_F (TestDaqController, ScheduledTransitionsToCollecting)
 
 daq::dpm::TEST_F (TestDaqController, CollectingWithoutFilesTransitionsToMerging)
 
 daq::dpm::TEST_F (TestDaqController, CollectingStartsTransfersAndWhenCompletedTransitionsToMerging)
 
 daq::dpm::TEST_F (TestDaqController, CollectingFailsDoesNotTransition)
 
 daq::dpm::TEST_F (TestDaqController, RecoverAutomaticallyFromCollectingIfFilesExist)
 [recovery] If transfer previously failed and then stopped this should be automatically recoverable if DAQ is started again and requested files are available on FS. More...
 
 daq::dpm::TEST_F (TestDaqController, MergingSuccessful)
 
 daq::dpm::TEST_F (TestDaqController, RecoverAutomaticallyFromMergeFailureIfResultExists)
 [recovery] More...
 
 daq::dpm::TEST_F (TestDaqController, NoopReleasingCompletes)
 
 daq::dpm::TEST_F (TestDaqController, ReleasingToOlasIsSuccessfulWithHardLink)
 
 daq::dpm::TEST_F (TestDaqController, ReleasingToOlasIsSuccessfulWithSymlink)
 
 daq::dpm::TEST_F (TestDaqController, ReleasingToOlasHonorsOptionAllowSymlink)
 
 daq::dpm::TEST_F (TestDaqController, ReleasingToOlasFailingHardLinkRevertsToRsync)
 
 daq::dpm::TEST_F (TestDaqController, ReleasingToOlasCompletesEvenIfTransferFails)
 

Detailed Description

Unit tests for daq::dpm::DaqControllerImpl.

Definition in file testDaqController.cpp.