File indexing completed on 2024-12-22 04:11:23

0001 /* This file is part of the KDE project
0002    SPDX-FileCopyrightText: 2017 Boudewijn Rempt
0003 
0004    SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 #ifndef TESTVECTORLAYER_H
0007 #define TESTVECTORLAYER_H
0008 
0009 #include <QObject>
0010 #include <KisDocument.h>
0011 #include <VectorLayer.h>
0012 #include <kis_shape_layer.h>
0013 
0014 
0015 
0016 class TestVectorLayer : public QObject
0017 {
0018     Q_OBJECT
0019 private Q_SLOTS:
0020     void initTestCase();
0021     void testAddShapesFromSvg();
0022     void testShapeAtPosition();
0023     void testShapesInRect();
0024     void testCreateGroupShape();
0025     void cleanupTestCase();
0026 
0027 private:
0028     KisDocument* kisdoc;
0029     VectorLayer *vNode;
0030     KisImageSP image;
0031     KisShapeLayerSP vLayer1;
0032 };
0033 #endif