directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r329622 - /directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java
Date Sun, 30 Oct 2005 20:01:52 GMT
Author: elecharny
Date: Sun Oct 30 12:01:49 2005
New Revision: 329622

URL: http://svn.apache.org/viewcvs?rev=329622&view=rev
Log:
Rollbacked the tests, the attributes are now supposed to be String instead of byte[]

Modified:
    directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java

Modified: directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java?rev=329622&r1=329621&r2=329622&view=diff
==============================================================================
--- directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java
(original)
+++ directory/shared/ldap/branches/shared-ldap-utf8/common/src/test/org/apache/ldap/common/filter/FilterParserImplTest.java
Sun Oct 30 12:01:49 2005
@@ -52,7 +52,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( ou ~= people )" );
         assertEquals( "ou", node.getAttribute() );
-        assertEquals( "people", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "people", node.getValue() );
         assertEquals( AbstractExprNode.APPROXIMATE, node.getAssertionType() );
     }
 
@@ -85,7 +85,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( ou;lang-de >= \\23\\42asdl fkajsd
)" );
         assertEquals( "ou;lang-de", node.getAttribute() );
-        assertEquals( "\\23\\42asdl fkajsd", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "\\23\\42asdl fkajsd", node.getValue() );
     }
 
 
@@ -93,7 +93,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( ou;lang-de;version-124 >= \\23\\42asdl
fkajsd )" );
         assertEquals( "ou;lang-de;version-124", node.getAttribute() );
-        assertEquals( "\\23\\42asdl fkajsd", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "\\23\\42asdl fkajsd", node.getValue() );
     }
 
 
@@ -101,7 +101,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( 1.3.4.2;lang-de;version-124 >=
\\23\\42asdl fkajsd )" );
         assertEquals( "1.3.4.2;lang-de;version-124", node.getAttribute() );
-        assertEquals( "\\23\\42asdl fkajsd", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "\\23\\42asdl fkajsd", node.getValue() );
     }
 
 
@@ -161,7 +161,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( ou = people )" );
         assertEquals( "ou", node.getAttribute() );
-        assertEquals( "people", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "people", node.getValue() );
         assertEquals( AbstractExprNode.EQUALITY, node.getAssertionType() );
     }
 
@@ -170,7 +170,7 @@
     {
         SimpleNode node = ( SimpleNode ) parser.parse( "( ou = people/in/my/company )" );
         assertEquals( "ou", node.getAttribute() );
-        assertEquals( "people/in/my/company", StringUtils.toUtf8( node.getValue() ) );
+        assertEquals( "people/in/my/company", node.getValue() );
         assertEquals( AbstractExprNode.EQUALITY, node.getAssertionType() );
     }
 



Mime
View raw message