directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r894340 - /directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Date Tue, 29 Dec 2009 10:28:52 GMT
Author: elecharny
Date: Tue Dec 29 10:28:52 2009
New Revision: 894340

URL: http://svn.apache.org/viewvc?rev=894340&view=rev
Log:
o Added a specific DS for this class to speed up the other tests
o Removed a BeforeClass method

Modified:
    directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java

Modified: directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java?rev=894340&r1=894339&r2=894340&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Tue Dec 29 10:28:52 2009
@@ -46,6 +46,7 @@
 import javax.naming.ldap.LdapContext;
 
 import org.apache.directory.server.core.annotations.ApplyLdifs;
+import org.apache.directory.server.core.annotations.DSBuilder;
 import org.apache.directory.server.core.integ.AbstractTestUnit;
 import org.apache.directory.server.core.integ.FrameworkRunner;
 import org.apache.directory.shared.ldap.constants.JndiPropertyConstants;
@@ -54,7 +55,6 @@
 import org.apache.directory.shared.ldap.message.AliasDerefMode;
 import org.apache.directory.shared.ldap.util.AttributeUtils;
 import org.junit.Before;
-import org.junit.BeforeClass;
 import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -67,6 +67,7 @@
  * @version $Rev$
  */
 @RunWith ( FrameworkRunner.class )
+@DSBuilder( name="SearchDS" )
 @ApplyLdifs(
     {
         "dn: m-oid=2.2.0, ou=attributeTypes, cn=apachemeta, ou=schema\n" +
@@ -153,12 +154,6 @@
 
     public static LdapContext sysRoot;
 
-    @BeforeClass
-    public static void setup() throws Exception
-    {
-    }
-    
-    
     /**
      * @param sysRoot the system root to add entries to
      * @throws NamingException on errors



Mime
View raw message