Home
last modified time | relevance | path

Searched refs:itl (Results 1 – 4 of 4) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalTest.java31 static InheritableThreadLocal<Integer> itl = field in ThreadLocalTest
58 assertSame(itl.get(), zero); in testRemoveITL()
59 itl.set(two); in testRemoveITL()
60 assertSame(itl.get(), two); in testRemoveITL()
61 itl.remove(); in testRemoveITL()
62 assertSame(itl.get(), zero); in testRemoveITL()
70 if (itl.get().intValue() < x.length - 1) { in run()
76 int threadId = itl.get().intValue(); in run()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalTest.java55 static InheritableThreadLocal<Integer> itl = field in ThreadLocalTest
82 assertSame(itl.get(), zero); in testRemoveITL()
83 itl.set(two); in testRemoveITL()
84 assertSame(itl.get(), two); in testRemoveITL()
85 itl.remove(); in testRemoveITL()
86 assertSame(itl.get(), zero); in testRemoveITL()
94 if (itl.get().intValue() < x.length - 1) { in run()
100 int threadId = itl.get().intValue(); in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DInheritableThreadLocalTest.java28 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>(); in test_Constructor() local
29 assertNull(itl.get()); in test_Constructor()
33 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>() { in test_initialValue() local
39 assertEquals("initial", itl.get()); in test_initialValue()
/libcore/luni/src/test/java/libcore/java/lang/
DOldInheritableThreadLocalTest.java53 InheritableThreadLocal<String> itl = new InheritableThreadLocal<String>() { in test_childValue() local
63 assertEquals("initial", itl.get()); in test_childValue()