@@ -63,11 +63,6 @@ public class BinaryCodecTest {
6363 /** An instance of the binary codec. */
6464 BinaryCodec instance ;
6565
66- // ------------------------------------------------------------------------
67- //
68- // Test decode(byte[])
69- //
70- // ------------------------------------------------------------------------
7166 /**
7267 * Utility used to assert the encoded and decoded values.
7368 *
@@ -264,11 +259,6 @@ public void testDecodeObject() throws Exception {
264259 assertDecodeObject (new byte [0 ], null );
265260 }
266261
267- // ------------------------------------------------------------------------
268- //
269- // Test decode(Object)
270- //
271- // ------------------------------------------------------------------------
272262 /**
273263 * Tests for Object decode(Object)
274264 */
@@ -283,11 +273,6 @@ public void testDecodeObjectException() {
283273 fail ("Expected DecoderException" );
284274 }
285275
286- // ------------------------------------------------------------------------
287- //
288- // Test encode(byte[])
289- //
290- // ------------------------------------------------------------------------
291276 /*
292277 * Tests for byte[] encode(byte[])
293278 */
@@ -543,11 +528,6 @@ public void testEncodeObjectException() {
543528 fail ("Expected EncoderException" );
544529 }
545530
546- // ------------------------------------------------------------------------
547- //
548- // Test encode(Object)
549- //
550- // ------------------------------------------------------------------------
551531 /*
552532 * Tests for Object encode(Object)
553533 */
@@ -557,11 +537,6 @@ public void testEncodeObjectNull() throws Exception {
557537 assertEquals (0 , ((char []) instance .encode (obj )).length );
558538 }
559539
560- // ------------------------------------------------------------------------
561- //
562- // Test fromAscii(byte[])
563- //
564- // ------------------------------------------------------------------------
565540 /*
566541 * Tests for byte[] fromAscii(byte[])
567542 */
@@ -653,11 +628,6 @@ public void testFromAsciiByteArray() {
653628 assertEquals (0 , BinaryCodec .fromAscii ((byte []) null ).length );
654629 }
655630
656- // ------------------------------------------------------------------------
657- //
658- // Test fromAscii(char[])
659- //
660- // ------------------------------------------------------------------------
661631 /*
662632 * Tests for byte[] fromAscii(char[])
663633 */
@@ -749,11 +719,6 @@ public void testFromAsciiCharArray() {
749719 assertEquals (0 , BinaryCodec .fromAscii ((char []) null ).length );
750720 }
751721
752- // ------------------------------------------------------------------------
753- //
754- // Test toAsciiBytes
755- //
756- // ------------------------------------------------------------------------
757722 @ Test
758723 public void testToAsciiBytes () {
759724 // With a single raw binary
@@ -872,11 +837,6 @@ public void testToAsciiBytes() {
872837 assertEquals (0 , BinaryCodec .toAsciiBytes ((byte []) null ).length );
873838 }
874839
875- // ------------------------------------------------------------------------
876- //
877- // Test toAsciiChars
878- //
879- // ------------------------------------------------------------------------
880840 @ Test
881841 public void testToAsciiChars () {
882842 // With a single raw binary
@@ -995,11 +955,6 @@ public void testToAsciiChars() {
995955 assertEquals (0 , BinaryCodec .toAsciiChars ((byte []) null ).length );
996956 }
997957
998- // ------------------------------------------------------------------------
999- //
1000- // Test toAsciiString
1001- //
1002- // ------------------------------------------------------------------------
1003958 /**
1004959 * Tests the toAsciiString(byte[]) method
1005960 */
@@ -1120,12 +1075,7 @@ public void testToAsciiString() {
11201075 assertEquals ("1111111111111111" , l_encoded );
11211076 }
11221077
1123- // ------------------------------------------------------------------------
1124- //
1125- // Test toByteArray(String)
1126- //
1127- // ------------------------------------------------------------------------
1128- /*
1078+ /**
11291079 * Tests for byte[] toByteArray(String)
11301080 */
11311081 @ Test
0 commit comments