File indexing completed on 2024-12-22 04:10:27
0001 /* 0002 * SPDX-FileCopyrightText: 2010 Dmitry Kazakov <dimula73@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_UPDATE_SCHEDULER_TEST_H 0008 #define KIS_UPDATE_SCHEDULER_TEST_H 0009 0010 #include <simpletest.h> 0011 0012 #include "kis_types.h" 0013 0014 class KisUpdateSchedulerTest : public QObject 0015 { 0016 Q_OBJECT 0017 0018 private: 0019 KisImageSP buildTestingImage(); 0020 0021 private Q_SLOTS: 0022 void testMerge(); 0023 void benchmarkOverlappedMerge(); 0024 void testLocking(); 0025 void testExclusiveStrokes(); 0026 void testEmptyStroke(); 0027 void testLazyWaitCondition(); 0028 void testBlockUpdates(); 0029 0030 void testTimeMonitor(); 0031 0032 void testLodSync(); 0033 }; 0034 0035 #endif /* KIS_UPDATE_SCHEDULER_TEST_H */ 0036