[java-opensaml COMMIT] in /trunk: opensaml-saml-api/src/main/java/org/opensaml/saml/config/DefaultBootstrap.java open...

noreply at shibboleth.net noreply at shibboleth.net
Wed Apr 11 23:43:31 BST 2012


Author: putmanb
Date: Wed Apr 11 23:43:31 2012
New Revision: 3035

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3035&view=rev
Log:
Bye bye, DefaultBootstrap. Stay in touch.

Removed:
    trunk/opensaml-saml-api/src/main/java/org/opensaml/saml/config/DefaultBootstrap.java
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/common/TestBootstrap.java
Modified:
    trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/config/ESAPITest.java

Modified: trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/config/ESAPITest.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/config/ESAPITest.java?rev=3035&r1=3034&r2=3035&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/config/ESAPITest.java (original)
+++ trunk/opensaml-saml-impl/src/test/java/org/opensaml/saml/config/ESAPITest.java Wed Apr 11 23:43:31 2012
@@ -17,24 +17,17 @@
 
 package org.opensaml.saml.config;
 
-import org.testng.annotations.Test;
-import org.testng.annotations.BeforeMethod;
-import org.testng.Assert;
-import org.opensaml.saml.config.DefaultBootstrap;
+import org.opensaml.core.OpenSAMLInitBaseTestCase;
 import org.owasp.esapi.ESAPI;
 import org.owasp.esapi.Encoder;
 import org.owasp.esapi.SecurityConfiguration;
+import org.testng.Assert;
+import org.testng.annotations.Test;
 
 /**
- * Test that OWASPI ESAPI is initialized properly by the default bootstrap process.
+ * Test that OWASPI ESAPI is initialized properly by the default InitializationService.
  */
-public class ESAPITest {
-
-    /** {@inheritDoc} */
-    @BeforeMethod
-    protected void setUp() throws Exception {
-        DefaultBootstrap.bootstrap();
-    }
+public class ESAPITest extends OpenSAMLInitBaseTestCase {
     
     /**
      *  Tests that basic initialization has happened.



More information about the commits mailing list