Shortcuts for unmarshalling in builder interface, adjusted tests
[shibboleth/cpp-xmltooling.git] / xmltoolingtest / ComplexXMLObjectTest.h
index 82c23ec..de45855 100644 (file)
@@ -43,7 +43,7 @@ public:
         TS_ASSERT(b!=NULL);\r
 \r
         auto_ptr<WildcardXMLObject> wcObject(\r
-            dynamic_cast<WildcardXMLObject*>(b->buildObject(doc->getDocumentElement())->unmarshall(doc->getDocumentElement(),true))\r
+            dynamic_cast<WildcardXMLObject*>(b->buildFromDocument(doc))\r
             );\r
         TS_ASSERT(wcObject.get()!=NULL);\r
 \r