diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-02-28 10:18:30 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-02-28 10:18:30 -0800 |
commit | 79b66725b7755e403e10a9d073121789f09b1a9e (patch) | |
tree | b204de947520efec1a1bdb6c5cfcca2eaae881ce /test-runner | |
parent | ce57a7f35344e76689d30f45964d1e37b78280cb (diff) | |
parent | 25be2c725eba1c94c7fc700e37b194fdcd83a1fb (diff) | |
download | frameworks_base-79b66725b7755e403e10a9d073121789f09b1a9e.zip frameworks_base-79b66725b7755e403e10a9d073121789f09b1a9e.tar.gz frameworks_base-79b66725b7755e403e10a9d073121789f09b1a9e.tar.bz2 |
am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit '25be2c725eba1c94c7fc700e37b194fdcd83a1fb':
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(); |