File indexing completed on 2024-06-09 04:22:04
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Boudewijn Rempt boud @valdyas.org 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #ifndef KIS_DATAMANAGER_TEST_H 0008 #define KIS_DATAMANAGER_TEST_H 0009 0010 #include <simpletest.h> 0011 0012 class KisDataManagerTest : public QObject 0013 { 0014 Q_OBJECT 0015 private Q_SLOTS: 0016 0017 void testCreation(); 0018 void testDefaultPixel(); 0019 // void testMemento(); 0020 // void testReadWrite(); 0021 // void testExtent(); 0022 // void testClear(); 0023 // void testSetPixel(); 0024 // void testReadBytes(); 0025 // void testWriteBytes(); 0026 // void testPlanarBytes(); 0027 // void testContiguousColumns(); 0028 // void testRowStride(); 0029 // void testThreadedReadAccess(); 0030 // void testThreadedWriteAccess(); 0031 // void testThreadedReadWriteAccess(); 0032 0033 private: 0034 bool memoryIsFilled(quint8 c, quint8 *mem, qint32 size); 0035 }; 0036 0037 #endif