JNI for test coverage #3965

This commit is contained in:
rusefillc 2022-03-01 00:37:22 -05:00
parent 9b99fc306c
commit 1a2d5a3500
1 changed files with 16 additions and 0 deletions

View File

@ -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"));
}
}