• Home
Name Date Size #Lines LOC

..--

src/com/android/uiautomator/samples/skeleton/03-May-2024-3817

Android.mkD03-May-2024943 319

READMED03-May-2024861 2017

README

1This is an (almost) empty test, it serves as a prototype to create new UI
2Automator tests that can be compiled inside the Android build tree. The single
3test case included performs a key press, and send out some information about
4the test device.
5
6Steps to run this test:
7* have a fully built Android source tree
8* build the test:
9  mmm frameworks/testing/uiautomator/samples/SkeletonTest
10* deploy the test:
11  adb push ${OUT}/data/local/tmp/uiautomator.skeletontest.jar /data/local/tmp/
12* run the test:
13  adb shell uiautomator runtest uiautomator.skeletontest.jar \
14    -e class com.android.uiautomator.samples.skeleton.DemoTestCase
15
16Steps to create new tests off it:
17* cp -r frameworks/testing/uiautomator/samples/SkeletonTest /new/location
18* modify Android.mk, replace LOCAL_MODULE_NAME, change LOCAL_MODULE_TAGS if
19  necessary, add new dependecies if needed
20