directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r992778 - in /directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec: LdapDecoderTest.java LdapMessageTest.java bind/BindRequestTest.java
Date Sun, 05 Sep 2010 13:09:03 GMT
Author: elecharny
Date: Sun Sep  5 13:09:03 2010
New Revision: 992778

URL: http://svn.apache.org/viewvc?rev=992778&view=rev
Log:
Fixed failing tests

Modified:
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapDecoderTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapMessageTest.java
    directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestTest.java

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapDecoderTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapDecoderTest.java?rev=992778&r1=992777&r2=992778&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapDecoderTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapDecoderTest.java
Sun Sep  5 13:09:03 2010
@@ -320,7 +320,7 @@ public class LdapDecoderTest
         }
         catch ( DecoderException de )
         {
-            assertEquals( "ERR_00002 Bad transition !", de.getMessage() );
+            assertEquals( "ERR_BAD_TRANSITION_00002 Bad transition !", de.getMessage() );
             return;
         }
 
@@ -371,7 +371,7 @@ public class LdapDecoderTest
         }
         catch ( DecoderException de )
         {
-            assertEquals( "ERR_00002 Bad transition !", de.getMessage() );
+            assertEquals( "ERR_BAD_TRANSITION_00002 Bad transition !", de.getMessage() );
             return;
         }
 

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapMessageTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapMessageTest.java?rev=992778&r1=992777&r2=992778&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapMessageTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/LdapMessageTest.java
Sun Sep  5 13:09:03 2010
@@ -257,7 +257,7 @@ public class LdapMessageTest
                     default:
                         String res = de.getMessage();
 
-                        if ( res.equals( "ERR_00002 Bad transition !" ) || res.startsWith(
"Universal tag " )
+                        if ( res.equals( "ERR_BAD_TRANSITION_00002 Bad transition !" ) ||
res.startsWith( "Universal tag " )
                             || res.startsWith( "ERR_TRUNCATED_PDU_00010 Truncated PDU" )
)
                         {
                             assertTrue( true );

Modified: directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestTest.java?rev=992778&r1=992777&r2=992778&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestTest.java
(original)
+++ directory/shared/trunk/ldap/src/test/java/org/apache/directory/shared/ldap/codec/bind/BindRequestTest.java
Sun Sep  5 13:09:03 2010
@@ -316,7 +316,7 @@ public class BindRequestTest
         }
         catch ( DecoderException de )
         {
-            assertEquals( "ERR_00002 Bad transition !", de.getMessage() );
+            assertEquals( "ERR_BAD_TRANSITION_00002 Bad transition !", de.getMessage() );
             return;
         }
 



Mime
View raw message