diff options
author | Jorg Pleumann <> | 2009-04-27 09:15:18 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-04-27 09:15:18 -0700 |
commit | 1a7e762f344c111416b001a61e41451d01f605ad (patch) | |
tree | 7e0045a37b2f99a27890856a0c011036df7c4057 /concurrent/src | |
parent | 016a87c7952b25eededfc222615e25a5a72bcdda (diff) | |
download | libcore-1a7e762f344c111416b001a61e41451d01f605ad.zip libcore-1a7e762f344c111416b001a61e41451d01f605ad.tar.gz libcore-1a7e762f344c111416b001a61e41451d01f605ad.tar.bz2 |
AI 147838: A couple of fixes for making the
core tests work better in the CTS
environment. Some tests had to be
marked broken either because they
either expose different behavior
than in run-core-tests or they
take too much time (beyond the
CTS' timeout).
BUG=1285921
Automated import of CL 147838
Diffstat (limited to 'concurrent/src')
-rwxr-xr-x | concurrent/src/test/java/tests/api/java/util/concurrent/ThreadTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/concurrent/src/test/java/tests/api/java/util/concurrent/ThreadTest.java b/concurrent/src/test/java/tests/api/java/util/concurrent/ThreadTest.java index a5c63d9..253d9eb 100755 --- a/concurrent/src/test/java/tests/api/java/util/concurrent/ThreadTest.java +++ b/concurrent/src/test/java/tests/api/java/util/concurrent/ThreadTest.java @@ -8,6 +8,10 @@ package tests.api.java.util.concurrent; +// BEGIN android-added +import dalvik.annotation.BrokenTest; +// END android-added + import junit.framework.*; public class ThreadTest extends JSR166TestCase { @@ -46,6 +50,9 @@ public class ThreadTest extends JSR166TestCase { * getDefaultUncaughtExceptionHandler returns value of last * setDefaultUncaughtExceptionHandler. */ + // BEGIN android-added + @BrokenTest("Different behavior between run-core-tests and CTS") + // END android-added public void testGetAndSetDefaultUncaughtExceptionHandler() { assertEquals(null, Thread.getDefaultUncaughtExceptionHandler()); // failure due to securityException is OK. |