• Home
  • History
  • Annotate
  • only in /frameworks/testing/uiautomator/samples/SkeletonTest/
NameDateSize

..04-Jun-20144 KiB

Android.mk04-Jun-2014943

README04-Jun-2014861

src/04-Jun-20144 KiB

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