Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/xml/
DXmlPullParserFactoryTest.java50 TestXmlPullParserFactory tf = new TestXmlPullParserFactory(null, null); in testOverriding_emptyClassList() local
53 tf.newPullParser(); in testOverriding_emptyClassList()
59 tf.newPullParser(); in testOverriding_emptyClassList()
66 TestXmlPullParserFactory tf = new TestXmlPullParserFactory( in testOverriding_customClassList() local
70 assertTrue(tf.newPullParser() instanceof XmlPullParserStub); in testOverriding_customClassList()
71 assertTrue(tf.newSerializer() instanceof XmlSerializerStub); in testOverriding_customClassList()
75 tf = new TestXmlPullParserFactory( in testOverriding_customClassList()
83 assertTrue(tf.newPullParser() instanceof XmlPullParserStub); in testOverriding_customClassList()
84 assertTrue(tf.newSerializer() instanceof XmlSerializerStub); in testOverriding_customClassList()
89 TestXmlPullParserFactory tf = new TestXmlPullParserFactory( in testSetFeature_setsFeatureOnlyIfTrue() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericSignatureFormatErrorTest.java25 File tf = File.createTempFile("classes", ".dex"); in test_readResource() local
56 File tf = File.createTempFile("classes", ".dex"); in test_signatureFormatError() local
62 OutputStream fos = new FileOutputStream(tf); in test_signatureFormatError()
75 ClassLoader cl = Support_ClassLoader.getInstance(tf.toURL(), in test_signatureFormatError()
/libcore/jsr166-tests/src/test/java/jsr166/
DScheduledExecutorTest.java423 ThreadFactory tf = new SimpleThreadFactory(); in testGetThreadFactory() local
424 ScheduledThreadPoolExecutor p = new ScheduledThreadPoolExecutor(1, tf); in testGetThreadFactory()
425 assertSame(tf, p.getThreadFactory()); in testGetThreadFactory()
433 ThreadFactory tf = new SimpleThreadFactory(); in testSetThreadFactory() local
435 p.setThreadFactory(tf); in testSetThreadFactory()
436 assertSame(tf, p.getThreadFactory()); in testSetThreadFactory()
DScheduledExecutorSubclassTest.java473 ThreadFactory tf = new SimpleThreadFactory(); in testGetThreadFactory() local
474 CustomExecutor p = new CustomExecutor(1, tf); in testGetThreadFactory()
475 assertSame(tf, p.getThreadFactory()); in testGetThreadFactory()
483 ThreadFactory tf = new SimpleThreadFactory(); in testSetThreadFactory() local
485 p.setThreadFactory(tf); in testSetThreadFactory()
486 assertSame(tf, p.getThreadFactory()); in testSetThreadFactory()
DThreadPoolExecutorTest.java202 ThreadFactory tf = new SimpleThreadFactory(); in testGetThreadFactory() local
207 tf, in testGetThreadFactory()
209 assertSame(tf, p.getThreadFactory()); in testGetThreadFactory()
221 ThreadFactory tf = new SimpleThreadFactory(); in testSetThreadFactory() local
222 p.setThreadFactory(tf); in testSetThreadFactory()
223 assertSame(tf, p.getThreadFactory()); in testSetThreadFactory()
DThreadPoolExecutorSubclassTest.java330 ThreadFactory tf = new SimpleThreadFactory(); in testGetThreadFactory() local
331 …TPE(1,2,LONG_DELAY_MS, MILLISECONDS, new ArrayBlockingQueue<Runnable>(10), tf, new NoOpREHandler()… in testGetThreadFactory()
332 assertSame(tf, p.getThreadFactory()); in testGetThreadFactory()
341 ThreadFactory tf = new SimpleThreadFactory(); in testSetThreadFactory() local
342 p.setThreadFactory(tf); in testSetThreadFactory()
343 assertSame(tf, p.getThreadFactory()); in testSetThreadFactory()