MCPcopy
hub / github.com/OpenTSDB/opentsdb / oneLevel

Method oneLevel

test/utils/TestExceptions.java:35–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33 }
34
35 @Test
36 public void oneLevel() throws Exception {
37 final RuntimeException ex = new RuntimeException("Boo!");
38 deferreds.add(Deferred.fromError(ex));
39 try {
40 Deferred.group(deferreds).join();
41 fail("Expected a DeferredGroupException");
42 } catch (DeferredGroupException dge) {
43 assertSame(ex, Exceptions.getCause(dge));
44 }
45 }
46
47 @Test
48 public void nested() throws Exception {

Callers

nothing calls this directly

Calls 3

getCauseMethod · 0.95
addMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected