File indexing completed on 2024-04-28 05:52:33
0001 /* 0002 This file is part of the Okteta Core library, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2011 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #ifndef VALUECODECTEST_HPP 0010 #define VALUECODECTEST_HPP 0011 0012 // Qt 0013 #include <QObject> 0014 0015 namespace Okteta { 0016 0017 class ValueCodecTest : public QObject 0018 { 0019 Q_OBJECT 0020 0021 private Q_SLOTS: // test functions 0022 void testCreateCodec_data(); 0023 void testCreateCodec(); 0024 void testEncodeDecode_data(); 0025 void testEncodeDecode(); 0026 void testEncodeShortDecode_data(); 0027 void testEncodeShortDecode(); 0028 void testAppendDigit_data(); 0029 void testAppendDigit(); 0030 void testIsValidDigit_data(); 0031 void testIsValidDigit(); 0032 void testRemoveLastDigit_data(); 0033 void testRemoveLastDigit(); 0034 }; 0035 0036 } 0037 0038 #endif