From 002a2c3e1d0f091a48f8cc3eb7dce519870debaf Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 11 Jan 2014 18:44:50 +0100 Subject: import code --- tests/AndroidManifest.xml | 30 +++++++++++++++++++++++++ tests/proguard-project.txt | 20 +++++++++++++++++ tests/project.properties | 14 ++++++++++++ tests/src/org/xapek/andiodine/HelloJniTest.java | 22 ++++++++++++++++++ tests/tests.iml | 26 +++++++++++++++++++++ 5 files changed, 112 insertions(+) create mode 100644 tests/AndroidManifest.xml create mode 100644 tests/proguard-project.txt create mode 100644 tests/project.properties create mode 100644 tests/src/org/xapek/andiodine/HelloJniTest.java create mode 100644 tests/tests.iml (limited to 'tests') diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml new file mode 100644 index 0000000..e9e5343 --- /dev/null +++ b/tests/AndroidManifest.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/proguard-project.txt b/tests/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/tests/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/tests/project.properties b/tests/project.properties new file mode 100644 index 0000000..9fb894d --- /dev/null +++ b/tests/project.properties @@ -0,0 +1,14 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-3 diff --git a/tests/src/org/xapek/andiodine/HelloJniTest.java b/tests/src/org/xapek/andiodine/HelloJniTest.java new file mode 100644 index 0000000..14322f3 --- /dev/null +++ b/tests/src/org/xapek/andiodine/HelloJniTest.java @@ -0,0 +1,22 @@ +package org.xapek.andiodine; + +import android.test.ActivityInstrumentationTestCase2; + +import org.xapek.andiodine.IodineMain; + +/** + * This is a simple framework for a test of an Application. See + * {@link android.test.ApplicationTestCase ApplicationTestCase} for more information on + * how to write and extend Application tests. + *

+ * To run this test, you can type: + * adb shell am instrument -w \ + * -e class org.xapek.andiodine.HelloJniTest \ + * com.example.HelloJni.tests/android.test.InstrumentationTestRunner + */ +public class HelloJniTest extends ActivityInstrumentationTestCase2 { + public HelloJniTest() { + super(IodineMain.class); + } + +} diff --git a/tests/tests.iml b/tests/tests.iml new file mode 100644 index 0000000..6698b2b --- /dev/null +++ b/tests/tests.iml @@ -0,0 +1,26 @@ + + + + + + + MANIFEST_FILE_PATH + RESOURCES_DIR_PATH + ASSETS_DIR_PATH + NATIVE_LIBS_DIR_PATH + + + + + + + + + + + + + + + + -- cgit v1.2.1