1
0
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:
Pasukhin Dmitry
2025-03-24 08:58:02 +00:00
committed by GitHub
parent 986af180e6
commit 876ccbe977
82 changed files with 1596 additions and 15 deletions

View 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
)

View 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
)

View 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
)

View 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
)