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

Method expect

test/Threads.java:4–6  ·  view source on GitHub ↗
(boolean v)

Source from the content-addressed store, hash-verified

2 private static boolean success = false;
3
4 private static void expect(boolean v) {
5 if (! v) throw new RuntimeException();
6 }
7
8 public static void main(String[] args) throws Exception {
9 ((Thread.UncaughtExceptionHandler) Thread.currentThread().getThreadGroup())

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected