Files
frameworks_base/tests/CoreTests/run_junit.sh
The Android Open Source Project 9066cfe988 auto import from //depot/cupcake/@135843
2009-03-03 19:31:44 -08:00

10 lines
343 B
Bash
Executable File

# runs unit tests over adb shell using dalvikvm. The value added is setting the classpath for you
# and pointing to the junit textui test runner.
#
# the normal usage might be:
# (make MoreJavaTests)
# $ adb sync
# $ java/tests/run_junit.sh android.util.MyTest
adb shell exec dalvikvm -cp system/app/MoreTests.apk junit.textui.TestRunner $*