*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
//TODO possibly move this functionality up to SAMLObjectBaseTestCase, as optional helper method
XMLObject * buildObject() {
//TODO possibly move this functionality up to SAMLObjectBaseTestCase, as optional helper method
XMLObject * buildObject() {
- const XMLObjectBuilder* builder = XMLObjectBuilder::getBuilder(QName(typeNS,typeName));
- QName type(typeNS,typeName,typePrefix);
+ const XMLObjectBuilder* builder = XMLObjectBuilder::getBuilder(xmltooling::QName(typeNS,typeName));
+ xmltooling::QName type(typeNS,typeName,typePrefix);
return builder->buildObject(elementNS, elementName, elementPrefix, &type);
}
void testSingleElementUnmarshall() {
auto_ptr<XMLObject> xo(unmarshallElement(singleElementFile));
NameIDType* nameid = dynamic_cast<NameIDType*>(xo.get());
return builder->buildObject(elementNS, elementName, elementPrefix, &type);
}
void testSingleElementUnmarshall() {
auto_ptr<XMLObject> xo(unmarshallElement(singleElementFile));
NameIDType* nameid = dynamic_cast<NameIDType*>(xo.get());
void testSingleElementOptionalAttributesUnmarshall() {
auto_ptr<XMLObject> xo(unmarshallElement(singleElementOptionalAttributesFile));
NameIDType* nameid = dynamic_cast<NameIDType*>(xo.get());
void testSingleElementOptionalAttributesUnmarshall() {
auto_ptr<XMLObject> xo(unmarshallElement(singleElementOptionalAttributesFile));
NameIDType* nameid = dynamic_cast<NameIDType*>(xo.get());
void testSingleElementOptionalAttributesMarshall() {
NameIDType* nameid = dynamic_cast<NameIDType*>(buildObject());
void testSingleElementOptionalAttributesMarshall() {
NameIDType* nameid = dynamic_cast<NameIDType*>(buildObject());