Searched refs:tf (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 50 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/ |
D | GenericSignatureFormatErrorTest.java | 25 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/ |
D | ScheduledExecutorTest.java | 423 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()
|
D | ScheduledExecutorSubclassTest.java | 473 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()
|
D | ThreadPoolExecutorTest.java | 202 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()
|
D | ThreadPoolExecutorSubclassTest.java | 330 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()
|