File indexing completed on 2024-12-22 04:10:17
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_IMAGE_SIGNAL_ROUTER_TEST_H 0008 #define __KIS_IMAGE_SIGNAL_ROUTER_TEST_H 0009 0010 #include <simpletest.h> 0011 0012 #include <QObject> 0013 #include "kis_image_signal_router.h" 0014 #include "empty_nodes_test.h" 0015 0016 0017 class KisImageSignalRouterTest : public QObject, public TestUtil::EmptyNodesTest 0018 { 0019 Q_OBJECT 0020 private Q_SLOTS: 0021 void init(); 0022 void cleanup(); 0023 0024 void testSignalForwarding(); 0025 0026 private: 0027 void checkNotification(KisImageSignalType notification, const char *signal); 0028 }; 0029 0030 #endif /* __KIS_IMAGE_SIGNAL_ROUTER_TEST_H */