| 1 | // |
|---|---|
| 2 | // DoubleByteEncodingTest.h |
| 3 | // |
| 4 | // Definition of the DoubleByteEncodingTest class. |
| 5 | // |
| 6 | // Copyright (c) 2018, Applied Informatics Software Engineering GmbH. |
| 7 | // and Contributors. |
| 8 | // |
| 9 | // SPDX-License-Identifier: Apache-2.0 |
| 10 | // |
| 11 | |
| 12 | |
| 13 | #ifndef DoubleByteEncodingTest_INCLUDED |
| 14 | #define DoubleByteEncodingTest_INCLUDED |
| 15 | |
| 16 | |
| 17 | #include "Poco/CppUnit/TestCase.h" |
| 18 | |
| 19 | |
| 20 | class DoubleByteEncodingTest: public CppUnit::TestCase |
| 21 | { |
| 22 | public: |
| 23 | DoubleByteEncodingTest(const std::string& name); |
| 24 | ~DoubleByteEncodingTest(); |
| 25 | |
| 26 | void testSingleByte(); |
| 27 | void testSingleByteReverse(); |
| 28 | void testDoubleByte(); |
| 29 | void testDoubleByteReverse(); |
| 30 | |
| 31 | void setUp(); |
| 32 | void tearDown(); |
| 33 | |
| 34 | static CppUnit::Test* suite(); |
| 35 | |
| 36 | private: |
| 37 | }; |
| 38 | |
| 39 | |
| 40 | #endif // DoubleByteEncodingTest_INCLUDED |
| 41 |