Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 7 of 7) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DParserAdapterTest.java64 private ParserAdapter adapter = new ParserAdapter(parser); field in ParserAdapterTest
76 adapter.setContentHandler(handler); in setUp()
77 adapter.setDTDHandler(handler); in setUp()
78 adapter.setErrorHandler(handler); in setUp()
99 ParserAdapter adapter = new ParserAdapter(parser); in testParserAdapterParser() local
103 adapter = new ParserAdapter(null); in testParserAdapterParser()
116 adapter.setFeature(s, true); in testGetSetFeature()
117 assertEquals(true, adapter.getFeature(s)); in testGetSetFeature()
119 adapter.setFeature(s, false); in testGetSetFeature()
120 assertEquals(false, adapter.getFeature(s)); in testGetSetFeature()
[all …]
DXMLReaderAdapterTest.java54 private XMLReaderAdapter adapter = new XMLReaderAdapter(reader); field in XMLReaderAdapterTest
66 adapter.setDocumentHandler(handler); in setUp()
67 adapter.setDTDHandler(handler); in setUp()
68 adapter.setErrorHandler(handler); in setUp()
89 XMLReaderAdapter adapter = new XMLReaderAdapter(reader); in testXMLReaderAdapterXMLReader() local
93 adapter = new XMLReaderAdapter(null); in testXMLReaderAdapterXMLReader()
103 adapter.setLocale(Locale.getDefault()); in testSetLocale()
114 adapter.setEntityResolver(resolver); in testSetEntityResolver()
118 adapter.setEntityResolver(null); in testSetEntityResolver()
127 adapter.setDTDHandler(null); in testSetDTDHandler()
[all …]
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java183 MethodHandle adapter = MethodHandles.catchException(target, IllegalArgumentException.class, in testCatchException() local
190 returnVal = (String) adapter.invoke("foo", 42, null); in testCatchException()
192 returnVal = (String) adapter.invokeExact("foo", 42l, (String) null); in testCatchException()
197 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
199 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); in testCatchException()
206 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); in testCatchException()
208 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
210 returnVal = (String) adapter.invokeExact("foo", 42l, "exceptionMessage"); in testCatchException()
218 adapter = MethodHandles.catchException(target, IllegalArgumentException.class, handler); in testCatchException()
220 returnVal = (String) adapter.invoke("foo", 42, "exceptionMessage"); in testCatchException()
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java1356 MethodHandle adapter = handle.bindTo(receiver); in bind() local
1357 MethodType adapterType = adapter.type(); in bind()
1359 adapter = adapter.asVarargsCollector( in bind()
1363 return adapter; in bind()
/libcore/dom/src/test/java/org/w3c/domts/
DJunitTestCases.java28 JUnitTestCaseAdapter adapter = new JUnitTestCaseAdapter(); in runDomTest() local
29 adapter.setName(name); in runDomTest()
30 adapter.runTest(); in runDomTest()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/ojluni/
DNOTICE1507 <code>ReplaceableString</code> is an adapter class that implements the