| 1 | /* |
| 2 | SPDX-Copyright: James Turner |
| 3 | SPDX-License-Identifier: GPL-2.0-or-later |
| 4 | */ |
| 5 | |
| 6 | |
| 7 | #pragma once |
| 8 | |
| 9 | #include <cppunit/TestFixture.h> |
| 10 | #include <cppunit/extensions/HelperMacros.h> |
| 11 | |
| 12 | #include <simgear/props/props.hxx> |
| 13 | |
| 14 | |
| 15 | // The system tests. |
| 16 | class InputValueTests : public CppUnit::TestFixture |
| 17 | { |
| 18 | // Set up the test suite. |
| 19 | CPPUNIT_TEST_SUITE(InputValueTests); |
| 20 | CPPUNIT_TEST(testPropertyPath); |
| 21 | CPPUNIT_TEST_SUITE_END(); |
| 22 | |
| 23 | SGPropertyNode_ptr configFromString(const std::string& s); |
| 24 | |
| 25 | public: |
| 26 | // Set up function for each test. |
| 27 | void setUp(); |
| 28 | |
| 29 | // Clean up after each test. |
| 30 | void tearDown(); |
| 31 | |
| 32 | |
| 33 | // The tests. |
| 34 | void testPropertyPath(); |
| 35 | }; |