Commit Graph

48 Commits

Author SHA1 Message Date
Pesc0
6354c37041 Added all tests and minor fixes 2023-03-19 02:55:24 +01:00
Chris Hennes
a920d5109f App/Toponaming: Add IndexedName tests for MappedName class 2023-03-19 01:57:54 +01:00
Pesc0
6b3d99fbbd Improved some tests 2023-03-19 01:32:29 +01:00
Pesc0
f1f1590639 Remove use of = operator in object construction 2023-03-19 00:41:13 +01:00
Pesc0
9af5a71e92 Fixed tests 2023-03-18 19:44:18 +01:00
Pesc0
d589d5205d Use AAA pattern in test suite 2023-03-17 01:43:34 +01:00
Pesc0
2ec169f2a9 MappedName unit tests almost complete 2023-03-17 01:43:34 +01:00
Pesc0
c39f603744 Added initial tests to MappedName 2023-03-17 01:43:34 +01:00
Pesc0
9200160502 Added MappedName class 2023-03-17 01:42:53 +01:00
berniev
8c76b4b321 Finish #8879 and remove the unwanted files 2023-03-16 03:48:59 +01:00
Chris Hennes
902914aaff Merge pull request #8776 from chennes/toponamingIndexedName
App: Toponaming indexed name
2023-03-14 19:21:19 -05:00
Chris Hennes
45c0b634fa App: Clean up IndexedName and add tests
Fixes the matching algorithm when provided a vector of existing names:
The original algorithm was equivalent to a 'startswith' algorithm, when it should
have been testing for exact and complete string equality. This also does some
refactoring to rename and clarify variables and functions, simplifies some
functions by using standard library calls when possible, and addresses various
linter complaints. It also applies our current clang-format to the files.

Co-authored-by: Ajinkya Dahale <AjinkyaDahale@users.noreply.github.com>
2023-03-14 13:08:23 -05:00
berniev
c444fe823b Remove original proof of concept test files as some fail, and that won't work too well with future possible CI 2023-03-14 16:00:13 +01:00
wmayer
0e4f7a1e46 Test: fix license unit test 2023-03-11 03:19:59 +01:00
luzpaz
01e8bbc2bf Fix various typos and whitespace 2023-03-10 14:40:46 +01:00
wmayer
a3a0f74d59 Tests: add zipios++ unit tests 2023-03-09 23:33:52 +01:00
berniev
6c9d7ebc7a an example of using constexpr array for data
simplifies code and removes the need for a class.
2023-03-07 23:22:44 +01:00
berniev
d50d783e26 Multiple files under test in one test file
Put Unit into its own test file and rename Units.cpp to Quantity.cpp
2023-03-02 22:12:21 +01:00
berniev
8c6735b79a test fmt library is basically working 2023-03-02 11:08:23 +01:00
wmayer
3d59883be5 Tests: add test of a matrix without rotation part to raise an exception 2023-02-28 22:28:21 +01:00
wmayer
7abf48f34d Tests: add test to parse string to get quantity 2023-02-28 15:17:06 +01:00
wmayer
c8a35d85fe Base: fix pow() of Quantity 2023-02-27 22:13:08 +01:00
wmayer
b41ba49c5d Tests: add more unit tests 2023-02-27 20:07:01 +01:00
wmayer
201faebb99 Tests: fix Lint issue cppcoreguidelines-init-variables 2023-02-26 13:30:44 +01:00
wmayer
910f1e2481 Test: add unit tests for expressions with operator 2023-02-26 09:00:27 +01:00
wmayer
5aabb718b6 Tests: add unit tests for expression tokenizer 2023-02-26 09:00:27 +01:00
wmayer
946588fed8 Tests: exclude some lint warnings 2023-02-26 08:58:51 +01:00
wmayer
67b14d83a0 Tests: add unit tests for Matrix4D and Rotation 2023-02-26 08:58:51 +01:00
wmayer
9fefd8f5a2 Tests: fix linking error on Windows 2023-02-25 15:27:30 +01:00
wmayer
5ba786a70d Tests: add tests for quantities 2023-02-25 00:33:44 +01:00
Chris Hennes
2603cd6b16 Test(Metadata): Remove catch from Setup()
If an exception occurs while setting up Xerces-C, make the test framework handle it.
Also add a copyright header, and try to quiet down the clang-tidy linter.
2023-02-13 23:46:37 -06:00
wmayer
19420ed747 tests: add unit tests for License 2023-02-12 19:57:41 +01:00
Chris Hennes
51d42630ac App: Add basic test for new Metadata code 2023-02-10 12:40:55 -07:00
berniev
1848f57908 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
000e9a3de4 CMake: fix linking error in test function when linking Python statically 2023-01-09 11:41:22 +01:00
wmayer
464f4754ba Test: [skip ci] simplify and add more tests 2022-12-31 00:17:37 +01:00
wmayer
fd7f93499d Test: [skip ci] add tests for Base::Tools::getUniqueName 2022-12-30 16:07:26 +01:00
wmayer
7e816ac8c2 Tests: add more tests 2022-12-13 17:49:17 +01:00
wmayer
a91e6e9ba6 Base: set values in constructor of NormalItem 2022-12-13 12:47:42 +01:00
wmayer
fa0b80d264 Base: refactor testInventorBuilder 2022-12-03 12:17:53 +01:00
wmayer
6d22c1634c Base: refactor InventorBuilder 2022-12-02 19:06:27 +01:00
wmayer
c195e15f5b Base: refactor InventorBuilder and add more unit tests 2022-12-02 18:53:47 +01:00
wmayer
59fdbddaac Test: [skip ci] make sure tests pass in any order 2022-12-01 22:11:49 +01:00
wmayer
267173b922 Revert "Test: [skip ci] make all example tests pass"
This reverts commit a8158d243000c62512b3c4e5d4ea7fdbd7d22cc7.
2022-12-01 22:04:48 +01:00
wmayer
e7c6262d11 Base: fix InventorBuilder and add more unit tests 2022-12-01 18:05:57 +01:00
wmayer
d56e0f387c Test: [skip ci] make all example tests pass 2022-12-01 16:10:19 +01:00
wmayer
4e8ecc41b6 QtTest: [skip ci] enable Qt testing framework 2022-12-01 13:57:00 +01:00
berniev
edd6bb53de Introduce GoogleTest C++ unit testing framework 2022-12-01 12:33:14 +01:00