X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=samltest%2Fsaml2%2Fcore%2Fimpl%2FStatusDetail20Test.h;h=954666a09864159c075964f3976d4637e967f8af;hb=f1208cd2f514700244816377443c4951dc22c848;hp=df9805de760c2d1c7d706abed3735e29514386b0;hpb=66136f386ddbdd855e1a078e13e19ddbf64a01e2;p=shibboleth%2Fcpp-opensaml.git diff --git a/samltest/saml2/core/impl/StatusDetail20Test.h b/samltest/saml2/core/impl/StatusDetail20Test.h index df9805d..954666a 100644 --- a/samltest/saml2/core/impl/StatusDetail20Test.h +++ b/samltest/saml2/core/impl/StatusDetail20Test.h @@ -1,17 +1,21 @@ -/* - * Copyright 2001-2006 Internet2 - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at +/** + * Licensed to the University Corporation for Advanced Internet + * Development, Inc. (UCAID) under one or more contributor license + * agreements. See the NOTICE file distributed with this work for + * additional information regarding copyright ownership. * - * http://www.apache.org/licenses/LICENSE-2.0 + * UCAID licenses this file to you under the Apache License, + * Version 2.0 (the "License"); you may not use this file except + * in compliance with the License. You may obtain a copy of the + * License at * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, + * either express or implied. See the License for the specific + * language governing permissions and limitations under the License. */ #include "internal.h" @@ -35,7 +39,7 @@ public: void testSingleElementUnmarshall() { auto_ptr xo(unmarshallElement(singleElementFile)); StatusDetail* sd= dynamic_cast(xo.get()); - TS_ASSERT(sd!=NULL); + TS_ASSERT(sd!=nullptr); TSM_ASSERT_EQUALS("StatusDetail child elements", sd->getUnknownXMLObjects().size(), 0); } @@ -43,7 +47,7 @@ public: void IGNOREtestChildElementsUnmarshall() { auto_ptr xo(unmarshallElement(childElementsFile)); StatusDetail* sd= dynamic_cast(xo.get()); - TS_ASSERT(sd!=NULL); + TS_ASSERT(sd!=nullptr); TSM_ASSERT_EQUALS("StatusDetail child elements", sd->getUnknownXMLObjects().size(), 3); }