X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FIssuer20Test.h;h=b9ec4df1563cfa30b8f203d760d3e6e2c0de5da0;hp=7c87aa99e5c3fd0c351c09e58dd1c4cec788622e;hb=e9554c255ad3c91c7c4976e7a1a54905903e66a2;hpb=50f75e2cd3ddaca8e9808a3e5af9517deca3c9c3 diff --git a/samltest/saml2/core/impl/Issuer20Test.h b/samltest/saml2/core/impl/Issuer20Test.h index 7c87aa9..b9ec4df 100644 --- a/samltest/saml2/core/impl/Issuer20Test.h +++ b/samltest/saml2/core/impl/Issuer20Test.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. @@ -52,7 +52,7 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); Issuer* issuer = dynamic_cast(xo.get()); - TS_ASSERT(issuer!=NULL); + TS_ASSERT(issuer!=nullptr); assertEquals("Element content", expectedContent, issuer->getName()); } @@ -60,7 +60,7 @@ public: void testSingleElementOptionalAttributesUnmarshall() { auto_ptr xo(unmarshallElement(singleElementOptionalAttributesFile)); Issuer* issuer = dynamic_cast(xo.get()); - TS_ASSERT(issuer!=NULL); + TS_ASSERT(issuer!=nullptr); assertEquals("NameQualifier attribute", expectedNameQualifier, issuer->getNameQualifier()); assertEquals("SPNameQualifier attribute", expectedSPNameQualifier, issuer->getSPNameQualifier()); @@ -72,7 +72,7 @@ public: void testSingleElementMarshall() { Issuer* issuer = IssuerBuilder::buildIssuer(); - TS_ASSERT(issuer!=NULL); + TS_ASSERT(issuer!=nullptr); issuer->setName(expectedContent); assertEquals(expectedDOM, issuer); @@ -80,7 +80,7 @@ public: void testSingleElementOptionalAttributesMarshall() { Issuer* issuer = IssuerBuilder::buildIssuer(); - TS_ASSERT(issuer!=NULL); + TS_ASSERT(issuer!=nullptr); issuer->setNameQualifier(expectedNameQualifier); issuer->setSPNameQualifier(expectedSPNameQualifier);