summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2011-02-28 11:05:55 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-28 11:05:55 -0800
commit71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc (patch)
treeee723ebdccdc82fe04fc99a96f136934e7793530 /test-runner
parentb732b7b5e8192501360edc15fb8c6399d11fb97d (diff)
parent79b66725b7755e403e10a9d073121789f09b1a9e (diff)
downloadframeworks_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.java2
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();