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