API
kcubeCtrl_test.cpp
Go to the documentation of this file.
1 /** \file kcubeCtrl_test.cpp
2  * \brief Catch2 tests for the kcubeCtrl app.
3  *
4  * History:
5  */
6 #include "../../../tests/catch2/catch.hpp"
7 #include "../../tests/testMacrosINDI.hpp"
8 
9 #include "../kcubeCtrl.hpp"
10 
11 using namespace MagAOX::app;
12 
13 namespace KCCTEST
14 {
15 
16 class kcubeCtrl_test : public kcubeCtrl
17 {
18 
19 public:
20  kcubeCtrl_test(const std::string device)
21  {
22  m_configName = device;
23 
25  }
26 };
27 
28 SCENARIO( "INDI Callbacks", "[kcubeCtrl]" )
29 {
31 }
32 
33 /*
34 SCENARIO( "xxxx", "[kcubeCtrl]" )
35 {
36  GIVEN("xxxxx")
37  {
38  int rv;
39 
40  WHEN("xxxx")
41  {
42  rv = [some test];
43 
44  REQUIRE(rv == 0);
45  }
46  }
47 }*/
48 
49 } //namespace KCCTEST
kcubeCtrl_test(const std::string device)
The MagAO-X K-Cube Controller.
Definition: kcubeCtrl.hpp:75
#define XWCTEST_INDI_NEW_CALLBACK(testclass, propname)
Catch-2 tests for whether a NEW callback properly validates the input property properly.
SCENARIO("INDI Callbacks", "[kcubeCtrl]")
#define XWCTEST_SETUP_INDI_NEW_PROP(propname)