directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r568807 - in /directory: apacheds/trunk/pom.xml apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java shared/trunk/pom.xml
Date Thu, 23 Aug 2007 02:00:40 GMT
Author: elecharny
Date: Wed Aug 22 19:00:40 2007
New Revision: 568807

URL: http://svn.apache.org/viewvc?rev=568807&view=rev
Log:
Fixed the pom to use MINA 1.1.2

Modified:
    directory/apacheds/trunk/pom.xml
    directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java
    directory/shared/trunk/pom.xml

Modified: directory/apacheds/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/pom.xml?rev=568807&r1=568806&r2=568807&view=diff
==============================================================================
--- directory/apacheds/trunk/pom.xml (original)
+++ directory/apacheds/trunk/pom.xml Wed Aug 22 19:00:40 2007
@@ -63,13 +63,13 @@
       <dependency>
         <groupId>org.apache.mina</groupId>
         <artifactId>mina-core</artifactId>
-        <version>1.0.3</version>
+        <version>1.1.2</version>
       </dependency>
 
       <dependency>
         <groupId>org.apache.mina</groupId>
         <artifactId>mina-filter-ssl</artifactId>
-        <version>1.0.3</version>
+        <version>1.1.2</version>
       </dependency>
 
       <dependency>

Modified: directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java?rev=568807&r1=568806&r2=568807&view=diff
==============================================================================
--- directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java
(original)
+++ directory/apacheds/trunk/server-unit/src/test/java/org/apache/directory/server/SearchTest.java
Wed Aug 22 19:00:40 2007
@@ -190,6 +190,7 @@
     {
         ctx.unbind( RDN );
         ctx.close();
+    	
         ctx = null;
         super.tearDown();
     }
@@ -1021,6 +1022,23 @@
         catch ( NameNotFoundException nnfe )
         {
             assertTrue( true );
+        }
+    }
+    
+    public void testSearchInvalidDN() throws NamingException, Exception
+    {
+        SearchControls controls = new SearchControls();
+        controls.setSearchScope( SearchControls.ONELEVEL_SCOPE );
+        
+        try
+        {
+            ctx.search( "myBadDN", "(objectClass=*)", controls );
+            fail();
+        }
+        catch ( NamingException ne )
+        {
+        	assertTrue( true );
+        	ne.printStackTrace();
         }
     }
     

Modified: directory/shared/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/shared/trunk/pom.xml?rev=568807&r1=568806&r2=568807&view=diff
==============================================================================
--- directory/shared/trunk/pom.xml (original)
+++ directory/shared/trunk/pom.xml Wed Aug 22 19:00:40 2007
@@ -24,7 +24,7 @@
     <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-api</artifactId>
-      <version>1.4.0</version>
+      <version>1.4.3</version>
     </dependency>
 
     <dependency>
@@ -86,7 +86,7 @@
       <dependency>
         <groupId>org.apache.mina</groupId>
         <artifactId>mina-core</artifactId>
-        <version>1.0.3</version>
+        <version>1.1.2</version>
       </dependency>
     </dependencies>
   </dependencyManagement>



Mime
View raw message