summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid A. Madore <david@procyon.(none)>2010-04-22 18:14:51 (GMT)
committerDavid A. Madore <david@procyon.(none)>2010-04-22 18:56:33 (GMT)
commit7718ef99581a6364c1acd6e94fad5b7352c2da82 (patch)
tree1f8679ccee72ad8dec74675dd89b97f526bc5da1 /tests
downloadUnicodeMap-7718ef99581a6364c1acd6e94fad5b7352c2da82.zip
UnicodeMap-7718ef99581a6364c1acd6e94fad5b7352c2da82.tar.gz
UnicodeMap-7718ef99581a6364c1acd6e94fad5b7352c2da82.tar.bz2
Start a very primitive unicode character map.
Diffstat (limited to 'tests')
-rw-r--r--tests/AndroidManifest.xml21
-rw-r--r--tests/build.properties15
-rw-r--r--tests/default.properties11
-rw-r--r--tests/src/org/madore/android/unicodeMap/UnicodeMapActivityTest.java21
4 files changed, 68 insertions, 0 deletions
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
new file mode 100644
index 0000000..7229317
--- /dev/null
+++ b/tests/AndroidManifest.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us -->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.madore.android.unicodeMap.tests"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <!-- We add an application tag here just so that we can indicate that
+ this package needs to link against the android.test library,
+ which is needed when building test cases. -->
+ <application>
+ <uses-library android:name="android.test.runner" />
+ </application>
+ <!--
+ This declares that this application uses the instrumentation test runner targeting
+ the package of org.madore.android.unicodeMap. To run the tests use the command:
+ "adb shell am instrument -w org.madore.android.unicodeMap.tests/android.test.InstrumentationTestRunner"
+ -->
+ <instrumentation android:name="android.test.InstrumentationTestRunner"
+ android:targetPackage="org.madore.android.unicodeMap"
+ android:label="Tests for UnicodeMapActivity"/>
+</manifest>
diff --git a/tests/build.properties b/tests/build.properties
new file mode 100644
index 0000000..608d959
--- /dev/null
+++ b/tests/build.properties
@@ -0,0 +1,15 @@
+# This file is used to override default values used by the Ant build system.
+#
+# This file must be checked in Version Control Systems, as it is
+# integral to the build system of your project.
+
+# The name of your application package as defined in the manifest.
+# Used by the 'uninstall' rule.
+#application-package=org.madore.android.unicodeMap
+
+# The name of the source folder.
+#source-folder=src
+
+# The name of the output folder.
+#out-folder=bin
+
diff --git a/tests/default.properties b/tests/default.properties
new file mode 100644
index 0000000..4513a1e
--- /dev/null
+++ b/tests/default.properties
@@ -0,0 +1,11 @@
+# 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 use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-3
diff --git a/tests/src/org/madore/android/unicodeMap/UnicodeMapActivityTest.java b/tests/src/org/madore/android/unicodeMap/UnicodeMapActivityTest.java
new file mode 100644
index 0000000..c542477
--- /dev/null
+++ b/tests/src/org/madore/android/unicodeMap/UnicodeMapActivityTest.java
@@ -0,0 +1,21 @@
+package org.madore.android.unicodeMap;
+
+import android.test.ActivityInstrumentationTestCase;
+
+/**
+ * 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.
+ * <p/>
+ * To run this test, you can type:
+ * adb shell am instrument -w \
+ * -e class org.madore.android.unicodeMap.UnicodeMapActivityTest \
+ * org.madore.android.unicodeMap.tests/android.test.InstrumentationTestRunner
+ */
+public class UnicodeMapActivityTest extends ActivityInstrumentationTestCase<UnicodeMapActivity> {
+
+ public UnicodeMapActivityTest() {
+ super("org.madore.android.unicodeMap", UnicodeMapActivity.class);
+ }
+
+}