@@ -44,11 +44,6 @@ public class IOUtilsWriteTestCase {
4444
4545 private final byte [] inData = TestUtils .generateTestData (FILE_SIZE );
4646
47- // ----------------------------------------------------------------
48- // Tests
49- // ----------------------------------------------------------------
50-
51- //-----------------------------------------------------------------------
5247 @ Test
5348 public void testWrite_byteArrayToOutputStream () throws Exception {
5449 final ByteArrayOutputStream baout = new ByteArrayOutputStream ();
@@ -83,7 +78,6 @@ public void testWrite_byteArrayToOutputStream_nullStream() throws Exception {
8378 }
8479 }
8580
86- //-----------------------------------------------------------------------
8781 @ Test
8882 public void testWrite_byteArrayToWriter () throws Exception {
8983 final ByteArrayOutputStream baout = new ByteArrayOutputStream ();
@@ -122,7 +116,6 @@ public void testWrite_byteArrayToWriter_nullWriter() throws Exception {
122116 }
123117 }
124118
125- //-----------------------------------------------------------------------
126119 @ Test
127120 public void testWrite_byteArrayToWriter_Encoding () throws Exception {
128121 final ByteArrayOutputStream baout = new ByteArrayOutputStream ();
@@ -177,7 +170,6 @@ public void testWrite_byteArrayToWriter_Encoding_nullEncoding() throws Exception
177170 assertTrue (Arrays .equals (inData , baout .toByteArray ()), "Content differs" );
178171 }
179172
180- //-----------------------------------------------------------------------
181173 @ Test
182174 public void testWrite_charSequenceToOutputStream () throws Exception {
183175 final CharSequence csq = new StringBuilder (new String (inData , StandardCharsets .US_ASCII ));
@@ -215,7 +207,6 @@ public void testWrite_charSequenceToOutputStream_nullStream() throws Exception {
215207 }
216208 }
217209
218- //-----------------------------------------------------------------------
219210 @ Test
220211 public void testWrite_charSequenceToOutputStream_Encoding () throws Exception {
221212 final CharSequence csq = new StringBuilder (new String (inData , StandardCharsets .US_ASCII ));
@@ -269,7 +260,6 @@ public void testWrite_charSequenceToOutputStream_nullEncoding() throws Exception
269260 assertTrue (Arrays .equals (inData , baout .toByteArray ()), "Content differs" );
270261 }
271262
272- //-----------------------------------------------------------------------
273263 @ Test
274264 public void testWrite_charSequenceToWriter () throws Exception {
275265 final CharSequence csq = new StringBuilder (new String (inData , StandardCharsets .US_ASCII ));
@@ -311,7 +301,6 @@ public void testWrite_charSequenceToWriter_Encoding_nullStream() throws Exceptio
311301 }
312302 }
313303
314- //-----------------------------------------------------------------------
315304 @ Test
316305 public void testWrite_stringToOutputStream () throws Exception {
317306 final String str = new String (inData , StandardCharsets .US_ASCII );
@@ -349,7 +338,6 @@ public void testWrite_stringToOutputStream_nullStream() throws Exception {
349338 }
350339 }
351340
352- //-----------------------------------------------------------------------
353341 @ Test
354342 public void testWrite_stringToOutputStream_Encoding () throws Exception {
355343 final String str = new String (inData , StandardCharsets .US_ASCII );
@@ -403,7 +391,6 @@ public void testWrite_stringToOutputStream_nullEncoding() throws Exception {
403391 assertTrue (Arrays .equals (inData , baout .toByteArray ()), "Content differs" );
404392 }
405393
406- //-----------------------------------------------------------------------
407394 @ Test
408395 public void testWrite_stringToWriter () throws Exception {
409396 final String str = new String (inData , StandardCharsets .US_ASCII );
@@ -445,7 +432,6 @@ public void testWrite_stringToWriter_Encoding_nullStream() throws Exception {
445432 }
446433 }
447434
448- //-----------------------------------------------------------------------
449435 @ Test
450436 public void testWrite_charArrayToOutputStream () throws Exception {
451437 final String str = new String (inData , StandardCharsets .US_ASCII );
@@ -483,7 +469,6 @@ public void testWrite_charArrayToOutputStream_nullStream() throws Exception {
483469 }
484470 }
485471
486- //-----------------------------------------------------------------------
487472 @ Test
488473 public void testWrite_charArrayToOutputStream_Encoding () throws Exception {
489474 final String str = new String (inData , StandardCharsets .US_ASCII );
@@ -579,7 +564,6 @@ public void testWrite_charArrayToWriter_Encoding_nullStream() throws Exception {
579564 }
580565 }
581566
582- //-----------------------------------------------------------------------
583567 @ Test
584568 public void testWriteLines_OutputStream () throws Exception {
585569 final Object [] data = new Object []{
@@ -639,7 +623,6 @@ public void testWriteLines_OutputStream_nullStream() throws Exception {
639623 }
640624 }
641625
642- //-----------------------------------------------------------------------
643626 @ Test
644627 public void testWriteLines_OutputStream_Encoding () throws Exception {
645628 final Object [] data = new Object []{
@@ -718,7 +701,6 @@ public void testWriteLines_OutputStream_Encoding_nullEncoding() throws Exception
718701 assertEquals (expected , actual );
719702 }
720703
721- //-----------------------------------------------------------------------
722704 @ Test
723705 public void testWriteLines_Writer () throws Exception {
724706 final Object [] data = new Object []{
0 commit comments