remove test of DataOutputStream from Integers.java

We haven't implemented that class yet, so the test only compiles with
the OpenJDK port.
This commit is contained in:
Joel Dice 2012-08-12 20:58:07 -06:00
parent 69ffa28e1b
commit a3a816c9a4

View File

@ -299,16 +299,5 @@ public class Integers {
{ int b = 0xBE;
expect(((b >>> 0) & 0xFF) == 0xBE); }
{ java.io.ByteArrayOutputStream bout = new java.io.ByteArrayOutputStream();
java.io.DataOutputStream dout = new java.io.DataOutputStream(bout);
dout.writeInt(0xCAFEBABE);
dout.flush();
byte[] array = bout.toByteArray();
expect((array[0] & 0xFF) == 0xCA);
expect((array[1] & 0xFF) == 0xFE);
expect((array[2] & 0xFF) == 0xBA);
expect((array[3] & 0xFF) == 0xBE);
}
}
}