[java-identity-provider COMMIT] /trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescrip...

noreply at shibboleth.net noreply at shibboleth.net
Tue Jul 23 18:48:48 EDT 2013


Author: scantor
Date: Tue Jul 23 18:48:47 2013
New Revision: 4612

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4612&view=rev
Log:
Fix test annotation.

Modified:
    trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java

Modified: trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java?rev=4612&r1=4611&r2=4612&view=diff
==============================================================================
--- trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java (original)
+++ trunk/idp-authn-api/src/test/java/net/shibboleth/idp/authn/AuthenticationFlowDescriptorTest.java Tue Jul 23 18:48:47 2013
@@ -19,12 +19,10 @@
 
 import java.util.Arrays;
 
-import javax.security.auth.Subject;
-
 import net.shibboleth.utilities.java.support.logic.ConstraintViolationException;
 
 import org.testng.Assert;
-import org.testng.annotations.BeforeTest;
+import org.testng.annotations.BeforeMethod;
 import org.testng.annotations.Test;
 
 /** {@link AuthenticationFlowDescriptor} unit test. */
@@ -32,7 +30,7 @@
 
     private AuthenticationFlowDescriptor descriptor;
     
-    @BeforeTest public void setUp() {
+    @BeforeMethod public void setUp() {
         descriptor = new AuthenticationFlowDescriptor("test");
     }
 



More information about the commits mailing list