ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Classes | Namespaces | Functions
testDpmDaqController.cpp File Reference

Unit test for daq::DpmDaqController More...

#include <gtest/gtest.h>
#include <daq/daqController.hpp>
#include <mal/MalException.hpp>
#include "mock/dpmClientMock.hpp"
#include "statusObserver.hpp"
#include "utils.hpp"

Go to the source code of this file.

Classes

class  daq::TestDpmDaqController
 Fixture for daq::DaqController life cycle tests. More...
 

Namespaces

 daq
 

Functions

 daq::TEST_F (TestDpmDaqController, StatusUpdateInNotScheduledSucceeds)
 
 daq::TEST_F (TestDpmDaqController, StatusOverrideFromOcmAbortedToDpmMergingSucceeds)
 Test that DPM can override status of OCM as it is the authoratitive source of DAQ status. More...
 
 daq::TEST_F (TestDpmDaqController, StartAsyncThrows)
 
 daq::TEST_F (TestDpmDaqController, StopAsyncThrows)
 
 daq::TEST_F (TestDpmDaqController, UpdateKeywordsThrows)
 
 daq::TEST_F (TestDpmDaqController, ScheduleMergeAsyncSucceedsIfDpmSucceeds)
 
 daq::TEST_F (TestDpmDaqController, ScheduleMergeAsyncSucceedsIfDpmSucceedsWithStatusSignalReceivedBeforeReply)
 
 daq::TEST_F (TestDpmDaqController, ScheduleMergeAsyncFailsIfDpmFails)
 
 daq::TEST_F (TestDpmDaqController, ScheduleMergeAsyncFailsIfTimeout)
 
 daq::TEST_F (TestDpmDaqController, ScheduleMergeAsyncFailsIfAlreadyScheduled)
 
 daq::TEST_F (TestDpmDaqController, AbortAsyncAbortImmediatelyIfNoPendingRequestsExist)
 
 daq::TEST_F (TestDpmDaqController, AbortAsyncWithStrictPolicyAbortsIfDpmAborts)
 
 daq::TEST_F (TestDpmDaqController, AbortAsyncWithStrictPolicyDoesNothingIfDpmAbortFails)
 

Detailed Description

Unit test for daq::DpmDaqController

Definition in file testDpmDaqController.cpp.