directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r774816 - /directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Date Thu, 14 May 2009 15:21:20 GMT
Author: elecharny
Date: Thu May 14 15:21:19 2009
New Revision: 774816

URL: http://svn.apache.org/viewvc?rev=774816&view=rev
Log:
Switched to Jnuit 4.4

Modified:
    directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java

Modified: directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java?rev=774816&r1=774815&r2=774816&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
(original)
+++ directory/apacheds/trunk/core/src/test/java/org/apache/directory/server/core/changelog/MemoryChangeLogStoreTest.java
Thu May 14 15:21:19 2009
@@ -30,7 +30,6 @@
 
 import javax.naming.NamingException;
 
-import junit.framework.TestCase;
 import org.apache.directory.server.core.authn.LdapPrincipal;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
@@ -45,6 +44,9 @@
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotSame;
+import static org.junit.Assert.assertNull;
 
 
 /**
@@ -53,7 +55,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class MemoryChangeLogStoreTest extends TestCase
+public class MemoryChangeLogStoreTest
 {
     MemoryChangeLogStore store;
 
@@ -63,7 +65,6 @@
     @Before
     public void setUp() throws Exception
     {
-        super.setUp();
         store = new MemoryChangeLogStore();
 
         oidsMap.put( SchemaConstants.UID_AT, new OidNormalizer( SchemaConstants.UID_AT_OID,
new NoOpNormalizer() ) );
@@ -79,7 +80,6 @@
     @After
     public void tearDown() throws Exception
     {
-        super.tearDown();
         store = null;
     }
 



Mime
View raw message