mirror of
https://github.com/corda/corda.git
synced 2025-02-01 16:58:27 +00:00
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:
parent
69ffa28e1b
commit
a3a816c9a4
@ -299,16 +299,5 @@ public class Integers {
|
|||||||
|
|
||||||
{ int b = 0xBE;
|
{ int b = 0xBE;
|
||||||
expect(((b >>> 0) & 0xFF) == 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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user