HomeSort by relevance Sort by last modified time
    Searched refs:MockAbstractPreferences (Results 1 - 4 of 4) sorted by null

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
MockPreferencesFactory.java 26 static MockAbstractPreferences userRoot = new MockAbstractPreferences(null,
29 static MockAbstractPreferences systemRoot = new MockAbstractPreferences(
MockAbstractPreferences.java 27 public class MockAbstractPreferences extends AbstractPreferences {
40 Map<String, MockAbstractPreferences> childs = new HashMap<String, MockAbstractPreferences>();
46 protected MockAbstractPreferences(AbstractPreferences parent, String name) {
51 protected MockAbstractPreferences(AbstractPreferences parent, String name,
55 if (parent instanceof MockAbstractPreferences) {
56 ((MockAbstractPreferences) parent).addChild(this);
76 private void addChild(MockAbstractPreferences c) {
123 r = new MockAbstractPreferences(this, name, true);
172 if (p instanceof MockAbstractPreferences) {
    [all...]
AbstractPreferencesTest.java 107 pref = new MockAbstractPreferences(
113 pref = new MockAbstractPreferences(null, "mock");
118 new MockAbstractPreferences(null, " ");
123 new MockAbstractPreferences(pref, "");
128 new MockAbstractPreferences(pref, null);
132 if (!(pref instanceof MockAbstractPreferences)) {
135 new MockAbstractPreferences(pref, " ");
137 Preferences p2 = new MockAbstractPreferences(null, "");
142 p2 = new MockAbstractPreferences((AbstractPreferences) Preferences
149 if (!(pref instanceof MockAbstractPreferences)) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/prefs/
OldAbstractPreferencesTest.java     [all...]

Completed in 59 milliseconds