File indexing completed on 2024-12-22 04:09:28
0001 /* 0002 * SPDX-FileCopyrightText: 2019 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 #ifndef KISFORESTTEST_H 0007 #define KISFORESTTEST_H 0008 0009 #include <simpletest.h> 0010 #include <QObject> 0011 0012 class KisForestTest : public QObject 0013 { 0014 Q_OBJECT 0015 0016 private Q_SLOTS: 0017 void testAddToRoot(); 0018 void testAddToRootChained(); 0019 void testAddToLeaf(); 0020 void testAddToLeafChained(); 0021 0022 void testDFSIteration(); 0023 void testHierarchyIteration(); 0024 void testSiblingIteration(); 0025 void testCompositionIteration(); 0026 void testCompositionIterationSubtree(); 0027 0028 void testSubtreeIteration(); 0029 void testSubtreeTailIteration(); 0030 0031 void testEraseNode(); 0032 void testEraseSubtree(); 0033 void testEraseRange(); 0034 0035 void testMoveSubtree(); 0036 0037 void testReversedChildIteration(); 0038 0039 void testConversionsFromEnd(); 0040 0041 void testCopyForest(); 0042 0043 void testSiblingsOnEndIterator(); 0044 void testParentIterator(); 0045 0046 void testConstChildIterators(); 0047 void testConstHierarchyIterators(); 0048 void testConstSubtreeIterators(); 0049 void testConstTailSubtreeIterators(); 0050 void testConstTailFreeStandingForestFunctions(); 0051 0052 }; 0053 0054 #endif // KISFORESTTEST_H