diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2011-02-28 10:15:46 -0800 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-02-28 10:15:46 -0800 |
commit | 25be2c725eba1c94c7fc700e37b194fdcd83a1fb (patch) | |
tree | 352ae9de626d92b0299616fc0f854919879a9777 /test-runner/src | |
parent | 6504490cde3ec5d48321d539e654d1f2072b33f9 (diff) | |
parent | e0537f1859664ba9c9cf87eb9d6dc3c16986dbb8 (diff) | |
download | frameworks_base-25be2c725eba1c94c7fc700e37b194fdcd83a1fb.zip frameworks_base-25be2c725eba1c94c7fc700e37b194fdcd83a1fb.tar.gz frameworks_base-25be2c725eba1c94c7fc700e37b194fdcd83a1fb.tar.bz2 |
am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit 'e0537f1859664ba9c9cf87eb9d6dc3c16986dbb8':
Fix of tearDown() in SingleLaunchActivityTestCase.
Diffstat (limited to 'test-runner/src')
-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(); |