Tweak test to match last V11 related change
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@549111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
456d639e55
commit
8ff8c4733c
@ -151,10 +151,23 @@ public static final byte[] data_b = new byte[] { 70, 0, 0, 0,
|
|||||||
assertNotNull(chunk.getSeparator());
|
assertNotNull(chunk.getSeparator());
|
||||||
offset += chunk.getOnDiskSize();
|
offset += chunk.getOnDiskSize();
|
||||||
|
|
||||||
|
// Has a separator but no trailer
|
||||||
chunk = cf.createChunk(data_a, offset);
|
chunk = cf.createChunk(data_a, offset);
|
||||||
assertNotNull(chunk.getHeader());
|
assertNotNull(chunk.getHeader());
|
||||||
assertNull(chunk.getTrailer());
|
assertNull(chunk.getTrailer());
|
||||||
assertNull(chunk.getSeparator());
|
assertNotNull(chunk.getSeparator());
|
||||||
|
offset += chunk.getOnDiskSize();
|
||||||
|
|
||||||
|
chunk = cf.createChunk(data_a, offset);
|
||||||
|
assertNotNull(chunk.getHeader());
|
||||||
|
assertNull(chunk.getTrailer());
|
||||||
|
assertNotNull(chunk.getSeparator());
|
||||||
|
offset += chunk.getOnDiskSize();
|
||||||
|
|
||||||
|
chunk = cf.createChunk(data_a, offset);
|
||||||
|
assertNotNull(chunk.getHeader());
|
||||||
|
assertNull(chunk.getTrailer());
|
||||||
|
assertNotNull(chunk.getSeparator());
|
||||||
offset += chunk.getOnDiskSize();
|
offset += chunk.getOnDiskSize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user