X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FAudienceRestriction20Test.h;h=a751de689e87267f2f8b2fe642132c987db52ac1;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hp=4ecc66c0e9fe08bc5bd01b67ec08a84223005a78;hpb=932cfaae2176c2eba1a9938dc420591a9551a7f3;p=shibboleth%2Fcpp-opensaml.git diff --git a/samltest/saml2/core/impl/AudienceRestriction20Test.h b/samltest/saml2/core/impl/AudienceRestriction20Test.h index 4ecc66c..a751de6 100644 --- a/samltest/saml2/core/impl/AudienceRestriction20Test.h +++ b/samltest/saml2/core/impl/AudienceRestriction20Test.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. @@ -36,7 +36,7 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); AudienceRestriction* ar = dynamic_cast(xo.get()); - TS_ASSERT(ar!=NULL); + TS_ASSERT(ar!=nullptr); TSM_ASSERT_EQUALS("# of Audience child elements", 0, ar->getAudiences().size()); } @@ -44,7 +44,7 @@ public: void testChildElementsUnmarshall() { auto_ptr xo(unmarshallElement(childElementsFile)); AudienceRestriction* ar= dynamic_cast(xo.get()); - TS_ASSERT(ar!=NULL); + TS_ASSERT(ar!=nullptr); TSM_ASSERT_EQUALS("# of Audience child elements", 2, ar->getAudiences().size()); }