Multi-line svn commit, see body.
[shibboleth/cpp-opensaml.git] / samltest / saml1 / core / impl / AttributeTest.h
index 0e5afe8..8a99211 100644 (file)
@@ -50,8 +50,8 @@ public:
     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