[java-identity-provider] branch maint-3.3 updated: Fix unit test checked in with DOS line endings.

Scott Cantor cantor.2 at osu.edu
Mon May 1 20:59:12 EDT 2017


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-3.3
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=2814ea831464f0858cd4d376ecb2748a2b12fb9b

The following commit(s) were added to refs/heads/maint-3.3 by this push:
       new  2814ea8   Fix unit test checked in with DOS line endings.
2814ea8 is described below

commit 2814ea831464f0858cd4d376ecb2748a2b12fb9b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon May 1 20:59:08 2017 -0400

    Fix unit test checked in with DOS line endings.
---
 .../SingleLogoutProfileConfigurationTest.java      | 120 ++++++++++-----------
 1 file changed, 60 insertions(+), 60 deletions(-)

diff --git a/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/SingleLogoutProfileConfigurationTest.java b/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/SingleLogoutProfileConfigurationTest.java
index 02e6dbd..5d8fd31 100644
--- a/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/SingleLogoutProfileConfigurationTest.java
+++ b/idp-saml-api/src/test/java/net/shibboleth/idp/saml/saml2/profile/config/SingleLogoutProfileConfigurationTest.java
@@ -1,61 +1,61 @@
-/*
- * 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. The 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
- *
- *    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.
- */
-
-package net.shibboleth.idp.saml.saml2.profile.config;
-
-import net.shibboleth.idp.saml.profile.config.BasicSAMLArtifactConfiguration;
-import net.shibboleth.idp.saml.profile.config.SAMLArtifactConfiguration;
-import net.shibboleth.utilities.java.support.logic.FunctionSupport;
-import org.opensaml.profile.context.ProfileRequestContext;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-/** Unit test for {@link SingleLogoutProfileConfiguration}. */
-public class SingleLogoutProfileConfigurationTest {
-
-    @Test
-    public void testProfileId() {
-        Assert.assertEquals(SingleLogoutProfileConfiguration.PROFILE_ID,
-                "http://shibboleth.net/ns/profiles/saml2/logout");
-
-        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
-        Assert.assertEquals(config.getId(), SingleLogoutProfileConfiguration.PROFILE_ID);
-    }
-
-    @Test
-    public void testArtifactConfiguration() {
-        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
-        Assert.assertNull(config.getArtifactConfiguration());
-
-        final SAMLArtifactConfiguration artifactConfiguration = new BasicSAMLArtifactConfiguration();
-        config.setArtifactConfiguration(artifactConfiguration);
-
-        Assert.assertSame(config.getArtifactConfiguration(), artifactConfiguration);
-    }
-
-    @Test
-    public void testIndirectArtifactConfiguration() {
-        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
-
-        final SAMLArtifactConfiguration artifactConfiguration = new BasicSAMLArtifactConfiguration();
-        config.setArtifactConfigurationLookupStrategy(
-                FunctionSupport.<ProfileRequestContext,SAMLArtifactConfiguration>constant(artifactConfiguration));
-
-        Assert.assertSame(config.getArtifactConfiguration(), artifactConfiguration);
-    }
-
+/*
+ * 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. The 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
+ *
+ *    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.
+ */
+
+package net.shibboleth.idp.saml.saml2.profile.config;
+
+import net.shibboleth.idp.saml.profile.config.BasicSAMLArtifactConfiguration;
+import net.shibboleth.idp.saml.profile.config.SAMLArtifactConfiguration;
+import net.shibboleth.utilities.java.support.logic.FunctionSupport;
+import org.opensaml.profile.context.ProfileRequestContext;
+import org.testng.Assert;
+import org.testng.annotations.Test;
+
+/** Unit test for {@link SingleLogoutProfileConfiguration}. */
+public class SingleLogoutProfileConfigurationTest {
+
+    @Test
+    public void testProfileId() {
+        Assert.assertEquals(SingleLogoutProfileConfiguration.PROFILE_ID,
+                "http://shibboleth.net/ns/profiles/saml2/logout");
+
+        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
+        Assert.assertEquals(config.getId(), SingleLogoutProfileConfiguration.PROFILE_ID);
+    }
+
+    @Test
+    public void testArtifactConfiguration() {
+        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
+        Assert.assertNull(config.getArtifactConfiguration());
+
+        final SAMLArtifactConfiguration artifactConfiguration = new BasicSAMLArtifactConfiguration();
+        config.setArtifactConfiguration(artifactConfiguration);
+
+        Assert.assertSame(config.getArtifactConfiguration(), artifactConfiguration);
+    }
+
+    @Test
+    public void testIndirectArtifactConfiguration() {
+        final SingleLogoutProfileConfiguration config = new SingleLogoutProfileConfiguration();
+
+        final SAMLArtifactConfiguration artifactConfiguration = new BasicSAMLArtifactConfiguration();
+        config.setArtifactConfigurationLookupStrategy(
+                FunctionSupport.<ProfileRequestContext,SAMLArtifactConfiguration>constant(artifactConfiguration));
+
+        Assert.assertSame(config.getArtifactConfiguration(), artifactConfiguration);
+    }
+
 }
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list