X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FAuthzDecisionStatement20Test.h;h=d0f3e14bdccc33804b56c1a1d16998e34c56c253;hp=e937141dd077011cafa0f90f953d7ee4dfb8f0a8;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/saml2/core/impl/AuthzDecisionStatement20Test.h b/samltest/saml2/core/impl/AuthzDecisionStatement20Test.h index e937141..d0f3e14 100644 --- a/samltest/saml2/core/impl/AuthzDecisionStatement20Test.h +++ b/samltest/saml2/core/impl/AuthzDecisionStatement20Test.h @@ -1,5 +1,5 @@ /* - * Copyright 2001-2007 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. @@ -42,25 +42,25 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); AuthzDecisionStatement* statement = dynamic_cast(xo.get()); - TS_ASSERT(statement!=NULL); + TS_ASSERT(statement!=nullptr); assertEquals("Resource attribute", expectedResource, statement->getResource()); assertEquals("Decision attribute", expectedDecision, statement->getDecision()); TSM_ASSERT_EQUALS("# of Action child elements", 0, statement->getActions().size()); - TS_ASSERT(statement->getEvidence()==NULL); + TS_ASSERT(statement->getEvidence()==nullptr); } void testChildElementsUnmarshall() { auto_ptr xo(unmarshallElement(childElementsFile)); AuthzDecisionStatement* statement= dynamic_cast(xo.get()); - TS_ASSERT(statement!=NULL); + TS_ASSERT(statement!=nullptr); - assertEquals("Resource attribute", NULL, statement->getResource()); - assertEquals("Decision attribute", NULL, statement->getDecision()); + assertEquals("Resource attribute", nullptr, statement->getResource()); + assertEquals("Decision attribute", nullptr, statement->getDecision()); TSM_ASSERT_EQUALS("# of Action child elements", 3, statement->getActions().size()); - TS_ASSERT(statement->getEvidence()!=NULL); + TS_ASSERT(statement->getEvidence()!=nullptr); } void testSingleElementMarshall() {