Home
last modified time | relevance | path

Searched refs:getParent (Results 1 – 25 of 29) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLoggerTest.java66 assertNull(Logger.global.getParent().getParent()); in testGlobalLogger()
81 assertNull(mlog.getParent()); in testConstructor_Normal()
94 assertNull(mlog.getParent()); in testConstructor_Null()
146 assertSame(pLog.getParent(), root); in testGetLogger_WithParent()
159 assertSame(child.getParent(), pLog); in testGetLogger_WithParent()
172 assertNotSame(notChild.getParent(), pLog); in testGetLogger_WithParent()
179 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent()
187 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent()
192 assertSame(childOfChild.getParent(), child); in testGetLogger_WithParent()
193 assertSame(childOfChild.getParent().getParent(), pLog); in testGetLogger_WithParent()
[all …]
DOldLogManagerTest.java101 assertNull("logger foo should not haven parent", foo.getParent()); in testGetLogger()
157 .getParent()); in testGetLogger_hierarchy()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java52 assertNotNull(cl.getParent()); in test_getSystemClassLoader()
54 assertSame(cl.getParent(), libcoreClass.getClassLoader()); in test_getSystemClassLoader()
84 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceLjava_lang_String()
102 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_getResourceAsStreamLjava_lang_String()
116 ClassLoader parentClassLoader = testClassLoader.getParent(); in test_testClassLoader_loadClass()
DThreadGroupTest.java33 while (rootThreadGroup.getParent() != null) { in setUp()
34 rootThreadGroup = rootThreadGroup.getParent(); in setUp()
61 newGroup.getParent() == initial); in test_ConstructorLjava_lang_String()
80 newGroup.getParent() == Thread.currentThread().getThreadGroup()); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
87 newGroup.getParent() == rootThreadGroup); in test_ConstructorLjava_lang_ThreadGroupLjava_lang_String()
278 assertTrue("Parent is wrong", testRoot.getParent() == originalCurrent); in test_getParent()
297 assertTrue("Parent is wrong", current.getParent() == previous); in test_getParent()
359 !arrayIncludes(groups(testRoot.getParent()), testRoot)); in test_parentOfLjava_lang_ThreadGroup()
448 current.setMaxPriority(current.getParent().getMaxPriority() - 1); in test_setMaxPriorityI()
452 parentMaxPrio = current.getParent().getMaxPriority(); in test_setMaxPriorityI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DNodeChangeEventTest.java35 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructor()
48 assertSame(Preferences.systemRoot(), event.getParent()); in testConstructorNullParam()
/libcore/luni/src/main/java/org/xml/sax/
DXMLFilter.java61 public abstract XMLReader getParent (); in getParent() method
/libcore/luni/src/main/java/java/security/cert/
DPolicyNode.java60 public PolicyNode getParent(); in getParent() method
/libcore/luni/src/main/java/java/util/prefs/
DNodeChangeEvent.java66 public Preferences getParent() { in getParent() method in NodeChangeEvent
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DXMLFilterImplTest.java78 assertEquals(null, parent.getParent()); in testXMLFilterImpl()
83 assertEquals(null, parent.getParent()); in testXMLFilterImplXMLReader()
87 assertEquals(null, filter.getParent()); in testXMLFilterImplXMLReader()
92 assertEquals(null, child.getParent()); in testGetSetParent()
95 assertEquals(parent, child.getParent()); in testGetSetParent()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldNodeChangeEventTest.java105 Preferences parent = e.getParent(); in testGetParent()
117 Preferences parent = e.getParent(); in testGetParent()
/libcore/luni/src/main/java/java/util/
DServiceLoader.java154 while (cl.getParent() != null) { in loadInstalled()
155 cl = cl.getParent(); in loadInstalled()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java398 String dirName = f1.getParent(); in test_createNewFile()
457 String fileLocation = addTrailingSlash(f1.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_String()
538 fileLocation = addTrailingSlash(currentFile.getParent()); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File()
905 assertNull("Incorrect path returned", f.getParent()); in test_getParent()
908 "/user/home", f.getParent()); in test_getParent()
911 assertEquals("Wrong parent test 1", File.separator, f1.getParent()); in test_getParent()
914 File.separator + "directory", f1.getParent()); in test_getParent()
916 assertEquals("Wrong parent test 3", "directory", f1.getParent()); in test_getParent()
918 assertNull("Wrong parent test 4", f1.getParent()); in test_getParent()
920 assertNull("Wrong parent test 5", f1.getParent()); in test_getParent()
[all …]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DTestUtils.java251 public PolicyNode getParent() { in getPolicyTree() method
270 public PolicyNode getParent() { in getPolicyTree()
/libcore/jsr166-tests/src/test/java/jsr166/
DPhaserTest.java56 assertNull(phaser.getParent()); in testConstructorDefaultValues()
109 assertSame(parent, new Phaser(parent).getParent()); in testConstructor3()
110 assertNull(new Phaser(null).getParent()); in testConstructor3()
119 assertSame(parent, new Phaser(parent, 0).getParent()); in testConstructor5()
120 assertNull(new Phaser(null, 0).getParent()); in testConstructor5()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java329 while (rootThreadGroup.getParent() != null) { in setUp()
330 rootThreadGroup = rootThreadGroup.getParent(); in setUp()
/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java100 String parent = new File(outputName).getParent(); in DexFile()
/libcore/luni/src/main/java/java/io/
DFile.java449 public String getParent() { in getParent() method in File
476 String tempParent = getParent(); in getParentFile()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLFilterImpl.java124 public XMLReader getParent () in getParent() method in XMLFilterImpl
/libcore/dalvik/src/main/java/dalvik/system/profiler/
DSamplingProfiler.java466 ThreadGroup parentGroup = group == null ? null : group.getParent(); in addStartThread()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java48 ucl.getParent() == URLClassLoader.getSystemClassLoader()); in test_Constructor$Ljava_net_URL()
/libcore/libart/src/main/java/java/lang/
DThreadGroup.java402 public final ThreadGroup getParent() { in getParent() method in ThreadGroup
DClassLoader.java384 public final ClassLoader getParent() { in getParent() method in ClassLoader
/libcore/luni/src/main/java/java/util/logging/
DLogManager.java255 Logger oldParent = child.getParent(); in addToFamilyTree()
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java101 assertEquals(null, f.getParent()); in test_emptyFilename()
/libcore/luni/src/main/java/java/net/
DNetworkInterface.java426 public NetworkInterface getParent() { in getParent() method in NetworkInterface

12