directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r224573 - in /directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1: ldap/codec/ spnego/codec/
Date Sat, 23 Jul 2005 23:00:13 GMT
Author: elecharny
Date: Sat Jul 23 16:00:03 2005
New Revision: 224573

URL: http://svn.apache.org/viewcvs?rev=224573&view=rev
Log:
fixed the tests to be compliant with the change in OctetString.toString() returns.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindResponseTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/CompareRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedResponseTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ModifyRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchRequestTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchResultEntryTest.java
    directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/AddRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -120,13 +120,13 @@
         HashMap typesVals = new HashMap();
         
         HashSet lVal1 = new HashSet();
-        lVal1.add("[50][61][72][69][73]");
+        lVal1.add("Paris");
         typesVals.put("l", lVal1);
         
         HashSet lVal2 = new HashSet();
-        lVal2.add("[74][65][73][74][31]");
-        lVal2.add("[74][65][73][74][32]");
-        lVal2.add("[74][65][73][74][33]");
+        lVal2.add("test1");
+        lVal2.add("test2");
+        lVal2.add("test3");
         typesVals.put("attrs", lVal2);
         
         BasicAttribute attributeValue = (BasicAttribute)attributes.get( 0 );

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -92,7 +92,7 @@
         Assert.assertEquals( 3, br.getVersion() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SimpleAuthentication
) );
-        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]", ( ( SimpleAuthentication
) br.getAuthentication() ).getSimple().toString() );
+        Assert.assertEquals( "password", ( ( SimpleAuthentication ) br.getAuthentication()
).getSimple().toString() );
     }
 
     /**
@@ -129,7 +129,7 @@
         }
         catch ( DecoderException de )
         {
-            Assert.assertEquals( "Bad transition from state PROTOCOL_OP_TAG, tag [80]", de.getMessage()
);
+            Assert.assertEquals( "Bad transition from state PROTOCOL_OP_TAG, tag 0x80", de.getMessage()
);
             return;
         }
     	
@@ -249,6 +249,6 @@
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SaslCredentials )
);
         Assert.assertEquals( "KERBEROS_V4", ( ( SaslCredentials ) br.getAuthentication()
).getMechanism() );
-        Assert.assertEquals( "[61][62][63][64][65][66]", ( ( SaslCredentials ) br.getAuthentication()
).getCredentials().toString() );
+        Assert.assertEquals( "abcdef", ( ( SaslCredentials ) br.getAuthentication() ).getCredentials().toString()
);
     }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindResponseTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindResponseTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/BindResponseTest.java
Sat Jul 23 16:00:03 2005
@@ -149,6 +149,6 @@
         Assert.assertEquals( 0, br.getLdapResult().getResultCode() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getLdapResult().getMatchedDN()
);
         Assert.assertEquals( "", br.getLdapResult().getErrorMessage() );
-        Assert.assertEquals( "[41][42]", br.getServerSaslCreds().toString());
+        Assert.assertEquals( "AB", br.getServerSaslCreds().toString());
     }
 }

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/CompareRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/CompareRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/CompareRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/CompareRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -94,7 +94,7 @@
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( "cn=testModify, ou=users, ou=system", compareRequest.getEntry()
);
         Assert.assertEquals( "test", compareRequest.getAttributeDesc() );
-        Assert.assertEquals( "[76][61][6C][75][65]", compareRequest.getAssertionValue().toString()
);
+        Assert.assertEquals( "value", compareRequest.getAssertionValue().toString() );
     }
 
     /**

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -89,7 +89,7 @@
 
         Assert.assertEquals( 1, message.getMessageId() );
         Assert.assertEquals( "1.3.6.1.5.5.2", extendedRequest.getName() );
-        Assert.assertEquals( "[76][61][6C][75][65]", extendedRequest.getValue().toString()
);
+        Assert.assertEquals( "value", extendedRequest.getValue().toString() );
     }
 
     /**

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedResponseTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedResponseTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedResponseTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ExtendedResponseTest.java
Sat Jul 23 16:00:03 2005
@@ -102,7 +102,7 @@
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", extendedResponse.getLdapResult().getMatchedDN()
);
         Assert.assertEquals( "", extendedResponse.getLdapResult().getErrorMessage() );
         Assert.assertEquals( "1.3.6.1.5.5.2", extendedResponse.getName() );
-        Assert.assertEquals( "[76][61][6C][75][65]", extendedResponse.getResponse().toString()
);
+        Assert.assertEquals( "value", extendedResponse.getResponse().toString() );
     }
 
     /**

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/LdapDecoderTest.java
Sat Jul 23 16:00:03 2005
@@ -101,7 +101,7 @@
         Assert.assertEquals( 3, br.getVersion() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SimpleAuthentication
) );
-        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]",
+        Assert.assertEquals( "password",
             ( ( SimpleAuthentication ) br.getAuthentication() ).getSimple().toString() );
     }
 
@@ -221,7 +221,7 @@
         Assert.assertEquals( 3, br.getVersion() );
         Assert.assertEquals( "uid=akarasulu,dc=example,dc=com", br.getName() );
         Assert.assertEquals( true, ( br.getAuthentication() instanceof SimpleAuthentication
) );
-        Assert.assertEquals( "[70][61][73][73][77][6F][72][64]",
+        Assert.assertEquals( "password",
             ( ( SimpleAuthentication ) br.getAuthentication() ).getSimple().toString() );
     }
 
@@ -357,7 +357,7 @@
         }
         catch ( DecoderException de )
         {
-            Assert.assertEquals( "Bad transition from state PROTOCOL_OP_TAG, tag [2D]",
+            Assert.assertEquals( "Bad transition from state PROTOCOL_OP_TAG, tag 0x2D",
                 de.getMessage() );
             return;
         }

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ModifyRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ModifyRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ModifyRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/ModifyRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -131,11 +131,11 @@
         HashMap typesVals = new HashMap();
         
         HashSet lVals = new HashSet();
-        lVals.add("[50][61][72][69][73]");
+        lVals.add("Paris");
         typesVals.put("l", lVals);
         
         HashSet attrsVals = new HashSet();
-        attrsVals.add("[74][65][73][74]");
+        attrsVals.add("test");
         typesVals.put("attrs", attrsVals);
         
         ModificationItem modification = (ModificationItem)modifications.get( 1 );

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchRequestTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchRequestTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchRequestTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchRequestTest.java
Sat Jul 23 16:00:03 2005
@@ -162,7 +162,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[74][6F][70]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("top", assertion.getAssertionValue().toString());
         
         // (& (| (objectclass=top) (ou=contacts) ) (...
         equalityMatch = (AttributeValueAssertionFilter)orFilters.get(1);  
@@ -172,7 +172,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("ou", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[63][6F][6E][74][61][63][74][73]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("contacts", assertion.getAssertionValue().toString());
         
         // (& (| (objectclass=top) (ou=contacts) ) (! ...
         NotFilter notFilter = (NotFilter)andFilters.get(1);
@@ -186,7 +186,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[74][74][74]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("ttt", assertion.getAssertionValue().toString());
         
         ArrayList attributes = sr.getAttributes();
         
@@ -309,7 +309,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[74][6F][70]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("top", assertion.getAssertionValue().toString());
         
         // (& (| (objectclass~=top) (ou<=contacts) ) (...
         AttributeValueAssertionFilter lessOrEqual = (AttributeValueAssertionFilter)orFilters.get(1);
 
@@ -319,7 +319,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("ou", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[63][6F][6E][74][61][63][74][73]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("contacts", assertion.getAssertionValue().toString());
         
         // (& (| (objectclass~=top) (ou<=contacts) ) (! ...
         NotFilter notFilter = (NotFilter)andFilters.get(1);
@@ -333,7 +333,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[74][74][74]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("ttt", assertion.getAssertionValue().toString());
 
         // The attributes
         ArrayList attributes = sr.getAttributes();
@@ -469,7 +469,7 @@
         Assert.assertNotNull(assertion);
         
         Assert.assertEquals("objectclass", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[74][74][74]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("ttt", assertion.getAssertionValue().toString());
 
         // The attributes
         ArrayList attributes = sr.getAttributes();
@@ -866,7 +866,7 @@
     /**
      * Test the decoding of a SearchRequest with a substring filter.
      * Test the initial filter : 
-     * (objectclass=t*)
+     * (objectclass=t*t*)
      */
     public void testDecodeSearchRequestSubstringInitialAnyAnyFinal()
     {
@@ -906,7 +906,7 @@
 				'o', 'b', 'j', 'e', 'c', 't', 'c', 'l', 'a', 's', 's',
 				0x30, 0x06,
 				(byte)0x80, 0x01, 't',        //
-				(byte)0x81, 0x01, '*',        //
+				(byte)0x81, 0x01, 't',        //
                 0x30, 0x15,				      // AttributeDescriptionList ::= SEQUENCE OF AttributeDescription
                 0x04, 0x05, 'a', 't', 't', 'r', '0', // AttributeDescription ::= LDAPString
                 0x04, 0x05, 'a', 't', 't', 'r', '1', // AttributeDescription ::= LDAPString
@@ -947,6 +947,7 @@
         Assert.assertEquals("t", substringFilter.getInitialSubstrings().toString());
         Assert.assertEquals("*", ((MutableString)substringFilter.getAnySubstrings().get(0)).toString());
 
+        sr.toString();
         // The attributes
         ArrayList attributes = sr.getAttributes();
         
@@ -1326,31 +1327,31 @@
         AttributeValueAssertion assertion = ((AttributeValueAssertionFilter)orFilter.getOrFilter().get(0)).getAssertion();
         
         Assert.assertEquals("uid", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[61][6B][61][72][61][73][75][6C][75]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("akarasulu", assertion.getAssertionValue().toString());
 
         // cn=aok
         assertion = ((AttributeValueAssertionFilter)orFilter.getOrFilter().get(1)).getAssertion();
         
         Assert.assertEquals("cn", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[61][6F][6B]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("aok", assertion.getAssertionValue().toString());
 
         // ou = Human Resources
         assertion = ((AttributeValueAssertionFilter)orFilter.getOrFilter().get(2)).getAssertion();
         
         Assert.assertEquals("ou", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[48][75][6D][61][6E][20][52][65][73][6F][75][72][63][65][73]",
assertion.getAssertionValue().toString());
+        Assert.assertEquals("Human Resources", assertion.getAssertionValue().toString());
 
         // l=Santa Clara
         assertion = ((AttributeValueAssertionFilter)orFilter.getOrFilter().get(3)).getAssertion();
         
         Assert.assertEquals("l", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[53][61][6E][74][61][20][43][6C][61][72][61]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("Santa Clara", assertion.getAssertionValue().toString());
 
         // cn=abok
         assertion = ((AttributeValueAssertionFilter)orFilter.getOrFilter().get(4)).getAssertion();
         
         Assert.assertEquals("cn", assertion.getAttributeDesc().toString());
-        Assert.assertEquals("[61][62][6F][6B]", assertion.getAssertionValue().toString());
+        Assert.assertEquals("abok", assertion.getAssertionValue().toString());
 
         // The attributes
         ArrayList attributes = sr.getAttributes();

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchResultEntryTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchResultEntryTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchResultEntryTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/ldap/codec/SearchResultEntryTest.java
Sat Jul 23 16:00:03 2005
@@ -119,8 +119,8 @@
             
             HashSet expectedValues = new HashSet();
             
-            expectedValues.add( "[74][6F][70]" );
-            expectedValues.add( "[6F][72][67][61][6E][69][7A][61][74][69][6F][6E][61][6C][55][6E][69][74]"
); 
+            expectedValues.add( "top" );
+            expectedValues.add( "organizationalUnit" ); 
             
             while ( values.hasMore() )
             {
@@ -213,8 +213,8 @@
             
             HashSet expectedValues = new HashSet();
             
-            expectedValues.add( "[74][6F][70]" );
-            expectedValues.add( "[6F][72][67][61][6E][69][7A][61][74][69][6F][6E][61][6C][55][6E][69][74]"
); 
+            expectedValues.add( "top" );
+            expectedValues.add( "organizationalUnit" ); 
             
             while ( values.hasMore() )
             {

Modified: directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java?rev=224573&r1=224572&r2=224573&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/test/org/apache/asn1/spnego/codec/SpnegoTest.java
Sat Jul 23 16:00:03 2005
@@ -531,7 +531,7 @@
         Assert.assertTrue(checkDefaultReqFlags((SpnegoNegTokenInit)spnego));
 
         // Check the mech token
-        Assert.assertEquals("[61][62][63][64]", ((SpnegoNegTokenInit)spnego).getMechToken().toString());
+        Assert.assertEquals("abcd", ((SpnegoNegTokenInit)spnego).getMechToken().toString());
 
         // Check the mech list MIC
         Assert.assertEquals(null, ((SpnegoNegTokenInit)spnego).getMechListMIC());
@@ -733,7 +733,7 @@
         Assert.assertEquals(null, ((SpnegoNegTokenInit)spnego).getMechToken());
 
         // Check the mech list MIC
-        Assert.assertEquals("[61][62][63][64]", ((SpnegoNegTokenInit)spnego).getMechListMIC().toString());
+        Assert.assertEquals("abcd", ((SpnegoNegTokenInit)spnego).getMechListMIC().toString());
     }
 
     /**
@@ -799,7 +799,7 @@
         Assert.assertTrue(checkDefaultReqFlags((SpnegoNegTokenInit)spnego));
 
         // Check the mech token
-        Assert.assertEquals("[61][62][63][64]", ((SpnegoNegTokenInit)spnego).getMechToken().toString());
+        Assert.assertEquals("abcd", ((SpnegoNegTokenInit)spnego).getMechToken().toString());
 
         // Check the mech list MIC
         Assert.assertEquals(null, ((SpnegoNegTokenInit)spnego).getMechListMIC());
@@ -899,7 +899,7 @@
         }
 
         // Check the mechListMIC
-        Assert.assertEquals("[61][62][63][64][65][66][67][68][69][6A][6B][6C]", ((SpnegoNegTokenInit)spnego).getMechListMIC().toString());
+        Assert.assertEquals("abcdefghijkl", ((SpnegoNegTokenInit)spnego).getMechListMIC().toString());
 
         try
         {



Mime
View raw message