diff options
author | Chung-yih Wang <cywang@google.com> | 2009-09-29 11:20:28 +0800 |
---|---|---|
committer | Chung-yih Wang <cywang@google.com> | 2009-09-29 15:20:24 +0800 |
commit | f35e9663d7bdae523953185b4ad6b6f9e8e7d6ca (patch) | |
tree | ea3c0019085dceed51740c940a2b33b14c5e6f3a /keystore/tests/Android.mk | |
parent | 1a3c8950394b98f6f354456830208d70e87b8bb6 (diff) | |
download | frameworks_base-f35e9663d7bdae523953185b4ad6b6f9e8e7d6ca.zip frameworks_base-f35e9663d7bdae523953185b4ad6b6f9e8e7d6ca.tar.gz frameworks_base-f35e9663d7bdae523953185b4ad6b6f9e8e7d6ca.tar.bz2 |
Add unit test for the new keystore.
Since we need to test the keystore with user system in order to test
the reset(), password(), lock() and unlock(), we have to take advantage
of the ActivityUnitTestCase to run the test with the user 'system'.
Diffstat (limited to 'keystore/tests/Android.mk')
-rw-r--r-- | keystore/tests/Android.mk | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/keystore/tests/Android.mk b/keystore/tests/Android.mk new file mode 100644 index 0000000..95604c6 --- /dev/null +++ b/keystore/tests/Android.mk @@ -0,0 +1,15 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +# We only want this apk build for tests. +LOCAL_MODULE_TAGS := tests +LOCAL_CERTIFICATE := platform + +LOCAL_JAVA_LIBRARIES := android.test.runner + +# Include all test java files. +LOCAL_SRC_FILES := $(call all-java-files-under, src) + +LOCAL_PACKAGE_NAME := KeyStoreTests + +include $(BUILD_PACKAGE) |