-ADD_UNIT_TESTS(TestSketchPointLine.py
- TestCreateArcByCenterStartEnd.py
- TestCreateArcByThreePoints.py
- TestCreateArcByTangentEdge.py
- TestCreateArcChangeType.py
- TestCreateCircleByCenterAndPassed.py
- TestCreateCircleByThreePoints.py
- TestCreateCircleChangeType.py
- TestConstraintCoincidence.py
- TestConstraintCollinear.py
- TestConstraintLength.py
- TestConstraintDistance.py
- TestConstraintParallel.py
- TestConstraintPerpendicular.py
- TestConstraintRadius.py
- TestConstraintFixed.py
- TestConstraintHorizontal.py
- TestConstraintVertical.py
- TestConstraintEqual.py
- TestConstraintTangent.py
- TestConstraintAngle.py
- TestConstraintMiddlePoint.py
- TestMirror.py
- TestMultiRotation.py
- TestMultiTranslation.py
- TestFillet.py
- TestFilletInteracting.py
- TestRectangle.py
- TestProjection.py
- TestSplit.py
- TestHighload.py
- TestSnowflake.py
- TestArcBehavior.py
- TestRemoveSketch.py
- Test1061.py
- Test1673.py
- Test1924.py
- Test1966.py
- Test1967.py
- Test2095.py
- TestTrimArc01.py
- TestTrimArc02.py
- TestTrimArc03.py
- TestTrimArc04.py
- TestTrimArc05.py
- TestTrimArc06.py
- TestTrimArc07.py
- TestTrimCircle01.py
- TestTrimCircle02.py
- TestTrimCircle03.py
- TestTrimCircle04.py
- TestTrimCircle05.py
- TestTrimCircleAndArc01.py
- TestTrimLine01.py
- TestTrimLine02.py)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+include(tests.set)
+
+if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
+ include(tests_change_radius.set)
+ ADD_UNIT_TESTS(${TEST_NAMES_CHANGE_RADIUS})
+endif()
+
+ADD_RESTRICTED_TESTS(
+ Test20204.py
+)
+
+if(${HAVE_SALOME})
+ enable_testing()
+ set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/SketchPlugin")
+
+ install(FILES CTestTestfileInstall.cmake
+ DESTINATION ${TEST_INSTALL_DIRECTORY}
+ RENAME CTestTestfile.cmake)
+ if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
+ set(TEST_NAMES ${TEST_NAMES} ${TEST_NAMES_CHANGE_RADIUS})
+ install(FILES tests_change_radius.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+ endif()
+ install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+
+ set(TMP_TESTS_NAMES)
+ foreach(tfile ${TEST_NAMES})
+ list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+ endforeach(tfile ${TEST_NAMES})
+
+ install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})