API
 
Loading...
Searching...
No Matches
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
11using namespace MagAOX::app;
12
13namespace KCCTEST
14{
15
17{
18
19public:
20 kcubeCtrl_test(const std::string device)
21 {
22 m_configName = device;
23
25 }
26};
27
28SCENARIO( "INDI Callbacks", "[kcubeCtrl]" )
29{
31}
32
33/*
34SCENARIO( "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
#define SCENARIO(...)
Definition catch.hpp:17760
kcubeCtrl_test(const std::string device)
std::string m_configName
The name of the configuration file (minus .conf).
Definition MagAOXApp.hpp:83
static int log(const typename logT::messageT &msg, logPrioT level=logPrio::LOG_DEFAULT)
Make a log entry.
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.
#define XWCTEST_SETUP_INDI_NEW_PROP(propname)