Changeset View
Changeset View
Standalone View
Standalone View
libs/command/kis_command_ids.h
- This file was copied from libs/image/tests/kis_algebra_2d_test.h.
Show All 10 Lines | |||||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. | ||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU General Public License | 14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | #ifndef __KIS_ALGEBRA_2D_TEST_H | 19 | #ifndef KIS_COMMAND_IDS_H | ||
20 | #define __KIS_ALGEBRA_2D_TEST_H | 20 | #define KIS_COMMAND_IDS_H | ||
21 | 21 | | |||
22 | #include <QtTest/QtTest> | 22 | namespace KisCommandUtils { | ||
23 | enum CommandId { | ||||
24 | MoveShapeId = 9999, | ||||
25 | ResizeShapeId, | ||||
26 | TransformShapeId, | ||||
27 | ChangeShapeTransparencyId, | ||||
28 | ChangeShapeBackgroundId, | ||||
29 | ChangeShapeStrokeId, | ||||
30 | ChangeShapeMarkersId, | ||||
31 | ChangeShapeParameterId, | ||||
32 | ChangeEllipseShapeId, | ||||
33 | ChangeRectangleShapeId, | ||||
34 | ChangePathShapePointId, | ||||
35 | ChangePathShapeControlPointId | ||||
36 | }; | ||||
23 | 37 | | |||
24 | class KisAlgebra2DTest : public QObject | 38 | } | ||
25 | { | | |||
26 | Q_OBJECT | | |||
27 | private Q_SLOTS: | | |||
28 | void testHalfPlane(); | | |||
29 | void testOuterCircle(); | | |||
30 | 39 | | |||
31 | void testQuadraticEquation(); | 40 | #endif // KIS_COMMAND_IDS_H | ||
32 | void testIntersections(); | | |||
33 | void testWeirdIntersections(); | | |||
34 | }; | | |||
35 | 41 | | |||
36 | #endif /* __KIS_ALGEBRA_2D_TEST_H */ | |