diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-02-28 11:05:55 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-02-28 11:05:55 -0800 |
commit | 71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc (patch) | |
tree | ee723ebdccdc82fe04fc99a96f136934e7793530 /test-runner | |
parent | b732b7b5e8192501360edc15fb8c6399d11fb97d (diff) | |
parent | 79b66725b7755e403e10a9d073121789f09b1a9e (diff) | |
download | frameworks_base-71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc.zip frameworks_base-71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc.tar.gz frameworks_base-71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc.tar.bz2 |
am 79b66725: am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit '79b66725b7755e403e10a9d073121789f09b1a9e':
Fix of tearDown() in SingleLaunchActivityTestCase.
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/SingleLaunchActivityTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-runner/src/android/test/SingleLaunchActivityTestCase.java b/test-runner/src/android/test/SingleLaunchActivityTestCase.java index b63b3ce..79c554a 100644 --- a/test-runner/src/android/test/SingleLaunchActivityTestCase.java +++ b/test-runner/src/android/test/SingleLaunchActivityTestCase.java @@ -75,7 +75,7 @@ public abstract class SingleLaunchActivityTestCase<T extends Activity> protected void tearDown() throws Exception { // If it is the last test case, call finish on the activity. sTestCaseCounter --; - if (sTestCaseCounter == 1) { + if (sTestCaseCounter == 0) { sActivity.finish(); } super.tearDown(); |