You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/06/11 06:04:25 UTC

svn commit: rev 21062 - in incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap: . search

Author: akarasulu
Date: Thu Jun 10 21:04:25 2004
New Revision: 21062

Added:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchRequestTest.java
      - copied, changed from rev 20975, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchRequestTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseDoneRuleTest.java
      - copied, changed from rev 20669, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseDoneRuleTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseEntryTest.java
      - copied, changed from rev 20686, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseEntryTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseReferenceRuleTest.java
      - copied, changed from rev 20673, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseReferenceRuleTest.java
Removed:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchRequestTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseDoneRuleTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseEntryTest.java
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseReferenceRuleTest.java
Log:
moving search stuff into its own package for easier management

Copied: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchRequestTest.java (from rev 20975, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchRequestTest.java)
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchRequestTest.java	(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchRequestTest.java	Thu Jun 10 21:04:25 2004
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.snickers.ldap ;
+package org.apache.snickers.ldap.search ;
 
 
 import java.util.HashSet ;
@@ -44,7 +44,7 @@
     /**
      * Tests an search request decode.
      */
-    public void testModifyRequest() throws Exception
+    public void testSearchRequest() throws Exception
     {
         SearchRequestImpl req = new SearchRequestImpl( 33 ) ;
         req.setBase( "dc=example,dc=com" ) ;
@@ -58,9 +58,10 @@
         req.addAttribute( "attr1" ) ;
         req.addAttribute( "attr2" ) ;
 
+
         FilterParserImpl parser = new FilterParserImpl() ;
         ExprNode node = null ;
-        node =  parser.parse( "( & ( ou = Human Resources ) ( l = SunnyVale ) "
+        node = parser.parse( "( & ( ou = Human Resources ) ( l = SunnyVale ) "
                 + " ( | ( uid = akarasulu ) ( ! ( uid = jbean ) ) ) )" ) ;
         req.setFilter( node ) ;
 

Copied: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseDoneRuleTest.java (from rev 20669, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseDoneRuleTest.java)
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseDoneRuleTest.java	(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseDoneRuleTest.java	Thu Jun 10 21:04:25 2004
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.snickers.ldap ;
+package org.apache.snickers.ldap.search ;
 
 
 import java.util.Iterator ;

Copied: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseEntryTest.java (from rev 20686, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseEntryTest.java)
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseEntryTest.java	(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseEntryTest.java	Thu Jun 10 21:04:25 2004
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.snickers.ldap ;
+package org.apache.snickers.ldap.search ;
 
 
 import java.util.HashSet;

Copied: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseReferenceRuleTest.java (from rev 20673, incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseReferenceRuleTest.java)
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/SearchResponseReferenceRuleTest.java	(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/search/SearchResponseReferenceRuleTest.java	Thu Jun 10 21:04:25 2004
@@ -14,7 +14,7 @@
  *   limitations under the License.
  *
  */
-package org.apache.snickers.ldap ;
+package org.apache.snickers.ldap.search ;
 
 
 import java.util.Iterator ;