/*
- * Copyright 2001-2006 Internet2
+ * Copyright 2001-2010 Internet2
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void testSingleElementUnmarshall() {
auto_ptr<XMLObject> xo(unmarshallElement(singleElementFile));
Action* action = dynamic_cast<Action*>(xo.get());
- TS_ASSERT(action!=NULL);
+ TS_ASSERT(action!=nullptr);
assertEquals("Element content", expectedContent, action->getAction());
assertEquals("Namespace attribute", expectedNamespace, action->getNamespace());
void testSingleElementMarshall() {
Action* action = ActionBuilder::buildAction();
- TS_ASSERT(action!=NULL);
+ TS_ASSERT(action!=nullptr);
action->setAction(expectedContent);
action->setNamespace(expectedNamespace);