Tests: Reformat to current clang-format standard

This commit is contained in:
Chris Hennes
2023-09-02 12:47:07 -05:00
committed by Chris Hennes
parent d9a6a2b51d
commit 246a387625
6 changed files with 67 additions and 39 deletions

View File

@@ -27,7 +27,8 @@ protected:
_docName = App::GetApplication().getUniqueDocumentName("test");
auto _doc = App::GetApplication().newDocument(_docName.c_str(), "testUser");
// TODO: Do we add a body first, or is just adding sketch sufficient for this test?
_sketchobj = static_cast<Sketcher::SketchObject*>(_doc->addObject("Sketcher::SketchObject"));
_sketchobj =
static_cast<Sketcher::SketchObject*>(_doc->addObject("Sketcher::SketchObject"));
}
void TearDown() override
@@ -44,10 +45,15 @@ private:
// TODO: use shared_ptr or something else here?
Sketcher::SketchObject* _sketchobj;
std::string _docName;
std::vector<const char*> allowedTypes {"Vertex", "Edge", "ExternalEdge", "H_Axis", "V_Axis", "RootPoint"};
std::vector<const char*> allowedTypes {"Vertex",
"Edge",
"ExternalEdge",
"H_Axis",
"V_Axis",
"RootPoint"};
};
TEST_F(SketchObjectTest, createSketchObject) // NOLINT
TEST_F(SketchObjectTest, createSketchObject)// NOLINT
{
// Arrange