MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / ValidateTestProperty

Method ValidateTestProperty

test/common/gtest/gtest.cpp:3631–3635  ·  view source on GitHub ↗

Adds a failure if the key is a reserved attribute of the element named xml_element. Returns true if the property is valid.

Source from the content-addressed store, hash-verified

3629// Adds a failure if the key is a reserved attribute of the element named
3630// xml_element. Returns true if the property is valid.
3631bool TestResult::ValidateTestProperty(const std::string& xml_element,
3632 const TestProperty& test_property) {
3633 return ValidateTestPropertyName(test_property.key(),
3634 GetReservedAttributesForElement(xml_element));
3635}
3636
3637// Clears the object.
3638void TestResult::Clear() {

Callers

nothing calls this directly

Calls 3

ValidateTestPropertyNameFunction · 0.85
keyMethod · 0.80

Tested by

no test coverage detected