directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r806836 - /directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java
Date Sat, 22 Aug 2009 10:33:24 GMT
Author: elecharny
Date: Sat Aug 22 10:33:24 2009
New Revision: 806836

URL: http://svn.apache.org/viewvc?rev=806836&view=rev
Log:
Fixed the Normalizer constructor, passing a MR oid

Modified:
    directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java

Modified: directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java?rev=806836&r1=806835&r2=806836&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java
(original)
+++ directory/apacheds/branches/apacheds-schema/core-entry/src/test/java/org/apache/directory/server/core/entry/ServerStringValueTest.java
Sat Aug 22 10:33:24 2009
@@ -85,7 +85,7 @@
         mr = new TestServerEntryUtils.MR( "1.1.2.1" );
         mr.syntax = s;
         mr.comparator = new StringComparator();
-        mr.normalizer = new DeepTrimToLowerNormalizer();
+        mr.normalizer = new DeepTrimToLowerNormalizer( "1.1.2.1" );
         at = new TestServerEntryUtils.AT( "1.1.3.1" );
         at.setEquality( mr );
         at.setOrdering( mr );
@@ -494,7 +494,7 @@
                 throw new IllegalArgumentException( "Not a valid value" );
             }
         };
-        mr.normalizer = new NoOpNormalizer();
+        mr.normalizer = new NoOpNormalizer( mr.getOid() );
         at.setEquality( mr );
         at.setSyntax( s );
 



Mime
View raw message