directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r642064 - /directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java
Date Fri, 28 Mar 2008 02:08:43 GMT
Author: akarasulu
Date: Thu Mar 27 19:08:42 2008
New Revision: 642064

URL: http://svn.apache.org/viewvc?rev=642064&view=rev
Log:
fix compilation error due to exception throws

Modified:
    directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java

Modified: directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java?rev=642064&r1=642063&r2=642064&view=diff
==============================================================================
--- directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java
(original)
+++ directory/sandbox/akarasulu/bigbang/apacheds/core-cursor/src/test/java/org/apache/directory/server/core/cursor/ListCursorTest.java
Thu Mar 27 19:08:42 2008
@@ -21,7 +21,6 @@
 
 import junit.framework.TestCase;
 
-import java.io.IOException;
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
@@ -37,7 +36,7 @@
  */
 public class ListCursorTest extends TestCase
 {
-    public void testEmptyList() throws IOException
+    public void testEmptyList() throws Exception
     {
         ListCursor<String> cursor = new ListCursor<String>();
 
@@ -47,7 +46,7 @@
     }
 
 
-    public void testSingleElementList() throws IOException
+    public void testSingleElementList() throws Exception
     {
         ListCursor<String> cursor = new ListCursor<String>( Collections.singletonList(
"singleton" ) );
         cursor.close();
@@ -130,7 +129,7 @@
     }
 
 
-    public void testManyElementList() throws IOException
+    public void testManyElementList() throws Exception
     {
         List<String> list = new ArrayList<String>();
         list.add( "item 1" );



Mime
View raw message