diff options
Diffstat (limited to 'platform/android/src/test/Main.java')
-rw-r--r-- | platform/android/src/test/Main.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/platform/android/src/test/Main.java b/platform/android/src/test/Main.java new file mode 100644 index 0000000000..2abcf2bfdb --- /dev/null +++ b/platform/android/src/test/Main.java @@ -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); + } +} |