[java-identity-provider] 04/04: IDP-1423 Remove spurious test

Rod Widdowson rdw at steadingsoftware.com
Sat Mar 30 07:15:28 EDT 2019


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

rdw 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=d4099ec60f69e1fa45f8eabb5a290ca3a4c91c78

commit d4099ec60f69e1fa45f8eabb5a290ca3a4c91c78
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Mar 30 11:14:05 2019 +0000

    IDP-1423 Remove spurious test
    
    https://issues.shibboleth.net/jira/browse/IDP-1423
    
    The test was not enabled and tested for the remoed attribute "tlsTrustEngineRef"
---
 .../metadata/DynamicHTTPMetadataProviderParserTest.java     |  8 --------
 .../spring/relyingparty/metadata/dynamicDeprecated.xml      | 13 -------------
 2 files changed, 21 deletions(-)

diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
index 9954b74..4e8d5e5 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
@@ -105,14 +105,6 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
         Assert.assertEquals(resolver.getIndexes().size(), 3);
     }
 
-    @Test(enabled=false)
-    public void testDeprecated() throws Exception {
-        getBean(FunctionDrivenDynamicHTTPMetadataResolver.class, 
-                "dynamicDeprecated.xml", "beans.xml", "httpClient.xml");
-        
-        // We can't really test the actual values, this is just to test that parser, factory bean, etc are ok.
-    }
-
     @Test
     public void testClientSecurityParamsParams() throws Exception {
         getBean(FunctionDrivenDynamicHTTPMetadataResolver.class, 
diff --git a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicDeprecated.xml b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicDeprecated.xml
deleted file mode 100644
index 9fdc7ce..0000000
--- a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicDeprecated.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<metadata:MetadataProvider xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
-	xmlns:metadata="urn:mace:shibboleth:2.0:metadata" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
-                       urn:oasis:names:tc:SAML:2.0:metadata http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd"
-
-	id="dynamicClientSecurityParams" xsi:type="metadata:DynamicHTTPMetadataProvider"
-    // TODO
-	tlsTrustEngineRef="tlsEngine"
-    >
-
-</metadata:MetadataProvider>
-                                   
\ 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