File indexing completed on 2025-07-06 04:37:53
0001 /* 0002 SPDX-FileCopyrightText: 2009-2011 Fernando Vilas <fvilas@iname.com> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #ifndef MYMONEYBALANCECACHETEST_H 0007 #define MYMONEYBALANCECACHETEST_H 0008 0009 #include <QObject> 0010 0011 #include "mymoneybalancecache.h" 0012 0013 class MyMoneyBalanceCacheTest : public QObject 0014 { 0015 Q_OBJECT 0016 0017 protected: 0018 MyMoneyBalanceCache* m; 0019 0020 private Q_SLOTS: 0021 void init(); 0022 void cleanup(); 0023 void testCacheItem(); 0024 void testEmpty(); 0025 void testInsert(); 0026 void testClear(); 0027 void testSize(); 0028 void testRetrieve(); 0029 }; 0030 0031 #endif