From 9faa04fd85efa0be5c883e3136f06fa85b525ad6 Mon Sep 17 00:00:00 2001 From: Brett Chabot Date: Mon, 15 Jun 2009 10:40:56 -0700 Subject: Add permission test structure for private framework permissions. --- tests/permission/Android.mk | 14 +++++++++ tests/permission/AndroidManifest.xml | 33 ++++++++++++++++++++++ .../permission/tests/DummyPermissionTest.java | 13 +++++++++ 3 files changed, 60 insertions(+) create mode 100644 tests/permission/Android.mk create mode 100644 tests/permission/AndroidManifest.xml create mode 100644 tests/permission/src/com/android/framework/permission/tests/DummyPermissionTest.java diff --git a/tests/permission/Android.mk b/tests/permission/Android.mk new file mode 100644 index 000000000000..a6df98e37576 --- /dev/null +++ b/tests/permission/Android.mk @@ -0,0 +1,14 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +# We only want this apk build for tests. +LOCAL_MODULE_TAGS := tests + +# Include all test java files. +LOCAL_SRC_FILES := $(call all-java-files-under, src) + +LOCAL_JAVA_LIBRARIES := android.test.runner +LOCAL_PACKAGE_NAME := FrameworkPermissionTests + +include $(BUILD_PACKAGE) + diff --git a/tests/permission/AndroidManifest.xml b/tests/permission/AndroidManifest.xml new file mode 100644 index 000000000000..b19bf006cfeb --- /dev/null +++ b/tests/permission/AndroidManifest.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + diff --git a/tests/permission/src/com/android/framework/permission/tests/DummyPermissionTest.java b/tests/permission/src/com/android/framework/permission/tests/DummyPermissionTest.java new file mode 100644 index 000000000000..010601a4fe05 --- /dev/null +++ b/tests/permission/src/com/android/framework/permission/tests/DummyPermissionTest.java @@ -0,0 +1,13 @@ +package com.android.framework.permission.tests; + +import junit.framework.TestCase; + +/** + * TODO: Remove this. This is only a placeholder, need to implement this. + */ +public class DummyPermissionTest extends TestCase { + + public void testMe() { + + } +} -- cgit v1.2.3-59-g8ed1b