You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2007/12/04 01:26:31 UTC
svn commit: r600741 - in /directory/apacheds/branches/bigbang:
core-integ/src/test/java/org/apache/directory/server/core/
core-integ/src/test/java/org/apache/directory/server/core/configuration/
core-unit/src/test/java/org/apache/directory/server/core/...
Author: akarasulu
Date: Mon Dec 3 16:26:29 2007
New Revision: 600741
URL: http://svn.apache.org/viewvc?rev=600741&view=rev
Log:
moved another test into stock suite
Added:
directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/
directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/PartitionConfigurationIT.java
- copied, changed from r600740, directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/configuration/DirectoryPartitionConfigurationITest.java
Removed:
directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/configuration/DirectoryPartitionConfigurationITest.java
Modified:
directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/StockCoreISuite.java
Modified: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/StockCoreISuite.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/StockCoreISuite.java?rev=600741&r1=600740&r2=600741&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/StockCoreISuite.java (original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/StockCoreISuite.java Mon Dec 3 16:26:29 2007
@@ -20,11 +20,12 @@
import org.apache.directory.server.core.authn.SimpleAuthenticationIT;
import org.apache.directory.server.core.collective.CollectiveAttributeServiceIT;
+import org.apache.directory.server.core.configuration.PartitionConfigurationIT;
import org.apache.directory.server.core.integ.CiSuite;
import org.apache.directory.server.core.integ.ServiceScope;
import org.apache.directory.server.core.integ.SetupMode;
-import org.apache.directory.server.core.integ.annotations.Scope;
import org.apache.directory.server.core.integ.annotations.Mode;
+import org.apache.directory.server.core.integ.annotations.Scope;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@@ -38,7 +39,8 @@
@RunWith ( CiSuite.class )
@Suite.SuiteClasses ( {
SimpleAuthenticationIT.class,
- CollectiveAttributeServiceIT.class
+ CollectiveAttributeServiceIT.class,
+ PartitionConfigurationIT.class
} )
@Scope ( ServiceScope.TESTSUITE )
@Mode ( SetupMode.ROLLBACK )
Copied: directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/PartitionConfigurationIT.java (from r600740, directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/configuration/DirectoryPartitionConfigurationITest.java)
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/PartitionConfigurationIT.java?p2=directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/PartitionConfigurationIT.java&p1=directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/configuration/DirectoryPartitionConfigurationITest.java&r1=600740&r2=600741&rev=600741&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-unit/src/test/java/org/apache/directory/server/core/configuration/DirectoryPartitionConfigurationITest.java (original)
+++ directory/apacheds/branches/bigbang/core-integ/src/test/java/org/apache/directory/server/core/configuration/PartitionConfigurationIT.java Mon Dec 3 16:26:29 2007
@@ -22,11 +22,15 @@
import junit.framework.Assert;
import org.apache.directory.server.core.DirectoryService;
+import org.apache.directory.server.core.integ.CiRunner;
+import org.apache.directory.server.core.integ.ServiceScope;
+import org.apache.directory.server.core.integ.annotations.Scope;
import org.apache.directory.server.core.jndi.CoreContextFactory;
import org.apache.directory.server.core.partition.Partition;
import org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition;
-import org.apache.directory.server.core.unit.AbstractAdminTestCase;
import org.apache.directory.shared.ldap.message.AttributesImpl;
+import org.junit.Test;
+import org.junit.runner.RunWith;
import javax.naming.Context;
import javax.naming.InitialContext;
@@ -41,13 +45,13 @@
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
* @version $Rev$
*/
-public class DirectoryPartitionConfigurationITest extends AbstractAdminTestCase
+@RunWith ( CiRunner.class )
+public class PartitionConfigurationIT
{
- public DirectoryPartitionConfigurationITest()
- {
- }
+ public static DirectoryService service;
+ @Test
public void testAddAndRemove() throws Exception
{
Partition partition = new JdbmPartition();