[java-identity-provider] branch master updated: Fix deprecated test warnings.

Scott Cantor cantor.2 at osu.edu
Sat Jun 3 16:50:09 EDT 2017


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

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  5487dd2   Fix deprecated test warnings.
5487dd2 is described below

commit 5487dd24a9ee8aa414432adf133ae747607e3f10
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Sat Jun 3 16:50:06 2017 -0400

    Fix deprecated test warnings.
---
 .../attribute/encoding/impl/SAML1StringNameIdentifierEncoderTest.java   | 1 +
 .../idp/saml/attribute/encoding/impl/SAML2StringNameIDEncoderTest.java  | 1 +
 .../resolver/impl/CryptoTransientIdAttributeDefinitionTest.java         | 2 +-
 .../attribute/resolver/impl/TransientIdAttributeDefinitionTest.java     | 1 +
 .../idp/saml/nameid/impl/CryptoTransientNameIDDecoderTest.java          | 1 +
 .../idp/saml/nameid/impl/CryptoTransientNameIdentifierDecoderTest.java  | 1 +
 .../idp/saml/nameid/impl/LegacySAML1NameIdentifierGeneratorTest.java    | 1 +
 .../shibboleth/idp/saml/nameid/impl/LegacySAML2NameIDGeneratorTest.java | 1 +
 .../java/net/shibboleth/idp/saml/nameid/impl/TransientDecoderTest.java  | 1 +
 9 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1StringNameIdentifierEncoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1StringNameIdentifierEncoderTest.java
index afddb4f..1c2cb42 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1StringNameIdentifierEncoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML1StringNameIdentifierEncoderTest.java
@@ -34,6 +34,7 @@ import org.testng.annotations.Test;
 /**
  * Tests for {@link SAML1StringNameIdentifierEncoder}.
  */
+ at SuppressWarnings("deprecation")
 public class SAML1StringNameIdentifierEncoderTest extends OpenSAMLInitBaseTestCase {
 
     @Test public void settersGetters() {
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2StringNameIDEncoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2StringNameIDEncoderTest.java
index af060ed..b170db8 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2StringNameIDEncoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/encoding/impl/SAML2StringNameIDEncoderTest.java
@@ -34,6 +34,7 @@ import org.testng.annotations.Test;
 /**
  * Tests for {@link SAML2StringNameIDEncoder}.
  */
+ at SuppressWarnings("deprecation")
 public class SAML2StringNameIDEncoderTest extends OpenSAMLInitBaseTestCase {
 
     @Test public void settersGetters() {
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/CryptoTransientIdAttributeDefinitionTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/CryptoTransientIdAttributeDefinitionTest.java
index 4000a5f..063830d 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/CryptoTransientIdAttributeDefinitionTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/CryptoTransientIdAttributeDefinitionTest.java
@@ -46,7 +46,7 @@ import org.testng.annotations.Test;
  * 
  * @link {@link TransientIdAttributeDefinition} with an injected {@link CryptoTransientIdGenerationStrategy}
  */
-
+ at SuppressWarnings("deprecation")
 public class CryptoTransientIdAttributeDefinitionTest extends OpenSAMLInitBaseTestCase {
 
     private static final String ID = "CryptoTransientIdAttributeDefn";
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/TransientIdAttributeDefinitionTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/TransientIdAttributeDefinitionTest.java
index 5f19f00..3d4fa33 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/TransientIdAttributeDefinitionTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/attribute/resolver/impl/TransientIdAttributeDefinitionTest.java
@@ -40,6 +40,7 @@ import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
 /** test for {@link net.shibboleth.idp.saml.attribute.resolver.impl.TransientIdAttributeDefinition}. */
+ at SuppressWarnings("deprecation")
 public class TransientIdAttributeDefinitionTest extends OpenSAMLInitBaseTestCase {
 
     /** The name. */
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIDDecoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIDDecoderTest.java
index 646f746..783af80 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIDDecoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIDDecoderTest.java
@@ -57,6 +57,7 @@ import org.testng.annotations.Test;
 /**
  * test for {@link CryptoTransientNameIDDecoder}.
  */
+ at SuppressWarnings("deprecation")
 public class CryptoTransientNameIDDecoderTest extends OpenSAMLInitBaseTestCase {
 
     private final static long TIMEOUT = 50000;
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIdentifierDecoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIdentifierDecoderTest.java
index c6fa295..001cbfe 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIdentifierDecoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/CryptoTransientNameIdentifierDecoderTest.java
@@ -54,6 +54,7 @@ import org.testng.annotations.Test;
 /**
  * test for {@link CryptoTransientNameIdentifierDecoder}.
  */
+ at SuppressWarnings("deprecation")
 public class CryptoTransientNameIdentifierDecoderTest extends OpenSAMLInitBaseTestCase {
 
     private final static long TIMEOUT = 5000;
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML1NameIdentifierGeneratorTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML1NameIdentifierGeneratorTest.java
index 0d15972..eab773f 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML1NameIdentifierGeneratorTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML1NameIdentifierGeneratorTest.java
@@ -39,6 +39,7 @@ import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
 /** Unit test for {@link LegacySAML1NameIdentifierGenerator}. */
+ at SuppressWarnings("deprecation")
 public class LegacySAML1NameIdentifierGeneratorTest extends OpenSAMLInitBaseTestCase {
 
     /** The name we give the test attribute. */
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML2NameIDGeneratorTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML2NameIDGeneratorTest.java
index d30c38f..754bded 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML2NameIDGeneratorTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/LegacySAML2NameIDGeneratorTest.java
@@ -40,6 +40,7 @@ import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
 /** Unit test for {@link LegacySAML2NameIDGenerator}. */
+ at SuppressWarnings("deprecation")
 public class LegacySAML2NameIDGeneratorTest extends OpenSAMLInitBaseTestCase {
 
     /** The name we give the test attribute. */
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/TransientDecoderTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/TransientDecoderTest.java
index 5758542..a983034 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/TransientDecoderTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/nameid/impl/TransientDecoderTest.java
@@ -43,6 +43,7 @@ import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
 /** {@link BaseTransientDecoder} unit test. */
+ at SuppressWarnings("deprecation")
 public class TransientDecoderTest extends OpenSAMLInitBaseTestCase {
 
     private static final String RECIPIENT="TheRecipient";

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


More information about the commits mailing list