MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / AssertMetadataMatches

Method AssertMetadataMatches

tests/src/App/Metadata.cpp:219–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217 }
218
219 void AssertMetadataMatches(App::Metadata& testObject)
220 {
221 ASSERT_EQ(testObject.name(), _name);
222 ASSERT_EQ(testObject.description(), _description);
223 ASSERT_EQ(testObject.version(), App::Meta::Version(_version));
224 }
225
226private:
227 std::string _name = "TestAddon";

Callers

nothing calls this directly

Calls 4

VersionFunction · 0.50
nameMethod · 0.45
descriptionMethod · 0.45
versionMethod · 0.45

Tested by

no test coverage detected