MCPcopy Create free account
hub / github.com/apache/singa / ValidateTestProperty

Method ValidateTestProperty

test/gtest/gtest-all.cc:3316–3320  ·  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

3314// Adds a failure if the key is a reserved attribute of the element named
3315// xml_element. Returns true if the property is valid.
3316bool TestResult::ValidateTestProperty(const std::string& xml_element,
3317 const TestProperty& test_property) {
3318 return ValidateTestPropertyName(test_property.key(),
3319 GetReservedAttributesForElement(xml_element));
3320}
3321
3322// Clears the object.
3323void TestResult::Clear() {

Callers

nothing calls this directly

Calls 3

ValidateTestPropertyNameFunction · 0.85
keyMethod · 0.80

Tested by

no test coverage detected