From 531a5ffe0c066dbc1f2eff46baf8126aa4621c31 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson Date: Fri, 5 Feb 2021 21:29:17 +0100 Subject: [PATCH] Update test files --- test/MergeInject.java | 2 ++ test/Test.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/MergeInject.java b/test/MergeInject.java index 55e2382..9756674 100644 --- a/test/MergeInject.java +++ b/test/MergeInject.java @@ -22,6 +22,8 @@ public class MergeInject extends MergeTest implements Runnable { Directives.callSuper(); s = "Hello"; number = 10; + + assert false : "Test"; } diff --git a/test/Test.java b/test/Test.java index ce74fa3..d09121a 100644 --- a/test/Test.java +++ b/test/Test.java @@ -7,6 +7,8 @@ import java.io.IOException; public class Test { public static void main(String... args) throws IOException { + ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(false); + // Load target class, inject all annotated classes and load compiled bytecode into JVM dumpFile(Injector.injectAll("MergeTest"), "MergeTest").compile();