File indexing completed on 2024-06-23 05:01:29
0001 /* 0002 SPDX-FileCopyrightText: 2005-2011 Thomas Baumgart <tbaumgart@kde.org> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef MYMONEYPRICETEST_H 0007 #define MYMONEYPRICETEST_H 0008 0009 #include <QObject> 0010 0011 #include "mymoneyprice.h" 0012 0013 class MyMoneyPriceTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 protected: 0018 MyMoneyPrice* m; 0019 0020 private Q_SLOTS: 0021 void init(); 0022 void cleanup(); 0023 0024 void testDefaultConstructor(); 0025 void testConstructor(); 0026 void testValidity(); 0027 void testRate(); 0028 0029 }; 0030 #endif