MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / storeRuleInvalidType

Method storeRuleInvalidType

test/tree/TestTreeRule.java:286–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 6

setupStorageMethod · 0.95
setLevelMethod · 0.95
setOrderMethod · 0.95
setNotesMethod · 0.95
syncToStorageMethod · 0.95
getTSDBMethod · 0.80

Tested by

no test coverage detected