mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-13 03:40:31 +02:00
start of test writing
This commit is contained in:
@@ -1,10 +1,32 @@
|
||||
#include <QtTest>
|
||||
|
||||
#include <QtTest>
|
||||
// add necessary includes here
|
||||
|
||||
|
||||
#include "GUI/IntelliPhotoGui.h"
|
||||
#include "Image/IntelliImage.h"
|
||||
#include "Image/IntelliRasterImage.h"
|
||||
#include "Image/IntelliShapedImage.h"
|
||||
#include "IntelliHelper/IntelliColorPicker.h"
|
||||
#include "IntelliHelper/IntelliRenderSettings.h"
|
||||
#include "IntelliHelper/IntelliToolsettings.h"
|
||||
#include "IntelliHelper/IntelliTriangulation.h"
|
||||
#include "Layer/PaintingArea.h"
|
||||
#include "Tool/IntelliTool.h"
|
||||
#include "Tool/IntelliToolCircle.h"
|
||||
#include "Tool/IntelliToolFloodFill.h"
|
||||
#include "Tool/IntelliToolLine.h"
|
||||
#include "Tool/IntelliToolPen.h"
|
||||
#include "Tool/IntelliToolPlain.h"
|
||||
#include "Tool/IntelliToolPolygon.h"
|
||||
#include "Tool/IntelliToolRectangle.h"
|
||||
|
||||
class UnitTest : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
PaintingArea* area;
|
||||
IntelliPhotoGui* gui;
|
||||
QImage* image;
|
||||
|
||||
public:
|
||||
UnitTest();
|
||||
@@ -15,6 +37,8 @@ private slots:
|
||||
void cleanupTestCase();
|
||||
void test_case1();
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
UnitTest::UnitTest()
|
||||
|
||||
Reference in New Issue
Block a user