Home
last modified time | relevance | path

Searched refs:child1 (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DFilePreferencesImplTest.java76 Preferences child1 = uroot.node("child1"); in testChildNodes() local
78 Preferences grandchild = child1.node("grand"); in testChildNodes()
84 childNames = child1.childrenNames(); in testChildNodes()
90 child1.removeNode(); in testChildNodes()
98 child1 = sroot.node("child1"); in testChildNodes()
102 Preferences grandchild2 = child1.node("grand"); in testChildNodes()
105 childNames = child1.childrenNames(); in testChildNodes()
111 child1.removeNode(); in testChildNodes()
112 assertNotSame(child1, sroot.node("child1")); in testChildNodes()
DAbstractPreferencesTest.java193 Preferences child1 = pref.node("child1"); in testChildrenNames() local
197 child1.node("subchild1"); in testChildrenNames()
199 assertSame(pref, child1.parent()); in testChildrenNames()
567 AbstractPreferences child1 = new MockAbstractPreferences(pref, "child1"); in testParent() local
568 assertSame(pref, child1.parent()); in testParent()
743 Preferences child1 = pref.node("child1"); in testRemoveNode() local
749 assertFalse(child1.nodeExists("")); in testRemoveNode()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldFilePreferencesImplTest.java49 Preferences child1 = sroot.node("child1"); in testSystemChildNodes() local
51 Preferences grandchild = child1.node("grand"); in testSystemChildNodes()
58 childNames = child1.childrenNames(); in testSystemChildNodes()
64 child1.removeNode(); in testSystemChildNodes()
DOldPreferencesTest.java139 Preferences child1 = pref.node("child1"); in testChildrenNames() local
143 child1.node("subchild1"); in testChildrenNames()
145 assertSame(pref, child1.parent()); in testChildrenNames()
148 assertEquals(1, child1.childrenNames().length); in testChildrenNames()
149 assertEquals("subchild1", child1.childrenNames()[0]); in testChildrenNames()
622 Preferences child1 = pref.node("child1"); in testRemoveNode() local
628 assertFalse(child1.nodeExists("")); in testRemoveNode()
641 Preferences child1 = null; in testAddNodeChangeListener() local
648 child1 = pref.node("mock1"); in testAddNodeChangeListener()
659 child1.removeNode(); in testAddNodeChangeListener()
[all …]
DOldNodeChangeEventTest.java82 Preferences child1 = pref.node("mock1"); in testGetChild() local
87 child1.removeNode(); in testGetChild()
130 Preferences child1 = pref.node("mock1"); in testGetParent() local
135 child1.removeNode(); in testGetParent()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Delementgetelementsbytagnamens04.java77 Element child1; in runTest() local
86 child1 = doc.createElementNS("http://www.w3.org/DOM/Level1", "dom:child"); in runTest()
89 appendedChild = element.appendChild(child1); in runTest()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DElementGetElementsByTagNameNS.java63 Element child1; in testGetElementsByTagNameNS4() local
72 child1 = doc.createElementNS("http://www.w3.org/DOM/Level1", in testGetElementsByTagNameNS4()
77 element.appendChild(child1); in testGetElementsByTagNameNS4()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DPhaserTest.java226 Phaser child1 = new Phaser(root, 1); in testRegisterEmptySubPhaser() local
230 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
234 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
239 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
241 assertEquals(0, child1.arriveAndDeregister()); in testRegisterEmptySubPhaser()
243 assertTerminated(child1, 1); in testRegisterEmptySubPhaser()
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java202 Phaser child1 = new Phaser(root, 1); in testRegisterEmptySubPhaser() local
206 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
210 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
215 assertState(child1, 0, 1, 1); in testRegisterEmptySubPhaser()
217 assertEquals(0, child1.arriveAndDeregister()); in testRegisterEmptySubPhaser()
219 assertTerminated(child1, 1); in testRegisterEmptySubPhaser()