From 9ddd0262aa4794b22d459518aef28a28bdca63c1 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Tue, 26 Dec 2023 20:53:34 -0600 Subject: [PATCH] Part/Toponaming: Clean up tests --- tests/src/Mod/Part/App/TopoShapeCache.cpp | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/src/Mod/Part/App/TopoShapeCache.cpp b/tests/src/Mod/Part/App/TopoShapeCache.cpp index d75dfc18614f0..b3faa3ca2db7f 100644 --- a/tests/src/Mod/Part/App/TopoShapeCache.cpp +++ b/tests/src/Mod/Part/App/TopoShapeCache.cpp @@ -8,9 +8,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -62,22 +60,6 @@ class TopoShapeCacheTest: public ::testing::Test App::StringHasherRef _hasher; }; -/* -Methods to test - ------------- -DONE - explicit TopoShapeCache(const TopoDS_Shape& tds); -DONE - void insertRelation(const ShapeRelationKey& key, const QVector& value); -DONE - bool isTouched(const TopoDS_Shape& tds) const; -DONE Ancestry& getAncestry(TopAbs_ShapeEnum type); -DONE int countShape(TopAbs_ShapeEnum type); -DONE int findShape(const TopoDS_Shape& parent, const TopoDS_Shape& subShape); -DONE TopoDS_Shape findShape(const TopoDS_Shape& parent, TopAbs_ShapeEnum type, int index); -TopoDS_Shape findAncestor(const TopoDS_Shape& parent, - const TopoDS_Shape& subShape, - TopAbs_ShapeEnum type, - std::vector* ancestors = nullptr); - */ - TEST_F(TopoShapeCacheTest, ConstructionFromTopoDS_Shape) { // Arrange - create a TopoDS shape with some location transformation applied