diff --git a/java_console/io/src/test/java/com/rusefi/native_/JniUnitTest.java b/java_console/io/src/test/java/com/rusefi/native_/JniUnitTest.java new file mode 100644 index 0000000000..9326ed4d74 --- /dev/null +++ b/java_console/io/src/test/java/com/rusefi/native_/JniUnitTest.java @@ -0,0 +1,16 @@ +package com.rusefi.native_; + +import org.junit.Test; + +import static junit.framework.Assert.assertTrue; + +public class JniUnitTest { + @Test + public void run() { + JniSandbox.loadLibrary(); + + EngineLogic engineLogic = new EngineLogic(); + String version = engineLogic.getVersion(); + assertTrue("Got " + version, version.contains("Hello")); + } +}