We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57e3cef commit 95dcddfCopy full SHA for 95dcddf
1 file changed
src/TestHelper.java
@@ -4,6 +4,12 @@
4
5
class TestHelper {
6
7
+ static {
8
+ if (!TestHelper.class.desiredAssertionStatus()) {
9
+ throw new AssertionError("Please enable assertions: java -enableassertions ...");
10
+ }
11
12
+
13
static void runTests(Class<?>... classes) {
14
for (Class<?> clazz : classes) {
15
runTests(getInstance(clazz));
0 commit comments