()
| 216 | } |
| 217 | |
| 218 | @Test |
| 219 | public void handleTreePOSTCreate() throws Exception { |
| 220 | setupStorage(); |
| 221 | HttpQuery query = NettyMocks.postQuery(tsdb, |
| 222 | "/api/tree", "{\"name\":\"New Tree\"}"); |
| 223 | rpc.execute(tsdb, query); |
| 224 | assertEquals(HttpResponseStatus.OK, query.response().getStatus()); |
| 225 | assertEquals(1, storage.numColumns(TREE_TABLE, new byte[] { 0, 3 })); |
| 226 | } |
| 227 | |
| 228 | @Test |
| 229 | public void handleTreeQSModify() throws Exception { |
nothing calls this directly
no test coverage detected