directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r924921 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
Date Thu, 18 Mar 2010 18:00:55 GMT
Author: elecharny
Date: Thu Mar 18 18:00:54 2010
New Revision: 924921

URL: http://svn.apache.org/viewvc?rev=924921&view=rev
Log:
Fixed exceptions

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java?rev=924921&r1=924920&r2=924921&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
(original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/collective/CollectiveAttributeServiceIT.java
Thu Mar 18 18:00:54 2010
@@ -43,6 +43,8 @@ import javax.naming.directory.SearchResu
 
 import org.apache.directory.server.core.integ.AbstractLdapTestUnit;
 import org.apache.directory.server.core.integ.FrameworkRunner;
+import org.apache.directory.shared.ldap.exception.LdapException;
+import org.apache.directory.shared.ldap.ldif.LdapLdifException;
 import org.apache.directory.shared.ldap.ldif.LdifUtils;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -57,7 +59,7 @@ import org.junit.runner.RunWith;
 @RunWith ( FrameworkRunner.class )
 public class CollectiveAttributeServiceIT extends AbstractLdapTestUnit
 {
-    private Attributes getTestEntry( String cn ) throws NamingException
+    private Attributes getTestEntry( String cn ) throws LdapLdifException, LdapException
     {
         Attributes subentry = LdifUtils.createAttributes( 
             "objectClass: top",
@@ -69,7 +71,7 @@ public class CollectiveAttributeServiceI
     }
 
 
-    private Attributes getTestSubentry()  throws NamingException
+    private Attributes getTestSubentry()  throws LdapLdifException, LdapException
     {
         Attributes subentry = LdifUtils.createAttributes( 
             "objectClass: top",
@@ -83,7 +85,7 @@ public class CollectiveAttributeServiceI
     }
 
 
-    private Attributes getTestSubentry2() throws NamingException
+    private Attributes getTestSubentry2() throws LdapLdifException, LdapException
     {
         Attributes subentry = LdifUtils.createAttributes( 
             "objectClass: top",
@@ -97,7 +99,7 @@ public class CollectiveAttributeServiceI
     }
 
 
-    private Attributes getTestSubentry3() throws NamingException
+    private Attributes getTestSubentry3() throws LdapLdifException, LdapException
     {
         Attributes subentry = LdifUtils.createAttributes( 
             "objectClass: top",
@@ -439,7 +441,7 @@ public class CollectiveAttributeServiceI
     
     
     @Test
-    public void testAddRegularEntryWithCollectiveAttribute() throws NamingException
+    public void testAddRegularEntryWithCollectiveAttribute() throws LdapException
     {
         Attributes entry = getTestEntry( "Ersin Er" );
         entry.put( "c-l", "Turkiye" );



Mime
View raw message