|
constexpr | TestCapabilities ()=default |
|
constexpr TestCapabilities< TestCapability::disabled, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableSyncRead () const |
| Allows to prevent the test from executing any synchronous read tests. More...
|
|
constexpr TestCapabilities< _syncRead, TestCapability::enabled, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, TestCapability::disabled, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableForceDataLossWrite () const |
| See setForceDataLossWrite() function in the register descriptor. More...
|
|
constexpr TestCapabilities< _syncRead, TestCapability::disabled, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableForceDataLossWrite () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, TestCapability::enabled, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableAsyncReadInconsistency () const |
| See forceAsyncReadInconsistency() function in the register descriptor. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, TestCapability::disabled, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableAsyncReadInconsistency () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, TestCapability::enabled, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableSwitchReadOnly () const |
| See switchReadOnly() function in the register descriptor. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, TestCapability::disabled, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableSwitchReadOnly () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, TestCapability::enabled, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableSwitchWriteOnly () const |
| See switchWriteOnly() function in the register descriptor. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, TestCapability::disabled, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableSwitchWriteOnly () const |
|
constexpr TestCapabilities< _syncRead, TestCapability::disabled, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, TestCapability::enabled, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableTestWriteNeverLosesData () const |
| Enable/disable test whether write transfers never report lost data (part of B.7.2). More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, TestCapability::disabled, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableTestWriteNeverLosesData () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, TestCapability::enabled, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableTestWriteOnly () const |
| Enable/disable testing only write operations, even if the register is readable. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, TestCapability::disabled, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableTestWriteOnly () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, TestCapability::enabled, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | enableTestReadOnly () const |
| Enable/disable testing only read operations, even if the register is readable. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, TestCapability::disabled, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion > | disableTestReadOnly () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, TestCapability::disabled, _testCatalogue, _setRemoteValueIncrementsVersion > | disableTestRawTransfer () const |
| Enable/disable testing the raw accessors. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, TestCapability::enabled, _testCatalogue, _setRemoteValueIncrementsVersion > | enableTestRawTransfer () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, TestCapability::disabled, _setRemoteValueIncrementsVersion > | disableTestCatalogue () const |
| Enable/disable testing of catalogue content. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, TestCapability::enabled, _setRemoteValueIncrementsVersion > | enableTestCatalogue () const |
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, TestCapability::disabled > | disableSetRemoteValueIncrementsVersion () const |
| Enable/disable testing of version number increment in read operations after setRemoteValue. More...
|
|
constexpr TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, TestCapability::enabled > | enableSetRemoteValueIncrementsVersion () const |
|
template<TestCapability _syncRead = TestCapability::enabled, TestCapability _forceDataLossWrite = TestCapability::unspecified, TestCapability _asyncReadInconsistency = TestCapability::unspecified, TestCapability _switchReadOnly = TestCapability::unspecified, TestCapability _switchWriteOnly = TestCapability::unspecified, TestCapability _writeNeverLosesData = TestCapability::unspecified, TestCapability _testWriteOnly = TestCapability::disabled, TestCapability _testReadOnly = TestCapability::disabled, TestCapability _testRawTransfer = TestCapability::unspecified, TestCapability _testCatalogue = TestCapability::enabled, TestCapability _setRemoteValueIncrementsVersion = TestCapability::enabled>
struct ChimeraTK::TestCapabilities< _syncRead, _forceDataLossWrite, _asyncReadInconsistency, _switchReadOnly, _switchWriteOnly, _writeNeverLosesData, _testWriteOnly, _testReadOnly, _testRawTransfer, _testCatalogue, _setRemoteValueIncrementsVersion >
Descriptor for the test capabilities for each register.
This allows a schema evolution of the test. New tests which require a new backend-specific function in the test in the register descriptor will be enabled through a corresponding Capability flag.
Construct object like this:
static constexpr auto capabilities = TestCapabilities<>().enableForceDataLossWrite().disableAsyncReadInconsistency();
Use any number of enable/disable functions.
Definition at line 54 of file UnifiedBackendTest.h.