API
zaberLowLevel_test.cpp
Go to the documentation of this file.
1 /** \file zaberLowLevel_test.cpp
2  * \brief Catch2 tests for the zaberLowLevel app.
3  * \author Jared R. Males (jaredmales@gmail.com)
4  *
5  * History:
6  */
7 
8 
9 //Direct include to avoid having to link separately
10 extern "C"
11 {
12  #include "../za_serial.c"
13 }
14 
15 #include "../../../tests/catch2/catch.hpp"
16 #include "../../tests/testMacrosINDI.hpp"
17 
18 #include "../zaberLowLevel.hpp"
19 
20 using namespace MagAOX::app;
21 
22 namespace ZLLTEST
23 {
24 
26 {
27 
28 public:
29  zaberLowLevel_test(const std::string device)
30  {
31  m_configName = device;
32 
34  XWCTEST_SETUP_INDI_NEW_PROP(tgt_relpos);
37  XWCTEST_SETUP_INDI_NEW_PROP(req_ehalt);
38  }
39 };
40 
41 //#define QUOTE(s) #s
42 
43 
44 SCENARIO( "INDI Callbacks", "[zaberLowLevel]" )
45 {
51 }
52 
53 
54 } //namespace zaberLowLevel_test
zaberLowLevel_test(const std::string device)
#define XWCTEST_INDI_NEW_CALLBACK(testclass, propname)
Catch-2 tests for whether a NEW callback properly validates the input property properly.
SCENARIO("INDI Callbacks", "[zaberLowLevel]")
#define XWCTEST_SETUP_INDI_NEW_PROP(propname)