parent
7be06627eb
commit
a7846977ba
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue