API
testMacrosINDI.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XWCTEST_INDI_CALLBACK_VALIDATION
 This turns on the success-return in the callback validator. More...
 
#define XWCTEST_MAKE_INDI_PROP(stub, propname)    stub ## propname
 Make an indi property variable name. More...
 
#define XWCTEST_SETUP_INDI_NEW_PROP(propname)
 
#define XWCTEST_SETUP_INDI_ARB_NEW_PROP(varname, propname)
 
#define XWCTEST_SETUP_INDI_ARB_PROP(varname, device, propname)
 
#define XWCTEST_MAKE_INDI_CALLBACK(stub, callback)   stub ## callback
 
#define XWCTEST_INDI_NEW_CALLBACK(testclass, propname)
 Catch-2 tests for whether a NEW callback properly validates the input property properly. More...
 
#define XWCTEST_INDI_SET_CALLBACK(testclass, varname, device, propname)
 Catch-2 tests for whether a SET callback properly validates the input property properly. More...
 
#define XWCTEST_INDI_ARBNEW_CALLBACK(testclass, callback, propname)
 Catch-2 tests for whether an arbitrary callback properly validates the input property properly. More...
 

Macro Definition Documentation

◆ XWCTEST_MAKE_INDI_CALLBACK

#define XWCTEST_MAKE_INDI_CALLBACK (   stub,
  callback 
)    stub ## callback

Definition at line 38 of file testMacrosINDI.hpp.

◆ XWCTEST_SETUP_INDI_ARB_NEW_PROP

#define XWCTEST_SETUP_INDI_ARB_NEW_PROP (   varname,
  propname 
)
Value:
varname.setDevice(m_configName); \
varname.setName(#propname);

Definition at line 30 of file testMacrosINDI.hpp.

◆ XWCTEST_SETUP_INDI_ARB_PROP

#define XWCTEST_SETUP_INDI_ARB_PROP (   varname,
  device,
  propname 
)
Value:
varname.setDevice(#device); \
varname.setName(#propname);

Definition at line 34 of file testMacrosINDI.hpp.

◆ XWCTEST_SETUP_INDI_NEW_PROP

#define XWCTEST_SETUP_INDI_NEW_PROP (   propname)
Value:
XWCTEST_MAKE_INDI_PROP(m_indiP_, propname).setDevice(m_configName); \
XWCTEST_MAKE_INDI_PROP(m_indiP_, propname).setName(#propname);
#define XWCTEST_MAKE_INDI_PROP(stub, propname)
Make an indi property variable name.

Definition at line 26 of file testMacrosINDI.hpp.