()
| 284 | } |
| 285 | |
| 286 | @Test (expected = IllegalArgumentException.class) |
| 287 | public void storeRuleInvalidType() throws Exception { |
| 288 | setupStorage(); |
| 289 | final TreeRule rule = new TreeRule(1); |
| 290 | rule.setLevel(1); |
| 291 | rule.setOrder(0); |
| 292 | rule.setNotes("Just some notes"); |
| 293 | rule.syncToStorage(storage.getTSDB(), false).joinUninterruptibly(); |
| 294 | } |
| 295 | |
| 296 | @Test (expected = IllegalArgumentException.class) |
| 297 | public void storeRuleInvalidMissingFieldTagk() throws Exception { |
nothing calls this directly
no test coverage detected