| 1 | /* |
| 2 | * SPDX-FileName: test_Commands.hxx |
| 3 | * SPDX-FileComment: Unit tests for built-in commands |
| 4 | * SPDX-FileCopyrightText: Copyright (C) 2023 James Turner |
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 6 | */ |
| 7 | |
| 8 | #pragma once |
| 9 | |
| 10 | #include <cppunit/TestFixture.h> |
| 11 | #include <cppunit/extensions/HelperMacros.h> |
| 12 | |
| 13 | |
| 14 | class CommandsTests : public CppUnit::TestFixture |
| 15 | { |
| 16 | // Set up the test suite. |
| 17 | CPPUNIT_TEST_SUITE(CommandsTests); |
| 18 | CPPUNIT_TEST(testPropertyAdjustCommand); |
| 19 | CPPUNIT_TEST(testPropertyMultiplyCommand); |
| 20 | |
| 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 testPropertyAdjustCommand(); |
| 32 | void testPropertyMultiplyCommand(); |
| 33 | |
| 34 | private: |
| 35 | }; |