You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2010/03/18 18:26:56 UTC
svn commit: r924909 -
/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Author: kayyagari
Date: Thu Mar 18 17:26:55 2010
New Revision: 924909
URL: http://svn.apache.org/viewvc?rev=924909&view=rev
Log:
fixed exception
Modified:
directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java?rev=924909&r1=924908&r2=924909&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java (original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchIT.java Thu Mar 18 17:26:55 2010
@@ -52,6 +52,7 @@ import org.apache.directory.server.core.
import org.apache.directory.server.core.integ.FrameworkRunner;
import org.apache.directory.shared.ldap.constants.JndiPropertyConstants;
import org.apache.directory.shared.ldap.constants.SchemaConstants;
+import org.apache.directory.shared.ldap.exception.LdapException;
import org.apache.directory.shared.ldap.ldif.LdifUtils;
import org.apache.directory.shared.ldap.message.AliasDerefMode;
import org.junit.Before;
@@ -658,7 +659,7 @@ public class SearchIT extends AbstractLd
* @param sn the surName of the person
* @return the attributes of a new person entry
*/
- protected Attributes getPersonAttributes( String sn, String cn ) throws NamingException
+ protected Attributes getPersonAttributes( String sn, String cn ) throws LdapException
{
Attributes attributes = LdifUtils.createAttributes(
"objectClass: top",