diff --git a/java_console/autotest/src/com/rusefi/TestingUtils.java b/java_console/autotest/src/com/rusefi/TestingUtils.java index f76b6f17e0..0a927730bb 100644 --- a/java_console/autotest/src/com/rusefi/TestingUtils.java +++ b/java_console/autotest/src/com/rusefi/TestingUtils.java @@ -15,6 +15,8 @@ import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.atomic.AtomicReference; +import static org.junit.Assert.fail; + import static com.devexperts.logging.Logging.getLogging; import static com.rusefi.waves.EngineReport.isCloseEnough; @@ -52,13 +54,6 @@ public class TestingUtils { return angle; } - private static void fail(String message) { - log.info("FAILURE: " + message); - IllegalStateException exception = new IllegalStateException(message); - FileLog.MAIN.log(exception); - throw exception; - } - static void assertTrue(boolean b) { if (!b) fail("Not true");