void testSingleElementOptionalAttributesUnmarshall() {\r
auto_ptr<XMLObject> xo(unmarshallElement(singleElementOptionalAttributesFile));\r
Attribute& a = dynamic_cast<Attribute&>(*xo.get());\r
- TSM_ASSERT_SAME_DATA("AttributeName", expectedAttributeName, a.getAttributeName(), XMLString::stringLen(expectedAttributeName));\r
- TSM_ASSERT_SAME_DATA("AttributeNamespace", expectedAttributeNamespace, a.getAttributeNamespace(), XMLString::stringLen(expectedAttributeNamespace));\r
+ assertEquals("AttributeName", expectedAttributeName, a.getAttributeName());\r
+ assertEquals("AttributeNamespace", expectedAttributeNamespace, a.getAttributeNamespace());\r
}\r
\r
void testChildElementsUnmarshall() {\r