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++
/*
* SPDX-FileCopyrightText: 2019 Agata Cacko <[email protected]>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "KisTgaTest.h"
#include <simpletest.h>
#include <QCoreApplication>
#include "filestest.h"
#ifndef FILES_DATA_DIR
#error "FILES_DATA_DIR not set. A directory with the data used for testing the importing of files in krita"
#endif
const QString TgaMimetype = "image/x-gimp-brush";
void KisTgaTest::testImportFromWriteonly()
{
TestUtil::testImportFromWriteonly(TgaMimetype);
}
void KisTgaTest::testExportToReadonly()
{
TestUtil::testExportToReadonly(TgaMimetype);
}
void KisTgaTest::testImportIncorrectFormat()
{
TestUtil::testImportIncorrectFormat(TgaMimetype);
}
KISTEST_MAIN(KisTgaTest)