File indexing completed on 2024-12-22 04:12:53

0001 /*
0002  *  SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 
0007 #ifndef __KIS_SELECTION_MANAGER_TEST_H
0008 #define __KIS_SELECTION_MANAGER_TEST_H
0009 
0010 #include <simpletest.h>
0011 
0012 class KisSelectionManagerTest : public QObject
0013 {
0014     Q_OBJECT
0015 private Q_SLOTS:
0016     void testFillForegroundWithoutSelection();
0017     void testFillForegroundWithSelection();
0018     void testFillBackgroundWithSelection();
0019     void testFillPatternWithSelection();
0020 
0021     void testResizeToSelection();
0022 
0023     void testSelectAll();
0024     void testDeselectReselect();
0025 
0026     void testCopyPaste();
0027     void testCopyPasteMerged();
0028     void testCutPaste();
0029 
0030     void testInvertSelection();
0031 
0032     void testScanline16bit();
0033 private:
0034     // These come from a plugin and cannot be tested here
0035     void testFeatherSelection();
0036     void testGrowSelectionSimplified();
0037     void testShrinkSelectionUnlockedSimplified();
0038     void testShrinkSelectionLockedSimplified();
0039     void testSmoothSelectionSimplified();
0040     void testErodeSelectionSimplified();
0041     void testDilateSelectionSimplified();
0042     void testBorderSelectionSimplified();
0043 
0044 };
0045 
0046 #endif /* __KIS_SELECTION_MANAGER_TEST_H */