[android][build] core tests - initial setup for rendering tests
This commit is contained in:
committed by
Ivo van Dongen
parent
5ae92de618
commit
c810d16f0d
15
platform/android/src/test/Main.java
Normal file
15
platform/android/src/test/Main.java
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
public class Main {
|
||||
public native void runAllTests();
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
//Load the tests
|
||||
System.loadLibrary("mbgl-test");
|
||||
|
||||
//Run the tests
|
||||
new Main().runAllTests();
|
||||
|
||||
//Exit explicitly otherwise dalvikvm won't quit
|
||||
System.exit(0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user