[java-idp-integration-tests] 01/03: Do not restore config files after every test.

Tom Zeller tzeller at dragonacea.biz
Wed Nov 11 20:57:47 EST 2015


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

tzeller pushed a commit to branch master
in repository java-idp-integration-tests.

commit 6c5c8ce5a2e80fb1be37dd371b4cdee162b6caa4
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Nov 11 14:17:21 2015 -0600

    Do not restore config files after every test.
    
    Now that a new idp.home directory is created for every test class, it is
    no longer necessary to restore idp.properties and relying-party.xml.
---
 src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 66f6b6a..89a2bb8 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -781,7 +781,6 @@ public abstract class BaseIntegrationTest
      * 
      * @throws IOException if an I/O error occurs
      */
-    @AfterMethod(alwaysRun = true)
     public void restoreIdPProperties() throws IOException {
         final Path pathToIdPPropertiesDist =
                 Paths.get(pathToIdPHome.toAbsolutePath().toString(), "dist", "conf", "idp.properties.dist");
@@ -795,7 +794,6 @@ public abstract class BaseIntegrationTest
      * 
      * @throws IOException if an I/O error occurs
      */
-    @AfterMethod(alwaysRun = true)
     public void restoreRelyingPartyXML() throws IOException {
         final Path pathToRelyingParty =
                 Paths.get(pathToIdPHome.toAbsolutePath().toString(), "conf", "relying-party.xml");

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


More information about the commits mailing list