()
| 375 | } |
| 376 | |
| 377 | @Test (expected = IllegalArgumentException.class) |
| 378 | public void createNewTreeOutOfIDs() throws Exception { |
| 379 | setupStorage(true, true); |
| 380 | |
| 381 | final Tree max_tree = new Tree(65535); |
| 382 | max_tree.setName("max"); |
| 383 | storage.addColumn(new byte[] { (byte) 0xFF, (byte) 0xFF }, |
| 384 | "tree".getBytes(MockBase.ASCII()), JSON.serializeToBytes(max_tree)); |
| 385 | |
| 386 | final Tree tree = new Tree(); |
| 387 | tree.createNewTree(storage.getTSDB()).joinUninterruptibly(); |
| 388 | } |
| 389 | |
| 390 | @Test |
| 391 | public void fetchTree() throws Exception { |
nothing calls this directly
no test coverage detected