X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FAdvice20Test.h;h=379bd774396c9f98830a5a17752d59315bfa6311;hp=d2c22bdd81c272f544ad7ad708fda94975af2747;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/saml2/core/impl/Advice20Test.h b/samltest/saml2/core/impl/Advice20Test.h index d2c22bd..379bd77 100644 --- a/samltest/saml2/core/impl/Advice20Test.h +++ b/samltest/saml2/core/impl/Advice20Test.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. @@ -38,7 +38,7 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); Advice* advice = dynamic_cast(xo.get()); - TS_ASSERT(advice!=NULL); + TS_ASSERT(advice!=nullptr); TSM_ASSERT_EQUALS("# of AssertionIDRef child elements", 0, advice->getAssertionIDRefs().size()); TSM_ASSERT_EQUALS("# of AssertionURIRef child elements", 0, advice->getAssertionURIRefs().size()); @@ -50,7 +50,7 @@ public: void testChildElementsUnmarshall() { auto_ptr xo(unmarshallElement(childElementsFile)); Advice* advice= dynamic_cast(xo.get()); - TS_ASSERT(advice!=NULL); + TS_ASSERT(advice!=nullptr); TSM_ASSERT_EQUALS("# of AssertionIDRef child elements", 3, advice->getAssertionIDRefs().size()); TSM_ASSERT_EQUALS("# of AssertionURIRef child elements", 2, advice->getAssertionURIRefs().size());