You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2006/08/23 00:29:12 UTC
svn commit: r433781 -
/directory/branches/apacheds/1.0/server-unit/src/test/java/org/apache/directory/server/DelITest.java
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();
}