mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Configuration - Add support for Google Test framework in CMake #443
Enhance Google Test integration and add support for test projects. Each Toolkit have GTests folder with place for new tests. For adding new tests needs to extend FILES.cmake files in each GTests folder. The single executable is created for each toolkit with all tests. The tests grouped by module and toolkit with :: as separator. Added option to download GTest by Cmake if not found. Add GTest for PLib_JacobiPolynomial with comprehensive test cases Add GTest for TCollection_AsciiString and TCollection_ExtendedString Set C++ standard to C++14 for GTest compatibility if required
This commit is contained in:
5
src/ModelingData/TKBRep/GTests/FILES.cmake
Normal file
5
src/ModelingData/TKBRep/GTests/FILES.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
# Test source files for TKBRep
|
||||
set(OCCT_TKBRep_GTests_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(OCCT_TKBRep_GTests_FILES
|
||||
)
|
5
src/ModelingData/TKG2d/GTests/FILES.cmake
Normal file
5
src/ModelingData/TKG2d/GTests/FILES.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
# Test source files for TKG2d
|
||||
set(OCCT_TKG2d_GTests_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(OCCT_TKG2d_GTests_FILES
|
||||
)
|
5
src/ModelingData/TKG3d/GTests/FILES.cmake
Normal file
5
src/ModelingData/TKG3d/GTests/FILES.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
# Test source files for TKG3d
|
||||
set(OCCT_TKG3d_GTests_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(OCCT_TKG3d_GTests_FILES
|
||||
)
|
5
src/ModelingData/TKGeomBase/GTests/FILES.cmake
Normal file
5
src/ModelingData/TKGeomBase/GTests/FILES.cmake
Normal file
@@ -0,0 +1,5 @@
|
||||
# Test source files for TKGeomBase
|
||||
set(OCCT_TKGeomBase_GTests_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(OCCT_TKGeomBase_GTests_FILES
|
||||
)
|
Reference in New Issue
Block a user