Skip to content

Commit

Permalink
Part/Toponaming: Clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chennes committed Dec 27, 2023
1 parent b553d18 commit 9ddd026
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/src/Mod/Part/App/TopoShapeCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
#include <gp_Quaternion.hxx>
#include <TopoDS_TVertex.hxx>
#include <BRep_TVertex.hxx>
#include <BRep_TEdge.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepAlgoAPI_Common.hxx>
#include <BRepAlgoAPI_Fuse.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
#include <TopoDS_Edge.hxx>
Expand Down Expand Up @@ -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<Data::MappedElement>& 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<TopoDS_Shape>* ancestors = nullptr);
*/

TEST_F(TopoShapeCacheTest, ConstructionFromTopoDS_Shape)
{
// Arrange - create a TopoDS shape with some location transformation applied
Expand Down

0 comments on commit 9ddd026

Please sign in to comment.