()
| 269 | } |
| 270 | |
| 271 | @Test (expected = IllegalDataException.class) |
| 272 | public void extractDataPointsCompactCorrupt() { |
| 273 | final byte[] qual1 = { 0x00, 0x07 }; |
| 274 | final byte[] val1 = Bytes.fromLong(4L); |
| 275 | final byte[] qual2 = { (byte) 0xF0, 0x00, 0x02, 0x07 }; |
| 276 | final byte[] val2 = Bytes.fromLong(5L); |
| 277 | final byte[] qual3 = { 0x00, 0x41 }; |
| 278 | final byte[] val3 = Bytes.fromLong(6L); |
| 279 | final byte[] qual123 = MockBase.concatByteArrays(qual1, qual2, qual3); |
| 280 | final byte[] val123 = MockBase.concatByteArrays(val1, val2, val3, ZERO); |
| 281 | |
| 282 | final ArrayList<KeyValue> row = new ArrayList<KeyValue>(1); |
| 283 | row.add(makekv(qual123, val123)); |
| 284 | |
| 285 | Internal.extractDataPoints(row, 1); |
| 286 | } |
| 287 | |
| 288 | @Test |
| 289 | public void compareQualifiersLTSecInt() { |
nothing calls this directly
no test coverage detected