API
observerCtrl_test.cpp
Go to the documentation of this file.
1 /** \file observerCtrl_test.cpp
2  * \brief Catch2 tests for the observerCtrl app.
3  * \author Jared R. Males (jaredmales@gmail.com)
4  *
5  * History:
6  */
7 
8 
9 
10 #include "../../../tests/catch2/catch.hpp"
11 #include "../../tests/testMacrosINDI.hpp"
12 
13 #include "../observerCtrl.hpp"
14 
15 using namespace MagAOX::app;
16 
17 namespace SMCTEST
18 {
19 
21 {
22 
23 public:
24  observerCtrl_test(const std::string device)
25  {
26  m_configName = device;
27 
28  XWCTEST_SETUP_INDI_NEW_PROP(observers);
30  XWCTEST_SETUP_INDI_NEW_PROP(observing);
32 
33 
34  }
35 };
36 
37 
38 SCENARIO( "INDI Callbacks", "[observerCtrl]" )
39 {
44 
45 
46 }
47 
48 
49 } //namespace observerCtrl_test
The MagAO-X Observer Controller.
observerCtrl_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", "[observerCtrl]")
#define XWCTEST_SETUP_INDI_NEW_PROP(propname)