/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderFactoryTest.java | 312 db.parse(getClass().getResourceAsStream("/simple.xml")); in test_newDocumentBuilder() 384 Document document = parser.parse(getClass().getResourceAsStream( in test_setCoalescingZ() 412 Document document = parser.parse(getClass().getResourceAsStream( in test_setCoalescingZ() 447 Document document = parser.parse(getClass().getResourceAsStream( in test_setExpandEntityReferencesZ() 470 Document document = parser.parse(getClass().getResourceAsStream( in test_setExpandEntityReferencesZ() 545 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringCommentsZ() 568 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringCommentsZ() 594 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringElementContentWhitespaceZ() 613 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringElementContentWhitespaceZ() 637 Document document = parser.parse(getClass().getResourceAsStream( in test_setNamespaceAwareZ() [all …]
|
D | DocumentBuilderTest.java | 299 InputStream is = getClass().getResourceAsStream("/simple.xml"); in test_parseLjava_io_InputStream() 341 is = getClass().getResourceAsStream("/wrong.xml"); in test_parseLjava_io_InputStream() 359 InputStream stream = getClass().getResourceAsStream("/simple.xml"); in testParseInputSource() 403 is = new InputSource(getClass().getResourceAsStream("/wrong.xml")); in testParseInputSource() 422 InputStream is = getClass().getResourceAsStream("/systemid.xml"); in test_parseLjava_io_InputStreamLjava_lang_String() 469 is = getClass().getResourceAsStream("/wrong.xml"); in test_parseLjava_io_InputStreamLjava_lang_String()
|
D | SAXParserFactoryTest.java | 56 is1 = getClass().getResourceAsStream("/simple.xml"); in setUp() 237 InputStream is = getClass().getResourceAsStream("/simple_ns.xml"); in test_setNamespaceAwareZ() 242 is = getClass().getResourceAsStream("/simple_ns.xml"); in test_setNamespaceAwareZ()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericSignatureFormatErrorTest.java | 29 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_readResource() 60 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_signatureFormatError()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 40 InputStream result = Support_Resources.class.getResourceAsStream(path); in getStream() 171 InputStream is = Support_Resources.class.getResourceAsStream(name); in getResourceStream() 175 is = Support_Resources.class.getResourceAsStream(name); in getResourceStream() 189 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile()
|
/libcore/luni/src/test/etc/loading-test-jar/ |
D | TestMethods.java | 128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); in test_getResourceAsStream() 184 InputStream in = cl.getResourceAsStream("test2/Resource2.txt"); in test_diff_getResourceAsStream()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 434 InputStream str2 = getClass().getResourceAsStream(name); in test_getResourceAsStreamLjava_lang_String() 439 getClass().getResourceAsStream(nameBadURI)); in test_getResourceAsStreamLjava_lang_String() 569 assertNull(getClass().getResourceAsStream(SHARP_RESOURCE_ABS_NAME)); in test_getResourceAsStream_withSharpChar() 575 this.getClass().getClassLoader().getResourceAsStream(SHARP_RESOURCE_ABS_NAME); in test_getResourceAsStream_withSharpChar() 582 assertNull(getClass().getResourceAsStream(RESOURCE_ABS_NAME)); in test_getResourceAsStream() 586 InputStream in = this.getClass().getClassLoader().getResourceAsStream(RESOURCE_ABS_NAME); in test_getResourceAsStream() 592 InputStream in = getClass().getResourceAsStream(resourceName); in assertResourceExists()
|
D | ClassLoaderTest.java | 104 assertNull(parentClassLoader.getResourceAsStream(TEST_RESOURCE_NAME)); in test_testClassLoader_getResourceAsStreamLjava_lang_String() 137 is = classLoader.getResourceAsStream(resourceName); in assertGetResourceAsStreamNotNull()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SimpleParserTest.java | 155 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml"), in testWorkingFile1() 181 parser.parse(getClass().getResourceAsStream("/SimpleParserTest.xml"), in testWorkingFile2() 222 parser.parse(this.getClass().getResourceAsStream("/staffEntRes.xml"), in testEntityResolver() 229 parser.parse(getClass().getResourceAsStream("/staffNS.xml"), in testGetValue()
|
D | SimpleBuilderTest.java | 58 Document document = builder.parse(getClass().getResourceAsStream( in testGoodFile1() 111 Document document = builder.parse(getClass().getResourceAsStream( in testGoodFile2()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 894 "directory", getClass().getResourceAsStream(name)); in test_getResourceAsStreamLjava_lang_String() 898 getClass().getResourceAsStream(nameBadURI)); in test_getResourceAsStreamLjava_lang_String() 902 assertNotNull(clazz.getResourceAsStream("HelloWorld1.txt")); in test_getResourceAsStreamLjava_lang_String() 905 getClass().getResourceAsStream(null); in test_getResourceAsStreamLjava_lang_String() 1003 InputStream stream = clazz.getResourceAsStream("HelloWorld.txt"); in testGetResourceAsStream1() 1017 InputStream stream = clazz.getResourceAsStream("/libcore/java/lang/HelloWorld.txt"); in testGetResourceAsStream2() 1028 clazz.getResourceAsStream(null); in testGetResourceAsStream2() 1033 assertNull(clazz.getResourceAsStream("/NonExistentResource")); in testGetResourceAsStream2() 1034 assertNull(clazz.getResourceAsStream("libcore/java/lang/HelloWorld.txt")); in testGetResourceAsStream2()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 234 is = cl.getResourceAsStream(serviceId); in findJarServiceProvider() 239 is = cl.getResourceAsStream(serviceId); in findJarServiceProvider()
|
/libcore/support/src/test/java/tests/security/ |
D | MessageDigestTest.java | 81 InputStream sourceStream = getClass().getResourceAsStream(digestAlgorithmName + ".data"); in getSourceData() 88 getClass().getResourceAsStream(digestAlgorithmName + ".check"); in getCheckDigest()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLReaderFactory.java | 126 in = loader.getResourceAsStream (service); in createXMLReader()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectOutputStreamPutFieldTest.java | 127 refStream = getClass().getResourceAsStream(path); in getRefContent()
|
D | OldObjectInputStreamGetFieldTest.java | 249 getClass().getResourceAsStream(fileName)); in initOis()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | CSVTest.java | 48 getClass().getResourceAsStream(csvFileName))); in TestCSVInputs()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InputStreamReaderTest.java | 165 .getResourceAsStream( in test_close() 407 in = this.getClass().getClassLoader().getResourceAsStream( in test_read_specialCharset() 420 in = this.getClass().getClassLoader().getResourceAsStream( in test_read_specialCharset()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetLocal.java | 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); in getLocalFile()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDecimalFormatSymbolsTest.java | 40 .getResourceAsStream( in test_RIHarmony_compatible()
|
/libcore/luni/src/test/java/tests/support/ |
D | Support_SQL.java | 52 .getResourceAsStream("/connection.properties"); in loadDriver()
|
/libcore/libart/src/main/java/java/lang/ |
D | ClassLoader.java | 182 return SystemClassLoader.loader.getResourceAsStream(resName); in getSystemResourceAsStream() 440 public InputStream getResourceAsStream(String resName) { in getResourceAsStream() method in ClassLoader
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferencesTest.java | 150 .getResourceAsStream("/resources/prefs/java/util/prefs/userprefs.xml"); in testImportPreferences() 160 in = PreferencesTest.class.getResourceAsStream( in testImportPreferences()
|
/libcore/luni/src/test/java/dalvik/system/ |
D | DexClassLoaderTest.java | 139 loader.getResourceAsStream(PACKAGE_PATH + resourceName); in copyResource() 454 InputStream in = dcl.getResourceAsStream(resourceName); in test_directGetResourceAsStream()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ParseBenchmark.java | 109 InputStream in = ParseBenchmark.class.getResourceAsStream(path); in resourceToString()
|