Commit Graph

18 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
Chris Hennes
11fa271eb5 Test: Support system GTest, and give warning if no submodule (#13662) 2024-06-03 10:40:35 -05:00
Pesc0
108e2c175f fix qbytearray length out of bound 2023-09-19 12:38:27 -05:00
pre-commit-ci[bot]
222a2520b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
2ad35ea03e App/Toponaming: Add tests for findTagInElementName
Also apply clang-tidy to that function, and fix an error with the postfix return.
2023-07-15 22:47:08 -05:00
Chris Hennes
e7f8f26bd5 App/Toponaming: Basic tests and linter issues 2023-07-14 23:03:18 -05:00
Pesc0
4a8d3853ba [Toponaming] create ElementMap class (#9175)
* Copypaste ElementMap
* Add MappedNameRef
* Fix missing include
* Copypaste `findTagInElementName`
* fix error introduced _somewhere_
* refactor toponaming constants
* Move `findTagInElementName` in `MappedName`
* reintroduce workaround to compile ElementMap
* Added missing functions copied from complexgeodata
* fix last compile errors, reorder and format files
* remove recursive refs to ComplexGeoData
* Add more comments
* fixed comments and added tests
* added FIXME, make functions private, misc fixes
* Move static functions from complexGeoData to PostfixStringReferences. Rename to ElementNamingUtils
* Fix broken includes due to previous change
* Revert constants from string to const char*
* added childmap tests and made hasher public
* Make functions private
* Added remaining tests
* removed bool return from `erase` functions
* fix missing appexport

Co-authored-by: John Dupuy <jdupuy98@gmail.com>
2023-06-15 09:05:24 -05:00
Chris Hennes
e04bf47d8d Formatting: Apply pre-commit to tests/src 2023-04-06 08:07:53 +02:00
luzpaz
0f42e9ed09 Toponaming: fix whitespace in App/MappedName.cpp 2023-04-01 15:21:01 +00:00
Pesc0
dce458d1e8 Added all tests and minor fixes 2023-03-19 02:55:24 +01:00
Chris Hennes
88a06ce6d5 App/Toponaming: Add IndexedName tests for MappedName class 2023-03-19 01:57:54 +01:00
Pesc0
2721a83a08 Improved some tests 2023-03-19 01:32:29 +01:00
Pesc0
86333b210d Remove use of = operator in object construction 2023-03-19 00:41:13 +01:00
Pesc0
5e5719a435 Fixed tests 2023-03-18 19:44:18 +01:00
Pesc0
6a6cda538f Use AAA pattern in test suite 2023-03-17 01:43:34 +01:00
Pesc0
1562179bdc MappedName unit tests almost complete 2023-03-17 01:43:34 +01:00
Pesc0
62246b951a Added initial tests to MappedName 2023-03-17 01:43:34 +01:00
Pesc0
5600c564be Added MappedName class 2023-03-17 01:42:53 +01:00