From f013e1afd1e68af5e3b868c26a653bbfb39538f8 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Wed, 17 Dec 2008 18:05:43 -0800 Subject: Code drop from //branches/cupcake/...@124589 --- tests/CoreTests/run_junit.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tests/CoreTests/run_junit.sh (limited to 'tests/CoreTests/run_junit.sh') diff --git a/tests/CoreTests/run_junit.sh b/tests/CoreTests/run_junit.sh new file mode 100755 index 0000000..b77794d --- /dev/null +++ b/tests/CoreTests/run_junit.sh @@ -0,0 +1,9 @@ +# 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 $* -- cgit v1.1