This fixture contains convenient methods to manipulate pulse generator basda devices.
More...
|
| BasdaDeviceFixture () |
|
void | createNewPropertyTree () |
|
void | fillPropertyTreeForNumberOfChannels (const int numberOfChannels) |
|
void | createNewBasdaDevice () |
|
void | openBasdaDevice () |
|
Nice::Completion | exec () |
|
void | givenThatHardwareAlwaysFails () |
|
void | givenThatHardwareSucceeds () |
|
void | givenThatPulseGeneratorReturnsAsChannelOutputMode (const OutputMode &m) |
|
void | givenThatPulseGeneratorReturnsAsClockPeriodInSeconds (double result) |
|
void | givenThatPulseGeneratorReturnsAsExternalTriggerStatus (bool result) |
|
void | givenThatPulseGeneratorReturnsAsInternalOutputMode (const OutputMode &mode) |
|
void | givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle (unsigned numberOfPulses) |
|
void | givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus (bool result) |
|
void | givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds (const OutputChannel &channel, double pulseWidth) |
|
void | givenThatPulseGeneratorReturnsAsPulsePolarity (const PulsePolarity &polarity) |
|
void | givenThatPulseGeneratorReturnsAsPulseDelayInSeconds (const OutputChannel &c, double resultInSeconds) |
|
template<class T > |
void | writeProperty (const string &propertyName, T value) |
|
template<class T > |
void | whenWritingProperty (const string &propertyName, T value) |
|
template<class T > |
void | writeSetValueProperty (const string &propertyName, T setValue) |
|
template<class T > |
void | whenWritingSetValue (const string &propertyName, T setValue) |
|
unsigned | times (unsigned numberOfInvocations) |
|
template<class T > |
void | verifyProperty (T expected, const string &propertyName) |
|
template<class T > |
void | verifyCurrentValueProperty (T expected, const string &propertyName) |
|
template<class T > |
void | verifyAttribute (T expected, const string &propertyName, const string &attributeName) |
|
void | verifyThatLatestHardwareConnectionEndpointIs (const string &hostname, unsigned portNr) |
|
void | verifyThatNumberOfNewHardwareConnectionsIs (unsigned expected) |
|
void | verifyThatPulseGeneratorHasDisabledExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasDisabledOutputChannel (OutputChannel channel, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasEnabledExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasEnabledOutputChannel (const OutputChannel &channel, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetClockPeriod (unsigned expected) |
|
void | verifyThatPulseGeneratorHasSetClockPeriodTo (double expected) |
|
void | verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo (const OutputChannel &c, unsigned invocationCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle (const OutputChannel &c, unsigned invocationCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo (const OutputChannel &c, unsigned numberOfPulses) |
|
void | verifyThatPulseGeneratorHasSetPulseDelay (unsigned expectedCount, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasSetPulseDelayTo (double expectedDelayInSeconds, const OutputChannel &c) |
|
void | verifyThatPulseGeneratorHasSetPulseWidth (unsigned expectedCount, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasSetPulseWidthTo (double expectedPulseWidth, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasStartedOutput (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetStoppedOutput (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasUsedContinuousModeFor (const OutputChannel &c, unsigned expectedInvocationCount) |
|
void | verifyThatPulseGeneratorHasUsedDutyCycleModeFor (const OutputChannel &c, unsigned expectedNumberOfInvocations) |
|
void | verifyThatPulseGeneratorHasUsedInvertedPolarityFor (const OutputChannel &c, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor (const OutputChannel &c, unsigned expectedCount) |
|
| BasdaDeviceFixture () |
|
void | createNewPropertyTree () |
|
void | fillPropertyTreeForNumberOfChannels (const int numberOfChannels) |
|
void | createNewBasdaDevice () |
|
void | openBasdaDevice () |
|
Nice::Completion | exec () |
|
void | givenThatHardwareAlwaysFails () |
|
void | givenThatHardwareSucceeds () |
|
void | givenThatPulseGeneratorReturnsAsChannelOutputMode (const OutputMode &m) |
|
void | givenThatPulseGeneratorReturnsAsClockPeriodInSeconds (double result) |
|
void | givenThatPulseGeneratorReturnsAsExternalTriggerStatus (bool result) |
|
void | givenThatPulseGeneratorReturnsAsInternalOutputMode (const OutputMode &mode) |
|
void | givenThatPulseGeneratorReturnsNumberOfPulsesDuringOnCycle (unsigned numberOfPulses) |
|
void | givenThatPulseGeneratorReturnsAsOutputChannelEnableStatus (bool result) |
|
void | givenThatPulseGeneratorReturnsAsOutputPulseWidthInSeconds (const OutputChannel &channel, double pulseWidth) |
|
void | givenThatPulseGeneratorReturnsAsPulsePolarity (const PulsePolarity &polarity) |
|
void | givenThatPulseGeneratorReturnsAsPulseDelayInSeconds (const OutputChannel &c, double resultInSeconds) |
|
template<class T > |
void | writeProperty (const string &propertyName, T value) |
|
template<class T > |
void | whenWritingProperty (const string &propertyName, T value) |
|
template<class T > |
void | writeSetValueProperty (const string &propertyName, T setValue) |
|
template<class T > |
void | whenWritingSetValue (const string &propertyName, T setValue) |
|
unsigned | times (unsigned numberOfInvocations) |
|
template<class T > |
void | verifyProperty (T expected, const string &propertyName) |
|
template<class T > |
void | verifyCurrentValueProperty (T expected, const string &propertyName) |
|
template<class T > |
void | verifyAttribute (T expected, const string &propertyName, const string &attributeName) |
|
void | verifyThatLatestHardwareConnectionEndpointIs (const string &hostname, unsigned portNr) |
|
void | verifyThatNumberOfNewHardwareConnectionsIs (unsigned expected) |
|
void | verifyThatPulseGeneratorHasDisabledExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasDisabledOutputChannel (OutputChannel channel, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasEnabledExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasEnabledOutputChannel (const OutputChannel &channel, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasGeneratedSoftwareExternalTrigger (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetClockPeriod (unsigned expected) |
|
void | verifyThatPulseGeneratorHasSetClockPeriodTo (double expected) |
|
void | verifyThatPulseGeneratorHasSetInternalOutputModeToSingleShotMode (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetInternalOutputModeToContinuousMode (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesForOffCycleTo (const OutputChannel &c, unsigned invocationCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesDuringOnCycle (const OutputChannel &c, unsigned invocationCount) |
|
void | verifyThatPulseGeneratorHasSetNumberOfPulsesForOnCycleTo (const OutputChannel &c, unsigned numberOfPulses) |
|
void | verifyThatPulseGeneratorHasSetPulseDelay (unsigned expectedCount, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasSetPulseDelayTo (double expectedDelayInSeconds, const OutputChannel &c) |
|
void | verifyThatPulseGeneratorHasSetPulseWidth (unsigned expectedCount, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasSetPulseWidthTo (double expectedPulseWidth, const OutputChannel &channel) |
|
void | verifyThatPulseGeneratorHasStartedOutput (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasSetStoppedOutput (unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasUsedContinuousModeFor (const OutputChannel &c, unsigned expectedInvocationCount) |
|
void | verifyThatPulseGeneratorHasUsedDutyCycleModeFor (const OutputChannel &c, unsigned expectedNumberOfInvocations) |
|
void | verifyThatPulseGeneratorHasUsedInvertedPolarityFor (const OutputChannel &c, unsigned expectedCount) |
|
void | verifyThatPulseGeneratorHasUsedNormalPulsePolarityFor (const OutputChannel &c, unsigned expectedCount) |
|
This fixture contains convenient methods to manipulate pulse generator basda devices.