History log of /frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
31e7ce762ccbbb747fabb4581e42a0a2fe56e780 08-Jul-2010 Brett Chabot <brettchabot@android.com> Improve InstrumentationTestRunner exception handling.

This commit fixes two somewhat related problems:
- Attempting to run a method which does not exist caused a runtime
exception which stopped the test run. Change this so the runner reports
an individual test failure instead
- A runtime exception during the test run would cause it to stop
completely, with no information dumped to the logcat or stdout. Now
exceptions are trapped and reported to stdout.

Also added associated unit tests to test these two conditions.

Related bug 2812262.

Change-Id: I383f9b9bad99f14cb51071800fa9bdbf6a6a1119
/frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java
88e03a97366d08fc69d852cf2219f9d0b1916af4 19-Feb-2010 Brett Chabot <brettchabot@android.com> Add ability to run tests restricted to given annotation.

And ability to exclude tests with given annotation.

Also fix class cast compile warning in emma output method.

Bug 2239240

Change-Id: I56273a51a8c58a690680bdb612615fab69e6e13f
/frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java
e70f61b1160e953e5e4d18d30a463fa9ba821779 19-Feb-2010 Brett Chabot <brettchabot@android.com> Retry test-runner tests move.

This time change the frameworks makefile so it only includes test-runner/src
in the public API.
/frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java
c1ca8c51c616d1517b18bf24feaa9f8f1430c835 19-Feb-2010 Brett Chabot <brettchabot@android.com> Revert "Move framework test-runner unit tests to be closer to their source."

This reverts commit 12093976a4842a795491cfd2b1d3b71e18503f2d.
/frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java
12093976a4842a795491cfd2b1d3b71e18503f2d 19-Feb-2010 Brett Chabot <brettchabot@android.com> Move framework test-runner unit tests to be closer to their source.
Move the test-runner source into a separate src folder to accommodate the test
move.
/frameworks/base/test-runner/tests/src/android/test/InstrumentationTestRunnerTest.java