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++
773 B
Raw Blame
/*
 *  SPDX-FileCopyrightText: 2011 Dmitry Kazakov <[email protected]>
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __KIS_NODE_DUMMIES_GRAPH_TEST_H
#define __KIS_NODE_DUMMIES_GRAPH_TEST_H

#include <simpletest.h>

class KisNodeDummy;
class KisNodeDummiesGraph;


class KisNodeDummiesGraphTest : public QObject
{
    Q_OBJECT
private Q_SLOTS:
    void init();
    void cleanup();

    void testIndexing();

    void testPrepend();
    void testAppend();
    void testInsert();
    void testNewSubgraph();

    void testRemoveFirst();
    void testRemoveLast();
    void testRemoveBranch();

    void testReverseTraversing();

private:
    KisNodeDummy *m_rootDummy;
    KisNodeDummiesGraph *m_dummiesGraph;
};

#endif /* __KIS_NODE_DUMMIES_GRAPH_TEST_H */