diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:57 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:43:57 -0800 |
commit | b7926325a1c1a370c84c81db80372f59af240a53 (patch) | |
tree | b1d0214be443ea674d0ded8c502a8e074e50bdd2 /prefs | |
parent | 687f18b91f4a0a728a027579110953ee729adcb8 (diff) | |
download | libcore-b7926325a1c1a370c84c81db80372f59af240a53.zip libcore-b7926325a1c1a370c84c81db80372f59af240a53.tar.gz libcore-b7926325a1c1a370c84c81db80372f59af240a53.tar.bz2 |
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'prefs')
-rw-r--r-- | prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java b/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java index 7f7c296..a5deaed 100644 --- a/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java +++ b/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/FilePreferencesImplTest.java @@ -16,7 +16,9 @@ package org.apache.harmony.prefs.tests.java.util.prefs; +import dalvik.annotation.AndroidOnly; import dalvik.annotation.BrokenTest; +import dalvik.annotation.KnownFailure; import dalvik.annotation.TestTargetClass; import dalvik.annotation.TestTargets; import dalvik.annotation.TestLevel; @@ -107,8 +109,11 @@ public class FilePreferencesImplTest extends TestCase { method = "childrenNames", args = {} ) - @BrokenTest("Checking of childNames.length is not valid because of " + - "it depends on .userPrefs") + @AndroidOnly("Checking of childNames.length doesn't pass on RI because of " + + "it depends on .userPrefs properties.") + @KnownFailure("This test fails on emulator. " + + "java.util.prefs.BackingStoreException is thrown during calling of" + + "childrenNames() method.") public void testChildNodes() throws Exception { Preferences child1 = uroot.node("child1"); |