Debian Codegraph @

test_suite/simgear_tests/props/test_condition.hxx

raw symbols SCIP
1 /*
2 SPDX-Copyright: James Turner
3 SPDX-License-Identifier: GPL-2.0-or-later
4 */
5
6 #pragma once
7
8
9 #include <cppunit/TestFixture.h>
10 #include <cppunit/extensions/HelperMacros.h>
11
12 #include <simgear/props/condition.hxx>
13 #include <simgear/props/propsfwd.hxx>
14
15 // The unit tests of the simgear property tree.
16 class SimgearConditionTests : public CppUnit::TestFixture
17 {
18 // Set up the test suite.
19 CPPUNIT_TEST_SUITE(SimgearConditionTests);
20 CPPUNIT_TEST(testEmptyCondition);
21 CPPUNIT_TEST_SUITE_END();
22
23 public:
24 // Set up function for each test.
25 void setUp();
26
27 // Clean up after each test.
28 void tearDown();
29
30 // The tests.
31 void testEmptyCondition();
32
33 private:
34 // A property tree.
35 SGPropertyNode_ptr tree;
36 };