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 $* 10