Home
last modified time | relevance | path

Searched refs:testRoot (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadGroupTest.java128 ThreadGroup testRoot = new ThreadGroup(originalCurrent, "Test group"); in test_destroy() local
130 final Vector<ThreadGroup> subgroups = buildRandomTreeUnder(testRoot, DEPTH); in test_destroy()
133 testRoot.destroy(); in test_destroy()
147 testRoot = new ThreadGroup(originalCurrent, "Test group (daemon)"); in test_destroy()
148 testRoot.setDaemon(true); in test_destroy()
150 ThreadGroup child = new ThreadGroup(testRoot, "daemon child"); in test_destroy()
166 testRoot.destroy(); in test_destroy()
175 !arrayIncludes(groups(testRoot), child)); in test_destroy()
177 !arrayIncludes(groups(originalCurrent), testRoot)); in test_destroy()
179 testRoot = new ThreadGroup(originalCurrent, "Test group (daemon)"); in test_destroy()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadGroupTest.java273 final ThreadGroup testRoot = new ThreadGroup(originalCurrent, in test_isDestroyed() local
276 testRoot.isDestroyed()); in test_isDestroyed()
277 testRoot.destroy(); in test_isDestroyed()
279 testRoot.isDestroyed()); in test_isDestroyed()