MCPcopy Create free account
hub / github.com/ReadyTalk/avian / run

Method run

test/extra/DynamicWind.java:27–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25 try {
26 expect(dynamicWind(new Runnable() {
27 public void run() {
28 System.out.println("unwindTest before");
29
30 expect(before == 0);
31 expect(task == 0);
32 expect(after == 0);
33
34 before = 1;
35 }
36 }, new Callable<Integer>() {
37 public Integer call() throws Exception {
38 System.out.println("unwindTest thunk");

Callers

nothing calls this directly

Calls 5

expectMethod · 0.95
unwindTestMethod · 0.80
handleResultMethod · 0.65
handleExceptionMethod · 0.65
printlnMethod · 0.45

Tested by

no test coverage detected