directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r106265 - /incubator/directory/snickers/trunk/ldap-ber-provider/src/test/org/apache/snickers/ldap/decoder/search/SearchRequestTest.java
Date Tue, 23 Nov 2004 03:04:01 GMT
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() );

Mime
View raw message