File indexing completed on 2024-05-12 16:35:58
0001 /* This file is part of the KDE project 0002 Copyright 2010 Marijn Kruisselbrink <mkruisselbrink@kde.org> 0003 0004 This library is free software; you can redistribute it and/or 0005 modify it under the terms of the GNU Library General Public 0006 License as published by the Free Software Foundation; either 0007 version 2 of the License, or (at your option) any later version. 0008 0009 This library is distributed in the hope that it will be useful, 0010 but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0012 Library General Public License for more details. 0013 0014 You should have received a copy of the GNU Library General Public License 0015 along with this library; see the file COPYING.LIB. If not, write to 0016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0017 Boston, MA 02110-1301, USA. 0018 */ 0019 #ifndef TESTROWREPEATSTORAGE_H 0020 #define TESTROWREPEATSTORAGE_H 0021 0022 #include <QObject> 0023 0024 namespace Calligra 0025 { 0026 namespace Sheets 0027 { 0028 0029 class TestRowRepeatStorage : public QObject 0030 { 0031 Q_OBJECT 0032 private Q_SLOTS: 0033 void testEmptyStorage(); 0034 void testSimpleSetRowRepeat(); 0035 void testOverlappingRanges_data(); 0036 void testOverlappingRanges(); 0037 void testComplexSetRowRepeat(); 0038 void testInsertRowsEmpty(); 0039 void testInsertRowsBetween(); 0040 void testInsertRowsMiddle(); 0041 void testRemoveRowsEmpty(); 0042 void testRemoveRowsBetween(); 0043 void testRemoveRowsOverlap(); 0044 void testInsertShiftDown1(); 0045 void testInsertShiftDown2(); 0046 void testInsertShiftDown3(); 0047 void testInsertShiftDown4(); 0048 void testRemoveShiftUp1(); 0049 void testRemoveShiftUp2(); 0050 void testRemoveShiftUp3(); 0051 void testRemoveShiftUp4(); 0052 void testInsertShiftRight(); 0053 void testRemoveShiftLeft(); 0054 }; 0055 0056 } // namespace Sheets 0057 } // namespace Calligra 0058 0059 #endif // TESTROWREPEATSTORAGE_H