commit | 9fed037fd0d40bd958840bbb24673661df6fb8d6 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Sep 07 12:09:57 2016 +0100 |
committer | Paul Duffin <paulduffin@google.com> | Wed Sep 07 12:09:57 2016 +0100 |
tree | ff3812e92cc11dbdf04fb6c8bf10094cd3dc6e5e | |
parent | 2b353ef6893fa8d59d32efbb2b02777fd7fd9a5d [diff] |
TestNgRunner - fire events properly The documentation for org.junit.runner.notification.RunNotifier fireTestFinished() makes it clear that you must call it if you called fireTestStarted(). This change fixes a problem where fireTestFinished() was only called if it failed. Also, cleans up some unused imports and constants. Bug: 30801147 Test: run cts modules CtsLibcoreTestCases CtsLibcoreOjTestCases Change-Id: I5fb3f14ba387a70e64d4cc5f19ded3fef4e9de0b