directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r602524 - /directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java
Date Sat, 08 Dec 2007 18:35:06 GMT
Author: akarasulu
Date: Sat Dec  8 10:35:05 2007
New Revision: 602524

URL: http://svn.apache.org/viewvc?rev=602524&view=rev
Log:
allow using ignored annotation on test classes

Modified:
    directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java

Modified: directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java?rev=602524&r1=602523&r2=602524&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java
(original)
+++ directory/apacheds/branches/bigbang/core-integ/src/main/java/org/apache/directory/server/core/integ/CiSuite.java
Sat Dec  8 10:35:05 2007
@@ -19,16 +19,14 @@
 package org.apache.directory.server.core.integ;
 
 
+import static org.apache.directory.server.core.integ.state.TestServiceContext.*;
+import org.junit.internal.requests.IgnoredClassRunner;
 import org.junit.internal.runners.InitializationError;
 import org.junit.runner.Runner;
 import org.junit.runner.notification.Failure;
 import org.junit.runner.notification.RunNotifier;
 import org.junit.runners.Suite;
 
-import static org.apache.directory.server.core.integ.state.TestServiceContext.shutdown;
-import static org.apache.directory.server.core.integ.state.TestServiceContext.cleanup;
-import static org.apache.directory.server.core.integ.state.TestServiceContext.destroy;
-
 import javax.naming.NamingException;
 import java.io.IOException;
 import java.util.List;
@@ -62,6 +60,10 @@
             {
                 CiRunner cir = ( CiRunner) runner;
                 cir.setSuite( this );
+            }
+            else if ( runner instanceof IgnoredClassRunner )
+            {
+                // allow this one
             }
             else
             {



Mime
View raw message