[java-identity-provider] 03/03: JSE-30 Make test tidy up behind itself

Rod Widdowson rdw at steadingsoftware.com
Tue Mar 17 10:53:52 EDT 2020


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=6c0184f4c87d2c35abbb40ba79b0e740c17236bf

commit 6c0184f4c87d2c35abbb40ba79b0e740c17236bf
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Mar 17 14:52:03 2020 +0000

    JSE-30 Make test tidy up behind itself
    
    https://issues.shibboleth.net/jira/browse/JSE-30
---
 .../spring/relyingparty/metadata/HTTPResourceConfigurationTests.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResourceConfigurationTests.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResourceConfigurationTests.java
index aa37c6d..a54d4bf 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResourceConfigurationTests.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/HTTPResourceConfigurationTests.java
@@ -57,7 +57,7 @@ public class HTTPResourceConfigurationTests {
         MockPropertySource propSource = new MockPropertySource("localProperties");
         propSource.setProperty(PROP_RESOURCE_URL, RepositorySupport.buildHTTPResourceURL(REPO_IDP, DOC_XML, false));
         
-        final Path p = Files.createTempDirectory("HTTPResourceTest");
+        final Path p = Files.createTempDirectory("HTTPResourceConfigurationTests");
         theDir = p.toFile();
         
         globalContext = new GenericApplicationContext();
@@ -101,6 +101,7 @@ public class HTTPResourceConfigurationTests {
             }
             f.delete();
         }
+        dir.delete();
     }
 
     

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


More information about the commits mailing list