New: BufferedOutputStream
[nikiroo-utils.git] / src / be / nikiroo / utils / test_code / BufferedInputStreamTest.java
index e2fc80bf38275b666fdf8f892eece519e1d80537..c8eb21fdf4b0d446d7a57d8edbee7f01484d64e1 100644 (file)
@@ -8,7 +8,7 @@ import be.nikiroo.utils.IOUtils;
 import be.nikiroo.utils.test.TestCase;
 import be.nikiroo.utils.test.TestLauncher;
 
-public class BufferedInputStreamTest extends TestLauncher {
+class BufferedInputStreamTest extends TestLauncher {
        public BufferedInputStreamTest(String[] args) {
                super("BufferedInputStream test", args);
 
@@ -39,8 +39,8 @@ public class BufferedInputStreamTest extends TestLauncher {
                                + " resulting array has not the correct number of items",
                                expected.length, actual.length);
                for (int i = 0; i < actual.length; i++) {
-                       test.assertEquals("Item " + i + " (0-based) is not the same",
-                                       expected[i], actual[i]);
+                       test.assertEquals(prefix + ": item " + i
+                                       + " (0-based) is not the same", expected[i], actual[i]);
                }
        }
 }