Commit Graph

14 Commits

Author SHA1 Message Date
berniev
64f9251cae link gmock 2023-08-04 18:48:33 -06:00
Ajinkya Dahale
532b391b69 [Sketcher] [gtest] Add SketchObject test
Create a document and then add a `SketchObject` to it. Does not work without
creating document.

Also `FCConfig.h` is needed for `FC_OS_WIN32`.
2023-07-21 22:43:45 -05:00
Jonas Bähr
b1782ee3d6 Fix build of "tests" on macOS
Building the C++ unit tests failed for
 tests/src/App/Metadata.cpp
 tests/src/Base/Reader.cpp
because some XML headers were not found. This was because the XercesC
include dir was not in the search list for headers.
I cannot say why only macOS seems to be affected, but it's not the first
time, see e.g a1776d3e74
2023-06-08 10:57:13 -04:00
Chris Hennes
c9f73bda9e App/Toponaming: Minor refactoring and tests for StringID 2023-05-11 14:34:35 -05:00
Chris Hennes
22d8c8f0dd Sketcher: Add gtest unit test framework 2023-04-22 20:56:29 +02:00
wmayer
645812b8f7 Tests: suppress warnings C4251 in test module 2023-03-12 17:58:11 +01:00
wmayer
519d26e13c CMake: fix linking error in test function when linking Python statically 2023-02-19 20:51:44 +01:00
berniev
9a05a04dad Improve unit testing directory structure
Separate Qt tests and gtest tests
Add a basic shadow of the project structure
Add a few simple tests to demonstrate usage
2023-01-30 07:15:09 -07:00
wmayer
a89d7b7355 Test: [skip ci] add tests for Base::Tools::getUniqueName 2022-12-30 16:07:26 +01:00
wmayer
7bd0394f13 Test: [skip ci] fix build failure when linking Python statically 2022-12-05 15:34:58 +01:00
wmayer
f6cf0e7f3d Test: [skip ci] fix linking errors of Google tests with MSVC 2022-12-02 14:49:36 +01:00
wmayer
97ab7714fe Base: fix InventorBuilder and add more unit tests 2022-12-01 18:05:57 +01:00
wmayer
1d7369e321 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00
berniev
b3274122e3 Introduce GoogleTest C++ unit testing framework 2022-12-01 12:33:14 +01:00