API
 
Loading...
Searching...
No Matches
bmcCtrl_test.cpp
Go to the documentation of this file.
1/** \file bmcCtrl_test.cpp
2 * \brief Catch2 tests for the bmcCtrl app.
3 * \author Jared R. Males (jaredmales@gmail.com)
4 *
5 * \ingroup bmcCtrl_files
6 */
7
8#include "../../../tests/testXWC.hpp"
9
10#include "../bmcCtrl.hpp"
11
12using namespace MagAOX::app;
13
14namespace libXWCTest
15{
16
17/** \defgroup bmcCtrl_unit_test bmcCtrl Unit Tests
18 * \brief Unit tests for the bmcCtrl application.
19 *
20 * \ingroup application_unit_test
21 */
22
23/// Namespace for `bmcCtrl` unit tests.
24/** \ingroup bmcCtrl_unit_test
25 */
26namespace bmcCtrlTest
27{
28
29/// Verify the placeholder bmcCtrl test harness instantiates the app cleanly.
30/**
31 * \ingroup bmcCtrl_unit_test
32 */
33TEST_CASE( "bmcCtrl placeholder harness instantiates the app", "[bmcCtrl]" )
34{
35 // clang-format off
36 #ifdef BMCCTRL_TEST_DOXYGEN_REF
37 bmcCtrl();
38 #endif
39 // clang-format on
40
41 SECTION( "default construction succeeds" )
42 {
43 bmcCtrl app;
44
45 REQUIRE( true );
46 }
47}
48
49} // namespace bmcCtrlTest
50
51} // namespace libXWCTest
The MagAO-X BMC DM Controller.
Definition bmcCtrl.hpp:58
TEST_CASE("bmcCtrl placeholder harness instantiates the app", "[bmcCtrl]")
Verify the placeholder bmcCtrl test harness instantiates the app cleanly.
Namespace for all libXWC tests.