22 void cleanupTestCase();
27 void test_deleteLayer();
28 void test_setActive();
30 void test_floodFill();
31 void test_moveActive();
32 void test_setPolygon();
33 void test_setLayerUp();
34 void test_setLayerDown();
36 void test_createTools();
39 void test_RasterImage_drawPixel();
40 void test_RasterImage_drawLine();
41 void test_RasterImage_drawPoint();
42 void test_RasterImage_getDisplayable();
43 void test_RasterImage_setPolygon();
44 void test_RasterImage_loadImage();
45 void test_RasterImage_getPixelColor();
46 void test_RasterImage_getImageData();
47 void test_RasterImage_setImageData();
50 void test_ShapedImage_drawPixel();
51 void test_ShapedImage_drawLine();
52 void test_ShapedImage_drawPoint();
53 void test_ShapedImage_getDisplayable();
54 void test_ShapedImage_setPolygon();
55 void test_ShapedImage_loadImage();
56 void test_ShapedImage_getPixelColor();
57 void test_ShapedImage_getImageData();
58 void test_ShapedImage_setImageData();
61 void test_createTool_Circle();
62 void test_createTool_FloodFill();
63 void test_createTool_Line();
64 void test_createTool_Pen();
65 void test_createTool_Plain();
66 void test_createTool_Polygon();
67 void test_createTool_Rectangle();
70 void test_Circle_fullDraw();
71 void test_Circle_interruptedDraw();
73 void test_FloodFill_fullDraw();
74 void test_FloodFill_interruptedDraw();
76 void test_Line_fullDraw();
77 void test_Line_interruptedDraw();
79 void test_Pen_fullDraw();
80 void test_Pen_interruptedDraw();
82 void test_Plain_fullDraw();
83 void test_Plain_interruptedDraw();
85 void test_Polygon_fullDraw();
86 void test_Polygon_interruptedDraw();
88 void test_Rectangle_fullDraw();
89 void test_Rectangle_interruptedDraw();
92 void test_Triangulation_Coverage();
97 char arg0[] =
"programName";
100 char *argv[] = {arg0, arg1, arg2,
nullptr};
101 int argc =
sizeof(argv) /
sizeof(
char*) - 1;
103 app =
new QApplication(argc,argv);
105 area = gui->paintingArea;
113 void UnitTest::initTestCase()
118 void UnitTest::cleanupTestCase()
132 void UnitTest::test_addLayer(){}
133 void UnitTest::test_deleteLayer(){}
134 void UnitTest::test_setActive(){}
135 void UnitTest::test_setAlpha(){}
136 void UnitTest::test_floodFill(){}
137 void UnitTest::test_moveActive(){}
138 void UnitTest::test_setPolygon(){}
139 void UnitTest::test_setLayerUp(){}
140 void UnitTest::test_setLayerDown(){}
142 void UnitTest::test_createTools(){}
145 void UnitTest::test_RasterImage_drawPixel(){}
146 void UnitTest::test_RasterImage_drawLine(){}
147 void UnitTest::test_RasterImage_drawPoint(){}
148 void UnitTest::test_RasterImage_getDisplayable(){}
149 void UnitTest::test_RasterImage_setPolygon(){}
150 void UnitTest::test_RasterImage_loadImage(){}
151 void UnitTest::test_RasterImage_getPixelColor(){}
152 void UnitTest::test_RasterImage_getImageData(){}
153 void UnitTest::test_RasterImage_setImageData(){}
156 void UnitTest::test_ShapedImage_drawPixel(){}
157 void UnitTest::test_ShapedImage_drawLine(){}
158 void UnitTest::test_ShapedImage_drawPoint(){}
159 void UnitTest::test_ShapedImage_getDisplayable(){}
160 void UnitTest::test_ShapedImage_setPolygon(){}
161 void UnitTest::test_ShapedImage_loadImage(){}
162 void UnitTest::test_ShapedImage_getPixelColor(){}
163 void UnitTest::test_ShapedImage_getImageData(){}
164 void UnitTest::test_ShapedImage_setImageData(){}
167 void UnitTest::test_createTool_Circle(){}
168 void UnitTest::test_createTool_FloodFill(){}
169 void UnitTest::test_createTool_Line(){}
170 void UnitTest::test_createTool_Pen(){}
171 void UnitTest::test_createTool_Plain(){}
172 void UnitTest::test_createTool_Polygon(){}
173 void UnitTest::test_createTool_Rectangle(){}
176 void UnitTest::test_Circle_fullDraw(){}
177 void UnitTest::test_Circle_interruptedDraw(){}
179 void UnitTest::test_FloodFill_fullDraw(){}
180 void UnitTest::test_FloodFill_interruptedDraw(){}
182 void UnitTest::test_Line_fullDraw(){}
183 void UnitTest::test_Line_interruptedDraw(){}
185 void UnitTest::test_Pen_fullDraw(){}
186 void UnitTest::test_Pen_interruptedDraw(){}
188 void UnitTest::test_Plain_fullDraw(){}
189 void UnitTest::test_Plain_interruptedDraw(){}
191 void UnitTest::test_Polygon_fullDraw(){}
192 void UnitTest::test_Polygon_interruptedDraw(){}
194 void UnitTest::test_Rectangle_fullDraw(){}
195 void UnitTest::test_Rectangle_interruptedDraw(){}
198 void UnitTest::test_Triangulation_Coverage(){}
202 #include "tst_unittest.moc"