
Macros | |
| #define | XWCTEST_INDI_CALLBACK_VALIDATION |
| This turns on the success-return in the callback validator. | |
| #define | XWCTEST_MAKE_INDI_PROP(stub, propname) stub ## propname |
| Make an indi property variable name. | |
| #define | XWCTEST_INDI_NEW_CALLBACK(testclass, propname) |
| Catch-2 tests for whether a NEW callback properly validates the input property properly. | |
| #define | XWCTEST_INDI_SET_CALLBACK(testclass, varname, device, propname) |
| Catch-2 tests for whether a SET callback properly validates the input property properly. | |
| #define | XWCTEST_INDI_ARBNEW_CALLBACK(testclass, callback, propname) |
| Catch-2 tests for whether an arbitrary callback properly validates the input property properly. | |
| #define XWCTEST_INDI_ARBNEW_CALLBACK | ( | testclass, | |
| callback, | |||
| propname | |||
| ) |
Catch-2 tests for whether an arbitrary callback properly validates the input property properly.
| testclass | [in] the class being tested |
| callback | [in] the name of the callback |
| device | [in] the device source of the property |
| propname | [in] the in-INDI name of the property |
Definition at line 136 of file testMacrosINDI.hpp.
| #define XWCTEST_INDI_CALLBACK_VALIDATION |
This turns on the success-return in the callback validator.
See INDI_VALIDATE_CALLBACK_PROPS and INDI_VALIDATE_CALLBACK_PROPS_DERIVED
Definition at line 10 of file testMacrosINDI.hpp.
| #define XWCTEST_INDI_NEW_CALLBACK | ( | testclass, | |
| propname | |||
| ) |
Catch-2 tests for whether a NEW callback properly validates the input property properly.
| testclass | [in] the name of class being tested |
| propname | [in] the in-INDI name of the property |
Definition at line 47 of file testMacrosINDI.hpp.
| #define XWCTEST_INDI_SET_CALLBACK | ( | testclass, | |
| varname, | |||
| device, | |||
| propname | |||
| ) |
Catch-2 tests for whether a SET callback properly validates the input property properly.
| testclass | [in] the class being tested |
| varname | [in] the in-class variable name |
| device | [in] the device source of the property |
| propname | [in] the in-INDI name of the property |
Definition at line 90 of file testMacrosINDI.hpp.
| #define XWCTEST_MAKE_INDI_PROP | ( | stub, | |
| propname | |||
| ) | stub ## propname |
Make an indi property variable name.
This takes m_indiP_ and voltage (as the propname) and creates m_indiP_voltage, which is the standard way to name an INDI property which takes new requests.
| stub | [in] the first part of the variable name, e.g. m_indiP_ |
| propname | [in] the property name, e.g. voltage |
Definition at line 21 of file testMacrosINDI.hpp.