File indexing completed on 2024-04-28 11:46:06
0001 /* 0002 * SPDX-FileCopyrightText: 2009 Petri Damstén <damu@iki.fi> 0003 * 0004 * SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef CATEGORYTEST_H 0008 #define CATEGORYTEST_H 0009 0010 #include <QObject> 0011 #include <QTest> 0012 #include <kunitconversion/converter.h> 0013 0014 using namespace KUnitConversion; 0015 0016 class CategoryTest : public QObject 0017 { 0018 Q_OBJECT 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 void testInfo(); 0022 void testUnits(); 0023 void testConvert(); 0024 void testInvalid(); 0025 void testCurrencyTableUpdate(); 0026 0027 private: 0028 Converter c; 0029 }; 0030 0031 #endif // CATEGORYTEST_H