Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
1.2 KB
Raw Blame
/* This file is part of the KDE project
 * SPDX-FileCopyrightText: 2009 Jan Hambrecht <[email protected]>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#ifndef TESTPOINTMERGECOMMAND_H
#define TESTPOINTMERGECOMMAND_H

#include <QObject>

class TestPointMergeCommand : public QObject
{
    Q_OBJECT
private Q_SLOTS:
    void closeSingleLinePath();
    void closeSingleCurvePath();
    void connectLineSubpaths();
    void connectCurveSubpaths();

    void testCombineShapes();
    void testMultipathMergeShapesBothSequential();
    void testMultipathMergeShapesFirstReversed();
    void testMultipathMergeShapesSecondReversed();
    void testMultipathMergeShapesBothReversed();

    void testMultipathMergeShapesSingleShapeEndToStart();
    void testMultipathMergeShapesSingleShapeStartToEnd();

    void testMultipathJoinShapesBothSequential();
    void testMultipathJoinShapesFirstReversed();
    void testMultipathJoinShapesSecondReversed();
    void testMultipathJoinShapesBothReversed();

    void testMultipathJoinShapesSingleShapeEndToStart();
    void testMultipathJoinShapesSingleShapeStartToEnd();

    // Regression test. Making sure that undo/redo operations don't cause crashes.
    void undoRedo();

};

#endif // TESTPOINTMERGECOMMAND_H