Convert from NULL macro to nullptr, remove unused zlib code.
[shibboleth/cpp-opensaml.git] / samltest / saml2 / core / impl / StatusCode20Test.h
index 984a9ff..50487ab 100644 (file)
@@ -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,16 +38,16 @@ public:
     void testSingleElementUnmarshall() {
         auto_ptr<XMLObject> xo(unmarshallElement(singleElementFile));
         StatusCode* sc = dynamic_cast<StatusCode*>(xo.get());
-        TS_ASSERT(sc!=NULL);
+        TS_ASSERT(sc!=nullptr);
         assertEquals("Value attribute", Value, sc->getValue());
-        TSM_ASSERT("StatusCode child element", sc->getStatusCode()==NULL);
+        TSM_ASSERT("StatusCode child element", sc->getStatusCode()==nullptr);
     }
 
     void testChildElementsUnmarshall() {
         auto_ptr<XMLObject> xo(unmarshallElement(childElementsFile));
         StatusCode* sc = dynamic_cast<StatusCode*>(xo.get());
-        TS_ASSERT(sc!=NULL);
-        TSM_ASSERT("StatusCode child element", sc->getStatusCode()!=NULL);
+        TS_ASSERT(sc!=nullptr);
+        TSM_ASSERT("StatusCode child element", sc->getStatusCode()!=nullptr);
     }
 
     void testSingleElementMarshall() {