Searched refs:tf (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/sun/misc/ |
D | UnsafeTest.java | 123 TestFixture tf = new TestFixture(); in test_getBoolean_Relative() local 126 boolean booleanValue = unsafe.getBoolean(tf, booleanFieldOffset); in test_getBoolean_Relative() 127 assertEquals(tf.booleanVar, booleanValue); in test_getBoolean_Relative() 132 TestFixture tf = new TestFixture(); in test_getByte_Relative() local 135 byte byteValue = unsafe.getByte(tf, byteFieldOffset); in test_getByte_Relative() 136 assertEquals(tf.byteVar, byteValue); in test_getByte_Relative() 141 TestFixture tf = new TestFixture(); in test_getInt_Relative() local 144 int intValue = unsafe.getInt(tf, intFieldOffset); in test_getInt_Relative() 145 assertEquals(tf.intVar, intValue); in test_getInt_Relative() 150 TestFixture tf = new TestFixture(); in test_getLong_Relative() local [all …]
|
/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | StackRecorderUtil.java | 66 TestFrame tf = testFrames.get(index); in compareFrame() local 68 if (!tf.declaringClass.equals(sf.getDeclaringClass())) { in compareFrame() 70 tf.declaringClass.toString() + ", but got: " + in compareFrame() 87 if (compareClassNames && !tf.className().equals(sf.getClassName())) { in compareFrame() 88 throw new RuntimeException("Expected class name: " + tf.className() + in compareFrame() 91 if (compareMethodNames && !tf.methodName.equals(sf.getMethodName())) { in compareFrame() 92 throw new RuntimeException("Expected method name: " + tf.methodName + in compareFrame() 97 if (!(ste.getClassName().equals(tf.className()) && in compareFrame() 98 ste.getMethodName().equals(tf.methodName)) && in compareFrame() 99 ste.getFileName().equals(tf.fileName)) { in compareFrame() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlPullParserFactoryTest.java | 60 TestXmlPullParserFactory tf = new TestXmlPullParserFactory(null, null); in testOverriding_emptyClassList() local 63 tf.newPullParser(); in testOverriding_emptyClassList() 69 tf.newPullParser(); in testOverriding_emptyClassList() 77 TestXmlPullParserFactory tf = new TestXmlPullParserFactory( in testOverriding_customClassList() local 81 assertTrue(tf.newPullParser() instanceof XmlPullParserStub); in testOverriding_customClassList() 82 assertTrue(tf.newSerializer() instanceof XmlSerializerStub); in testOverriding_customClassList() 86 tf = new TestXmlPullParserFactory( in testOverriding_customClassList() 94 assertTrue(tf.newPullParser() instanceof XmlPullParserStub); in testOverriding_customClassList() 95 assertTrue(tf.newSerializer() instanceof XmlSerializerStub); in testOverriding_customClassList() 101 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 | 24 File tf = File.createTempFile("classes", ".dex"); in test_readResource() local 53 File tf = File.createTempFile("classes", ".dex"); in test_signatureFormatError() local 59 OutputStream fos = new FileOutputStream(tf); in test_signatureFormatError() 72 ClassLoader cl = Support_ClassLoader.getInstance(tf.toURL(), in test_signatureFormatError()
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XslSubstringTest.java | 92 TransformerFactory tf = TransformerFactory.newInstance(); in testTransform() local 93 Templates tmpl = tf.newTemplates(xslsrc); in testTransform()
|
/libcore/ojluni/src/main/java/java/util/ |
D | XMLUtils.java | 166 TransformerFactory tf = TransformerFactory.newInstance(); in emitDocument() local 169 t = tf.newTransformer(); in emitDocument()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | XmlSupport.java | 278 TransformerFactory tf = TransformerFactory.newInstance(); in writeDoc() local 280 tf.setAttribute("indent-number", new Integer(2)); in writeDoc() 285 Transformer t = tf.newTransformer(); in writeDoc()
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | TryFinallyTest.java | 121 MethodHandle tf = MethodHandles.tryFinally(TryFinally.MH_dummyTarget, cleanup); in testTryFinallyOmitTrailingArguments() local 122 tf.invoke(1, 2L, "a", 23, 42L, "b"); in testTryFinallyOmitTrailingArguments()
|
D | MethodHandlesGeneralTest.java | 1670 MethodHandle tf = MethodHandles.tryFinally(target, cleanup); in testTryFinally() local 1676 tf.invoke(argArray); in testTryFinally() 1678 result = (String) tf.invoke(input); in testTryFinally()
|