diff options
| author | 2011-02-28 10:15:46 -0800 | |
|---|---|---|
| committer | 2011-02-28 10:15:46 -0800 | |
| commit | 25be2c725eba1c94c7fc700e37b194fdcd83a1fb (patch) | |
| tree | 352ae9de626d92b0299616fc0f854919879a9777 | |
| parent | 6504490cde3ec5d48321d539e654d1f2072b33f9 (diff) | |
| parent | e0537f1859664ba9c9cf87eb9d6dc3c16986dbb8 (diff) | |
am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit 'e0537f1859664ba9c9cf87eb9d6dc3c16986dbb8':
Fix of tearDown() in SingleLaunchActivityTestCase.
| -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 b63b3ce19759..79c554a46391 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(); |