/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderFactoryTest.java | 322 db.parse(getClass().getResourceAsStream("/simple.xml")); in test_newDocumentBuilder() 394 Document document = parser.parse(getClass().getResourceAsStream( in test_setCoalescingZ() 422 Document document = parser.parse(getClass().getResourceAsStream( in test_setCoalescingZ() 457 Document document = parser.parse(getClass().getResourceAsStream( in test_setExpandEntityReferencesZ() 480 Document document = parser.parse(getClass().getResourceAsStream( in test_setExpandEntityReferencesZ() 555 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringCommentsZ() 578 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringCommentsZ() 604 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringElementContentWhitespaceZ() 623 Document document = parser.parse(getClass().getResourceAsStream( in test_setIgnoringElementContentWhitespaceZ() 647 Document document = parser.parse(getClass().getResourceAsStream( in test_setNamespaceAwareZ() [all …]
|
D | DocumentBuilderTest.java | 302 InputStream is = getClass().getResourceAsStream("/simple.xml"); in test_parseLjava_io_InputStream() 344 is = getClass().getResourceAsStream("/wrong.xml"); in test_parseLjava_io_InputStream() 362 InputStream stream = getClass().getResourceAsStream("/simple.xml"); in testParseInputSource() 406 is = new InputSource(getClass().getResourceAsStream("/wrong.xml")); in testParseInputSource() 425 InputStream is = getClass().getResourceAsStream("/systemid.xml"); in test_parseLjava_io_InputStreamLjava_lang_String() 472 is = getClass().getResourceAsStream("/wrong.xml"); in test_parseLjava_io_InputStreamLjava_lang_String()
|
D | SAXParserFactoryTest.java | 55 is1 = getClass().getResourceAsStream("/simple.xml"); in setUp() 264 InputStream is = getClass().getResourceAsStream("/simple_ns.xml"); in test_setNamespaceAwareZ() 269 is = getClass().getResourceAsStream("/simple_ns.xml"); in test_setNamespaceAwareZ()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassTest.java | 441 InputStream str2 = getClass().getResourceAsStream(name); in test_getResourceAsStreamLjava_lang_String() 446 getClass().getResourceAsStream(nameBadURI)); in test_getResourceAsStreamLjava_lang_String() 555 assertNull(getClass().getResourceAsStream(SHARP_RESOURCE_ABS_NAME)); in test_getResourceAsStream_withSharpChar() 560 this.getClass().getClassLoader().getResourceAsStream(SHARP_RESOURCE_ABS_NAME); in test_getResourceAsStream_withSharpChar() 581 assertNull(getClass().getResourceAsStream(QUERY_RESOURCE_ABS_NAME)); in test_getResourceAsStream_withQueryChar() 586 this.getClass().getClassLoader().getResourceAsStream(QUERY_RESOURCE_ABS_NAME); in test_getResourceAsStream_withQueryChar() 607 assertNull(getClass().getResourceAsStream(RESOURCE_ABS_NAME)); in test_getResourceAsStream() 611 InputStream in = this.getClass().getClassLoader().getResourceAsStream(RESOURCE_ABS_NAME); in test_getResourceAsStream() 617 InputStream in = getClass().getResourceAsStream(resourceName); in assertResourceExists()
|
D | ClassLoaderTest.java | 109 assertNull(parentClassLoader.getResourceAsStream(TEST_RESOURCE_NAME)); in test_testClassLoader_getResourceAsStreamLjava_lang_String() 207 is = classLoader.getResourceAsStream(resourceName); in assertGetResourceAsStreamNotNull()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 40 InputStream result = Support_Resources.class.getResourceAsStream(path); in getStream() 167 InputStream is = Support_Resources.class.getResourceAsStream(name); in getResourceStream() 171 is = Support_Resources.class.getResourceAsStream(name); in getResourceStream() 185 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericSignatureFormatErrorTest.java | 28 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_readResource() 57 InputStream is = this.getClass().getResourceAsStream("/resources/dex1.bytes"); in test_signatureFormatError()
|
/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/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/luni/src/test/java/tests/targets/security/ |
D | KeyStorePkcs7FormatTest.java | 123 InputStream inputStream = getClass().getResourceAsStream(keystoreFile); in keystoreIsReadableAndConsistent() 163 InputStream inputStream = getClass().getResourceAsStream(UNKNOWN_HASH); in unknownHashThrowsCorrectException()
|
D | MessageDigestTest.java | 71 InputStream sourceStream = getClass().getResourceAsStream(digestAlgorithmName + ".data"); in getSourceData() 78 getClass().getResourceAsStream(digestAlgorithmName + ".check"); in getCheckDigest()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldClassTest.java | 953 "directory", getClass().getResourceAsStream(name)); in test_getResourceAsStreamLjava_lang_String() 957 getClass().getResourceAsStream(nameBadURI)); in test_getResourceAsStreamLjava_lang_String() 961 assertNotNull(clazz.getResourceAsStream("HelloWorld1.txt")); in test_getResourceAsStreamLjava_lang_String() 964 getClass().getResourceAsStream(null); in test_getResourceAsStreamLjava_lang_String() 1062 InputStream stream = clazz.getResourceAsStream("HelloWorld.txt"); in testGetResourceAsStream1() 1076 InputStream stream = clazz.getResourceAsStream("/libcore/java/lang/HelloWorld.txt"); in testGetResourceAsStream2() 1087 clazz.getResourceAsStream(null); in testGetResourceAsStream2() 1092 assertNull(clazz.getResourceAsStream("/NonExistentResource")); in testGetResourceAsStream2() 1093 assertNull(clazz.getResourceAsStream("libcore/java/lang/HelloWorld.txt")); in testGetResourceAsStream2()
|
/libcore/ojluni/src/test/java/util/Properties/ |
D | LoadParsing.java | 39 InputStream myIn = LoadParsing.class.getResourceAsStream("input.txt"); in main()
|
D | Bug6609431.java | 45 return Bug6609431.class.getResourceAsStream("Bug6609431.properties"); in inputStream()
|
D | LoadParsing2.java | 66 InputStream myIn = LoadParsing2.class.getResourceAsStream(fnData); in test()
|
/libcore/ojluni/src/test/javax/xml/jaxp/transform/ |
D | XSLTExFuncTest.java | 75 xmlFile = XSLTExFuncTest.class.getResourceAsStream("tokenize.xml"); in setUp() 76 xslFile = XSLTExFuncTest.class.getResourceAsStream("tokenize.xsl"); in setUp()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | PathClassLoaderTest.java | 71 try (InputStream in = pcl.getResourceAsStream("dalvik/system/loading-test.jar"); in extractResourceJar() 102 InputStream is = pcl.getResourceAsStream(signedEntryName); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ParseExceptionTest.java | 53 try (InputStream inputStream = getClass().getResourceAsStream( in test_serialize()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 238 is = cl.getResourceAsStream(serviceId); in findJarServiceProvider() 243 is = cl.getResourceAsStream(serviceId); in findJarServiceProvider()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | PreferencesTest.java | 152 .getResourceAsStream("/resources/prefs/java/util/prefs/userprefs.xml"); in testImportPreferences() 162 in = PreferencesTest.class.getResourceAsStream( in testImportPreferences() 432 .getResourceAsStream("/resources/prefs/java/util/prefs/backendread.xml"); in testReadingFromBackendCache()
|
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/ |
D | UnsupportedNewApis.java | 66 try (InputStream in = UnsupportedNewApis.class.getResourceAsStream(FILE_NAME)) { in parse()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | ZoneInfoTest.java | 45 try (InputStream is = getClass().getResourceAsStream("ZoneInfoTest_ZoneInfo.golden.ser"); in testReadSerialized()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectOutputStreamPutFieldTest.java | 127 refStream = getClass().getResourceAsStream(path); in getRefContent()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | XMLReaderFactory.java | 129 in = loader.getResourceAsStream (service); in createXMLReader()
|