Author: michiel
Date: 2009-05-29 11:27:38 +0200 (Fri, 29 May 2009)
New Revision: 35498
Modified:
mmbase/trunk/tests/util/org/mmbase/util/SerializableInputStreamTest.java
Log:
didn't compile
Modified:
mmbase/trunk/tests/util/org/mmbase/util/SerializableInputStreamTest.java
===================================================================
--- mmbase/trunk/tests/util/org/mmbase/util/SerializableInputStreamTest.java
2009-05-29 08:10:21 UTC (rev 35497)
+++ mmbase/trunk/tests/util/org/mmbase/util/SerializableInputStreamTest.java
2009-05-29 09:27:38 UTC (rev 35498)
@@ -92,7 +92,7 @@
}
- protected void testSerializable(SerializableInputStream l) throws
IOException, java.lang.ClassNotFoundException {
+ protected void testSerializableMany(SerializableInputStream l) throws
IOException, java.lang.ClassNotFoundException {
byte[] before = l.get();
testSerializable(l);
testSerializable(l);
@@ -120,21 +120,21 @@
public void testSerializableA() throws IOException,
java.lang.ClassNotFoundException {
SerializableInputStream a = getByteArrayInstance();
- testSerializable(a);
+ testSerializableMany(a);
}
public void testSerializableB() throws IOException,
java.lang.ClassNotFoundException {
SerializableInputStream b = getInputStreamInstance();
- testSerializable(b);
+ testSerializableMany(b);
}
public void testSerializableC() throws IOException,
java.lang.ClassNotFoundException {
SerializableInputStream c = getDiskItemInstance();
- testSerializable(c);
+ testSerializableMany(c);
}
- public void testCopy(SerializableInputStream i) {
+ public void testCopy(SerializableInputStream l) throws IOException {
File f = File.createTempFile("oof", ".bar");
IOUtil.copy(l, new FileOutputStream(f));
- i.close();
+ l.close();
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs