X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FProxyRestriction20Test.h;h=709d974851dddc20ea5465c12c81d6772e103cd3;hp=e85780973cf1d3175b856a05c72405412d9ef213;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/saml2/core/impl/ProxyRestriction20Test.h b/samltest/saml2/core/impl/ProxyRestriction20Test.h index e857809..709d974 100644 --- a/samltest/saml2/core/impl/ProxyRestriction20Test.h +++ b/samltest/saml2/core/impl/ProxyRestriction20Test.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. @@ -39,7 +39,7 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); ProxyRestriction* pr = dynamic_cast(xo.get()); - TS_ASSERT(pr!=NULL); + TS_ASSERT(pr!=nullptr); TSM_ASSERT_EQUALS("Count attribute presence", false, pr->getCount().first); TSM_ASSERT_EQUALS("# of Audience child elements", 0, pr->getAudiences().size()); @@ -48,7 +48,7 @@ public: void testSingleElementOptionalAttributesUnmarshall() { auto_ptr xo(unmarshallElement(singleElementOptionalAttributesFile)); ProxyRestriction* pr = dynamic_cast(xo.get()); - TS_ASSERT(pr!=NULL); + TS_ASSERT(pr!=nullptr); TSM_ASSERT_EQUALS("Count attribute presence", true, pr->getCount().first); TSM_ASSERT_EQUALS("Count attribute value", expectedCount, pr->getCount().second); @@ -58,7 +58,7 @@ public: void testChildElementsUnmarshall() { auto_ptr xo(unmarshallElement(childElementsFile)); ProxyRestriction* pr= dynamic_cast(xo.get()); - TS_ASSERT(pr!=NULL); + TS_ASSERT(pr!=nullptr); TSM_ASSERT_EQUALS("Count attribute presence", false, pr->getCount().first); TSM_ASSERT_EQUALS("# of Audience child elements", 2, pr->getAudiences().size());