From fcf207ffe8af5d25bf1a995c88e80de656d64a64 Mon Sep 17 00:00:00 2001 From: Clarisse Genrault Date: Mon, 20 Feb 2017 16:26:33 +0100 Subject: [PATCH] Transfer of tests (Primitives, Transfotmation and GDML). --- src/FeaturesAPI/CMakeLists.txt | 5 ----- src/GDMLAPI/CMakeLists.txt | 4 ---- src/GeomAlgoAPI/CMakeLists.txt | 8 -------- src/PrimitivesAPI/CMakeLists.txt | 5 ----- 4 files changed, 22 deletions(-) diff --git a/src/FeaturesAPI/CMakeLists.txt b/src/FeaturesAPI/CMakeLists.txt index b8ad3fe09..4b94f992a 100644 --- a/src/FeaturesAPI/CMakeLists.txt +++ b/src/FeaturesAPI/CMakeLists.txt @@ -1,7 +1,6 @@ ## Copyright (C) 2014-2016 CEA/DEN, EDF R&D INCLUDE(Common) -INCLUDE(UnitTest) SET(PROJECT_HEADERS FeaturesAPI.h @@ -97,7 +96,3 @@ ENDIF(WIN32) INSTALL(TARGETS _FeaturesAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS FeaturesAPI DESTINATION ${SHAPER_INSTALL_BIN}) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/FeaturesAPI.py DESTINATION ${SHAPER_INSTALL_SWIG}) - -ADD_UNIT_TESTS(APIParam_Scale.py - APIParam_Symmetry.py - APIParam_Translation.py) \ No newline at end of file diff --git a/src/GDMLAPI/CMakeLists.txt b/src/GDMLAPI/CMakeLists.txt index 9084ba827..0f8db566f 100644 --- a/src/GDMLAPI/CMakeLists.txt +++ b/src/GDMLAPI/CMakeLists.txt @@ -1,7 +1,6 @@ ## Copyright (C) 2014-2016 CEA/DEN, EDF R&D INCLUDE(Common) -INCLUDE(UnitTest) SET(PROJECT_HEADERS GDMLAPI.h @@ -65,6 +64,3 @@ ENDIF(WIN32) INSTALL(TARGETS _GDMLAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS GDMLAPI DESTINATION ${SHAPER_INSTALL_BIN}) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/GDMLAPI.py DESTINATION ${SHAPER_INSTALL_SWIG}) - -# Tests -ADD_UNIT_TESTS(TestConeSegment.py) \ No newline at end of file diff --git a/src/GeomAlgoAPI/CMakeLists.txt b/src/GeomAlgoAPI/CMakeLists.txt index 47a4266de..2b5d6a2c6 100644 --- a/src/GeomAlgoAPI/CMakeLists.txt +++ b/src/GeomAlgoAPI/CMakeLists.txt @@ -4,7 +4,6 @@ FIND_PACKAGE(SWIG REQUIRED) INCLUDE(${SWIG_USE_FILE}) INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) -INCLUDE(UnitTest) SET(PROJECT_HEADERS GeomAlgoAPI.h @@ -160,10 +159,3 @@ INSTALL(TARGETS _GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS GeomAlgoAPI DESTINATION ${SHAPER_INSTALL_BIN}) INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG}) -ADD_UNIT_TESTS(TestAPI_Box.py - TestAPI_Cylinder.py - TestAPI_GDMLConeSegment.py - TestAPI_Scale.py - TestAPI_Symmetry.py - TestAPI_Translation.py) - diff --git a/src/PrimitivesAPI/CMakeLists.txt b/src/PrimitivesAPI/CMakeLists.txt index d0fa87593..abd9c9f1f 100644 --- a/src/PrimitivesAPI/CMakeLists.txt +++ b/src/PrimitivesAPI/CMakeLists.txt @@ -1,7 +1,6 @@ ## Copyright (C) 2014-2016 CEA/DEN, EDF R&D INCLUDE(Common) -INCLUDE(UnitTest) SET(PROJECT_HEADERS PrimitivesAPI.h @@ -67,7 +66,3 @@ ENDIF(WIN32) INSTALL(TARGETS _PrimitivesAPI DESTINATION ${SHAPER_INSTALL_SWIG}) INSTALL(TARGETS PrimitivesAPI DESTINATION ${SHAPER_INSTALL_BIN}) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/PrimitivesAPI.py DESTINATION ${SHAPER_INSTALL_SWIG}) - -# Tests -ADD_UNIT_TESTS(TestBox.py - TestCylinder.py) \ No newline at end of file -- 2.39.2