File indexing completed on 2024-12-22 04:10:21
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_NODE_FACADE_TESTER_H 0008 #define KIS_NODE_FACADE_TESTER_H 0009 0010 #include <simpletest.h> 0011 0012 #include "kis_node.h" 0013 #include <testing_nodes.h> 0014 0015 class TestNodeA : public TestUtil::DefaultNode 0016 { 0017 Q_OBJECT 0018 public: 0019 KisNodeSP clone() const override { 0020 return new TestNodeA(*this); 0021 } 0022 }; 0023 0024 0025 class KisNodeFacadeTest : public QObject 0026 { 0027 Q_OBJECT 0028 0029 private Q_SLOTS: 0030 0031 void testCreation(); 0032 void testOrdering(); 0033 void testMove(); 0034 }; 0035 0036 #endif 0037