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/11/23 04:04:01 UTC

svn commit: r106265 - /incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java

Author: akarasulu
Date: Mon Nov 22 19:04:00 2004
New Revision: 106265

Modified:
   incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java
Log:
forgot to normalize filter expression tree to generate same expression

Modified: incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java
Url: http://svn.apache.org/viewcvs/incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java?view=diff&rev=106265&p1=incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java&r1=106264&p2=incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java&r2=106265
==============================================================================
--- incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java	(original)
+++ incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java	Mon Nov 22 19:04:00 2004
@@ -688,7 +688,7 @@
         BranchNode node = null ;
         node = ( BranchNode ) parser.parse(
                 "( & ( ou = Human Resources ) ( l=Santa Clara ) )" ) ;
-
+        normalizer.visit( node );
         req.setFilter( node );
 
         System.out.println( "Generated SearchRequest for test:" );
@@ -722,6 +722,7 @@
         node.printToBuffer( buf0 );
         System.out.println( buf0.toString() );
         node = ( BranchNode ) decoded.getFilter();
+        normalizer.visit( node );
         StringBuffer buf1 = new StringBuffer();
         node.printToBuffer( buf1 );
         System.out.println( buf1.toString() );