Home | History | Annotate | Download | only in SkeletonTest
      1 This is an (almost) empty test, it serves as a prototype to create new UI
      2 Automator tests that can be compiled inside the Android build tree. The single
      3 test case included performs a key press, and send out some information about
      4 the test device.
      5 
      6 Steps 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 
     16 Steps 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