X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FNameIDPolicy20Test.h;h=587e9ade0386111aca832ef7472982dec1eb3246;hp=9751f9c308f7015478cf1cace22795bba4f6c2e8;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/saml2/core/impl/NameIDPolicy20Test.h b/samltest/saml2/core/impl/NameIDPolicy20Test.h index 9751f9c..587e9ad 100644 --- a/samltest/saml2/core/impl/NameIDPolicy20Test.h +++ b/samltest/saml2/core/impl/NameIDPolicy20Test.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. @@ -46,14 +46,14 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); NameIDPolicy* policy = dynamic_cast(xo.get()); - TS_ASSERT(policy!=NULL); + TS_ASSERT(policy!=nullptr); TSM_ASSERT_EQUALS("AllowCreate attribute presence", xmlconstants::XML_BOOL_NULL, policy->getAllowCreate()); } void testSingleElementOptionalAttributesUnmarshall() { auto_ptr xo(unmarshallElement(singleElementOptionalAttributesFile)); NameIDPolicy* policy = dynamic_cast(xo.get()); - TS_ASSERT(policy!=NULL); + TS_ASSERT(policy!=nullptr); assertEquals("Format attribute", expectedFormat, policy->getFormat()); assertEquals("SPNameQualifier attribute", expectedSPNameQualifier, policy->getSPNameQualifier()); TSM_ASSERT_DIFFERS("AllowCreate attribute presence", xmlconstants::XML_BOOL_NULL, policy->getAllowCreate());