Commit Graph

55 Commits

Author SHA1 Message Date
bgbsww
046e43651c Toponaming/Part: Correct elementsMatch to test all entries 2024-03-03 19:49:59 -05:00
Vincenzo Calligaro
0e7aa5f7bc Part/Toponaming: Tests for flushElementMap and resetElementMap (#12471)
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Added test for resetElementMap()
 * Added test for flushElementMap()
 * restored ComplexGeoData::resetElementMap to RT fork
 * modified TopoShape::resetElementMap to match the restored signature of ComplexGeoData::resetElementMap
 * added checks in TopoShape::makeShapeWithElementMap to avoid segfaults
 * added check in TopoShape::setElementComboName to avoid segfaults
 * restored testFindSubShapesForSourceWithTypeAndIndex
 * modified test saveDocFileWithNoElementMap to match the restored signature of ComplexGeoData::resetElementMap
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Removed comments in ComplexGeoData::resetElementMap()
 * Changed TopoShape::resetElementMap():: from virtual to override
 * Removed comment in TopoShape::resetElementMap()
 * Added comments about differences between main and RT fork
 * Removed comment in test saveDocFileWithNoElementMap
 * Updated expected test result in makeElementCompoundTwoShapesGeneratesMap
 * Updated expected test result in resetElementMapTest
 * Fixed typo in test flushElementMapTest
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * updated expected tests results after previous methods modifications

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-29 13:27:27 -06:00
bgbsww
68fd2934cf Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
bgbsww
698f306c18 Toposhape/Part: Clean and test replacEShape and removEShape 2024-02-28 16:53:29 -05:00
bgbsww
16c29ceb27 Toponaming/Part: Add tests and clean makeElementBSplineFace and makeElementFilledFace 2024-02-27 09:57:27 -06:00
Chris Hennes
c356223702 Merge pull request #12572 from bgbsww/bgbsww-toponamingMakeElementRevolve
Toponaming/Part: make element revolve and prism
2024-02-26 15:32:22 -06:00
bgbsww
1fa89ea4c1 Toponaming/Part: Cleaning and tests for makeElementRevolve, makeElementPrism, makeElementPrismUntil 2024-02-23 15:04:28 -05:00
bgbsww
331881ae22 Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:37:47 -05:00
bgbsww
85b5cfc62a Merge branch 'main' into bgbsww-toponamingMakeElementSliceMirror 2024-02-23 10:24:44 -05:00
bgbsww
68edc6f123 Merge branch 'main' into bgbsww-toponamingMakeElementSolid 2024-02-22 20:06:51 -05:00
bgbsww
405bf03ce9 Clean and add tests for makeElementSolid 2024-02-22 19:18:08 -05:00
bgbsww
e33e0a3f5e Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-22 17:28:35 -05:00
bgbsww
dbe7c9d372 Toposhape/Part: Cleanups and tests for makeElementSlice, makeElementSlices, and makeElementMirror 2024-02-22 17:16:46 -05:00
bgbsww
715faeac54 Toposhape/Part: clean, add tests for makeElementFillet and makeElementChamfer 2024-02-22 08:27:40 -05:00
Chris Hennes
14d2915e6c Merge pull request #12528 from bgbsww/bgbsww-toponamingMoveEqualOperator
Toponaming/Part:  Bring in = operator, resetMap and flushMap overrides, and fix affecte…
2024-02-21 16:08:32 -06:00
bgbsww
d7f14d3df5 Bring in = operator, resetMap and flushMap overrides, and fix affected tests 2024-02-21 12:13:16 -05:00
bgbsww
b5eafe6783 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-21 12:00:51 -05:00
bgbsww
b2cad5297a Toponaming/Part: Clean and add tests for elementTransform methods 2024-02-21 11:56:22 -05:00
bgbsww
917093b550 Toposhape/Part: Clean GeneralFuse, Fuse, Cut; add tests; tweak other tests 2024-02-20 15:10:28 -05:00
Vincenzo Calligaro
5763ac32b0 Part/Toponaming: tests for MapperHistory (#12402)
* Part/Toponaming: MapperHistory
 * added test for MapperHistory::modified
 * added test for MapperHistory::generated
 * renamed edges in the test for MapperHistory::modified

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-18 16:42:41 -06:00
bgbsww
10095d2625 Toponaming/Part: Add tests and clean 2024-02-17 21:13:08 -05:00
bgbsww
5db6ef559e Toponaming/Part: tests addition and cleaning 2024-02-17 18:07:23 -05:00
bgbsww
abde135776 Toponaming/Part: Cleanup makeElementPipeShell, add tests, and some delinting 2024-02-16 22:16:58 -05:00
bgbsww
921be4daaa Toponaming/Part: Clean and add tests 2024-02-16 14:01:12 -05:00
bgbsww
ac618d8ec5 TopoNaming/Part: cleanups and tests 2024-02-15 19:07:19 -05:00
bgbsww
61bcd553ee Toponaming/Part: Clean up linearize, add tests, and some delinting 2024-02-15 16:53:01 -05:00
Chris Hennes
779c63c2fd Merge pull request #12414 from bgbsww/bgbsww-toponamingSearchSubShape
Toponaming/Part: Add  searchSubShape as findSubShapesWithSharedVertex
2024-02-15 12:49:42 -06:00
bgbsww
6c3f250e4c Toponaming/Part: Add tests for searchSubShape 2024-02-15 12:36:23 -05:00
Chris Hennes
9917565d95 Merge pull request #12405 from bgbsww/bgbsww-toponamingMakeElementDraft
Toponaming/Part: Transfer in MakeElementDraft
2024-02-14 21:10:56 -06:00
bgbsww
6e9cd051f2 Toponaming/Part: Cleanup and test makeElementDraft 2024-02-14 12:20:10 -05:00
Chris Hennes
d89f4d7f29 Merge pull request #12366 from bgbsww/bgbsww-toponamingGetSubTopoShape
Toponaming/Part:  Move getSubTopoShape
2024-02-13 14:09:24 -06:00
bgbsww
ae4393978f Toponaming/Part: clean, doc, and test getSubTopoShape 2024-02-13 10:14:39 -05:00
bgbsww
7ef0b6ec61 Toponaming/Part: Add tests, dependencies, and cleanup 2024-02-09 16:42:20 -05:00
Zheng, Lei
10d95b9ce9 Toponaming/Part: Transfer makeElementBoolean in 2024-02-09 08:23:30 -05:00
CalligaroV
3066f74747 Part/Toponaming: makeElementWires
* Renamed enum classes members to lowercaseCapword
 * Moved struct ShapeHasher back to TopoShapeMapper.h
 * Added test for MapperMaker::generated
 * Modifications for clang-tidy warnings
 * Formatting

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-08 13:56:30 +01:00
CalligaroV
d9d6ae825e Merge branch 'main' of https://github.com/FreeCAD/FreeCAD.git into toponamingTopoShapeWire
# Conflicts:
#	src/Mod/Part/App/TopoShape.h
#	src/Mod/Part/App/TopoShapeExpansion.cpp
2024-02-07 23:51:49 +01:00
CalligaroV
728c215372 Part/Toponaming: makeElementWires
* Added test for MapperMaker::generated
 * Renamed spit into splitMkr in the test for MapperMaker::modified
 * Disabled test for TopoShape::makeElementWires

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-07 22:23:03 +01:00
CalligaroV
1938bbef69 Part/Toponaming: makeElementWires
* Added test for MapperMaker::modified

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-07 15:10:58 +01:00
bgbsww
46230c9a93 Add Test for MakeElementRefine 2024-02-06 15:58:37 -05:00
CalligaroV
71e42f6a53 Merge branch 'main' into toponamingTopoShapeWire
# Conflicts:
#	src/Mod/Part/App/TopoShape.h
#	src/Mod/Part/App/TopoShapeExpansion.cpp
#	tests/src/Mod/Part/App/TopoShapeExpansion.cpp

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-01-29 19:41:56 +01:00
Chris Hennes
e24ed34867 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
Chris Hennes
f91d39bac3 Tests/Toponaming: Add test framework for makeShapeWithElementMap 2024-01-27 12:00:12 -06:00
bgbsww
5a68162258 Tests for makeElementShell 2024-01-25 11:13:00 -05:00
bgbsww
a6ee5f4df9 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-23 08:14:07 -05:00
bgbsww
96b4171c09 Single char constants 2024-01-22 11:29:41 -05:00
bgbsww
31a6eb5a4a lint / review cleanups 2024-01-22 11:01:19 -05:00
bgbsww
d4c5906c5c Add tests, reformat to modern C++, clean 2024-01-21 15:34:46 -05:00
bgbsww
22b952f8e4 Improve tests 2024-01-19 20:59:19 -05:00
bgbsww
2699c748c8 Improve tests 2024-01-19 10:49:47 -05:00
bgbsww
a2d15df6df Split test cases 2024-01-18 13:15:21 -05:00