Home
last modified time | relevance | path

Searched refs:nodeExists (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldPreferencesTest.java95 p.nodeExists(null); in testAbstractMethods()
375 pref.nodeExists(null); in testNodeExists()
380 pref.nodeExists("/java/util/prefs/"); in testNodeExists()
385 pref.nodeExists("/java//util/prefs"); in testNodeExists()
390 assertTrue(pref.nodeExists("/")); in testNodeExists()
392 assertTrue(pref.nodeExists("/java/util/prefs")); in testNodeExists()
394 assertTrue(pref.nodeExists("")); in testNodeExists()
396 assertFalse(pref.nodeExists("child")); in testNodeExists()
398 assertTrue(pref.nodeExists("child")); in testNodeExists()
399 assertTrue(pref.nodeExists("child/grandchild")); in testNodeExists()
[all …]
DOldAbstractPreferencesTest.java705 test.nodeExists(null); in test_nodeExists()
713 test.nodeExists(null); in test_nodeExists()
792 assertTrue(pref.nodeExists("First node")); in testNodeExists()
793 assertTrue(pref.nodeExists("Second node")); in testNodeExists()
794 assertFalse(pref.nodeExists("IntegerValue")); in testNodeExists()
795 assertFalse(pref.nodeExists("BoolValue")); in testNodeExists()
796 assertFalse(pref.nodeExists("Value")); in testNodeExists()
797 assertFalse(pref.nodeExists(nodeName)); in testNodeExists()
800 pref.nodeExists("///invalid"); in testNodeExists()
809 pref.nodeExists("Exception"); in testNodeExists()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DAbstractPreferencesTest.java513 pref.nodeExists(null); in testNodeExists()
518 pref.nodeExists("/java/util/prefs/"); in testNodeExists()
523 pref.nodeExists("/java//util/prefs"); in testNodeExists()
528 assertTrue(pref.nodeExists("/")); in testNodeExists()
530 assertTrue(pref.nodeExists("/java/util/prefs")); in testNodeExists()
532 assertTrue(pref.nodeExists("")); in testNodeExists()
534 assertFalse(pref.nodeExists("child")); in testNodeExists()
536 assertTrue(pref.nodeExists("child")); in testNodeExists()
537 assertTrue(pref.nodeExists("child/grandchild")); in testNodeExists()
539 assertTrue(pref.nodeExists("child")); in testNodeExists()
[all …]
DPreferencesTest.java157 assertTrue(prefs.nodeExists("mock/child/grandson")); in testImportPreferences()
336 public boolean nodeExists(String name) throws BackingStoreException { in nodeExists() method in PreferencesTest.MockPreferences
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java874 public boolean nodeExists(String path) in nodeExists() method in AbstractPreferences
885 return nodeExists(new StringTokenizer(path, "/", true)); in nodeExists()
889 return root.nodeExists(new StringTokenizer(path.substring(1), "/", in nodeExists()
896 private boolean nodeExists(StringTokenizer path) in nodeExists() method in AbstractPreferences
913 return child.nodeExists(path); in nodeExists()
DPreferences.java1017 public abstract boolean nodeExists(String pathName) in nodeExists() method in Preferences