Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a24da17e authored by Kevin Neas's avatar Kevin Neas Committed by Android (Google) Code Review
Browse files

Merge "AppLaunch tests for Wear"

parents 75f5f239 aff52842
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

# Only compile source java files in this apk.
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_PACKAGE_NAME := AppLaunchWear

LOCAL_CERTIFICATE := platform
LOCAL_JAVA_LIBRARIES := android.test.base android.test.runner

LOCAL_STATIC_JAVA_LIBRARIES := android-support-test

LOCAL_COMPATIBILITY_SUITE := device-tests

include $(BUILD_PACKAGE)

# Use the following include to make our test apk.
include $(call all-makefiles-under,$(LOCAL_PATH))
+21 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.tests.applaunch"
    android:sharedUserId="android.uid.system" >

   <uses-permission android:name="android.permission.REAL_GET_TASKS" />
   <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

   <uses-sdk
        android:minSdkVersion="22"
        android:targetSdkVersion="24" />

    <instrumentation android:label="Measure app start up time"
                     android:name="android.test.InstrumentationTestRunner"
                     android:targetPackage="com.android.tests.applaunch" />

    <application android:label="App Launch Test">
        <uses-library android:name="android.test.runner" />
    </application>
</manifest>
+821 −0

File added.

Preview size limit exceeded, changes collapsed.