mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Use a constructor that Animal Sniffer knows about.
This commit is contained in:
@@ -36,10 +36,6 @@ public abstract class BrambleTestCase {
|
|||||||
@After
|
@After
|
||||||
public void afterBrambleTestCase() {
|
public void afterBrambleTestCase() {
|
||||||
Throwable thrown = exceptionInBackgroundThread;
|
Throwable thrown = exceptionInBackgroundThread;
|
||||||
if (thrown != null) {
|
if (thrown != null) throw new AssertionError(thrown);
|
||||||
throw new AssertionError(
|
|
||||||
"background thread has thrown an exception unexpectedly",
|
|
||||||
thrown);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user