The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | # runs unit tests over adb shell using dalvikvm. The value added is setting the classpath for you |
2 | # and pointing to the junit textui test runner. | ||||
3 | # | ||||
4 | # the normal usage might be: | ||||
5 | # (make MoreJavaTests) | ||||
6 | # $ adb sync | ||||
7 | # $ java/tests/run_junit.sh android.util.MyTest | ||||
8 | |||||
9 | adb shell exec dalvikvm -cp system/app/MoreTests.apk junit.textui.TestRunner $* |