File indexing completed on 2024-06-09 05:02:02

0001 /*
0002     SPDX-FileCopyrightText: 2002-2013 Thomas Baumgart <tbaumgart@kde.org>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef MYMONEYKEYVALUECONTAINERTEST_H
0007 #define MYMONEYKEYVALUECONTAINERTEST_H
0008 
0009 #include <QObject>
0010 
0011 class MyMoneyKeyValueContainer;
0012 
0013 class MyMoneyKeyValueContainerTest : public QObject
0014 {
0015     Q_OBJECT
0016 protected:
0017     MyMoneyKeyValueContainer *m;
0018 
0019 private Q_SLOTS:
0020     void init();
0021     void cleanup();
0022     void testEmptyConstructor();
0023     void testRetrieveValue();
0024     void testRetrieveDefaultValue();
0025     void testSetValue();
0026     void testDeletePair();
0027     void testClear();
0028     void testRetrieveList();
0029     void testLoadList();
0030     void testArrayRead();
0031     void testArrayWrite();
0032 };
0033 
0034 #endif