directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 9754 - incubator/directory/snickers/branches/chunking/ber/src/test/org/apache/snickers/ber
Date Fri, 26 Mar 2004 04:08:41 GMT
Author: akarasulu
Date: Thu Mar 25 20:08:41 2004
New Revision: 9754

Modified:
   incubator/directory/snickers/branches/chunking/ber/src/test/org/apache/snickers/ber/ConstructedTLVTests.java
Log:
changes for chunking

Modified: incubator/directory/snickers/branches/chunking/ber/src/test/org/apache/snickers/ber/ConstructedTLVTests.java
==============================================================================
--- incubator/directory/snickers/branches/chunking/ber/src/test/org/apache/snickers/ber/ConstructedTLVTests.java
(original)
+++ incubator/directory/snickers/branches/chunking/ber/src/test/org/apache/snickers/ber/ConstructedTLVTests.java
Thu Mar 25 20:08:41 2004
@@ -109,7 +109,7 @@
         assertEquals( BERDecoderState.TAG, decoder.getState() ) ;
         assertEquals( 1, tlvList.size() ) ;
         assertNotNull( tlv.value ) ;
-        assertEquals( 0x0055, 0x00ff & ( int ) ( (byte[]) tlv.value)[0] ) ;
+        assertEquals( 0x0055, 0x00ff & tlv.value.get( 0 ) ) ;
 
         
         // --------------------------------------------------------------------
@@ -133,7 +133,7 @@
         assertEquals( BERDecoderState.TAG, decoder.getState() ) ;
         assertEquals( 2, tlvList.size() ) ;
         assertNotNull( tlv.value ) ;
-        assertEquals( 0x0055, 0x00ff & ( int ) ( (byte[]) tlv.value)[0] ) ;
+        assertEquals( 0x0055, 0x00ff & tlv.value.get( 0 ) ) ;
 
     
         // --------------------------------------------------------------------
@@ -157,7 +157,7 @@
         assertEquals( BERDecoderState.TAG, decoder.getState() ) ;
         assertEquals( 3, tlvList.size() ) ;
         assertNotNull( tlv.value ) ;
-        assertEquals( 0x0055, 0x00ff & ( int ) ( (byte[]) tlv.value)[0] ) ;
+        assertEquals( 0x0055, 0x00ff & tlv.value.get( 0 ) ) ;
 
         decode( "00000000" ) ;
         decode( "00000000" ) ;

Mime
View raw message