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++
867 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2026 Ayanami Kaine <[email protected]>
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef KIS_TEMPORARY_PAINT_CONSTRAINT_TEST_H
#define KIS_TEMPORARY_PAINT_CONSTRAINT_TEST_H

#include <simpletest.h>

class KisTemporaryPaintConstraintTest : public QObject
{
    Q_OBJECT

private Q_SLOTS:
    void testOptionalConstraintState();
    void testInteractionMode();
    void testInfiniteLineProjection();
    void testDegenerateLineReturnsOriginalPoint();
    void testDegenerateLineCannotBeLocked();
    void testUnlockedLineReturnsOriginalPoint();
    void testInitialMovementThreshold();
    void testLockedLineIgnoresEndpointUpdates();
    void testSnappedLineEndpoint();
    void testSnappedLinePersistsAfterShiftRelease();
    void testDecorationAvailabilitySignal();
};

#endif // KIS_TEMPORARY_PAINT_CONSTRAINT_TEST_H