directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r433781 - /directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
Date Tue, 22 Aug 2006 22:29:12 GMT
Author: elecharny
Date: Tue Aug 22 15:29:11 2006
New Revision: 433781

URL: http://svn.apache.org/viewvc?rev=433781&view=rev
Log:
Added a call ti suoer.tearDown() to allow more than one test

Modified:
    directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java

Modified: directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java?rev=433781&r1=433780&r2=433781&view=diff
==============================================================================
--- directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
(original)
+++ directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
Tue Aug 22 15:29:11 2006
@@ -41,11 +41,13 @@
 
     protected void setUp() throws LDAPException, Exception {
         super.setUp();
+        
         con = new LDAPConnection();
         con.connect(3, HOST, port, USER, PASSWORD);
     }
 
-    protected void tearDown() throws LDAPException {
+    protected void tearDown() throws LDAPException, Exception {
+        super.tearDown();
         con.disconnect();
     }
 



Mime
View raw message