Searched defs:resourceName (Results 1 - 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/dalvik/system/
H A DClassLoaderTestSupport.java76 private static void copyResource(String resourceName, argument
80 InputStream in = loader.getResourceAsStream(PACKAGE_PATH + resourceName);
82 throw new IllegalStateException("Resource not found: " + PACKAGE_PATH + resourceName);
H A DDelegateLastClassLoaderTest.java117 private static String readResource(ClassLoader cl, String resourceName) throws Exception { argument
118 InputStream in = cl.getResourceAsStream(resourceName);
125 private static List<String> readResources(ClassLoader cl, String resourceName) argument
127 Enumeration<URL> resources = cl.getResources(resourceName);
H A DDexClassLoaderTest.java105 * @param resourceName The name of the resource to get.
108 private String createLoaderAndGetResource(String resourceName, File... files) throws Exception { argument
110 InputStream in = cl.getResourceAsStream(resourceName);
112 throw new IllegalStateException("Resource not found: " + resourceName);
H A DInMemoryDexClassLoaderTest.java76 private static void copyResource(String resourceName, argument
79 InputStream in = loader.getResourceAsStream(PACKAGE_PATH + resourceName);
81 throw new IllegalStateException("Resource not found: " + PACKAGE_PATH + resourceName);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DClassLoaderTest.java204 String resourceName) throws IOException {
207 is = classLoader.getResourceAsStream(resourceName);
216 private static void assertGetResourceIsValid(ClassLoader classLoader, String resourceName) { argument
217 java.net.URL u = classLoader.getResource(resourceName);
203 assertGetResourceAsStreamNotNull(ClassLoader classLoader, String resourceName) argument
H A DClassTest.java616 private void assertResourceExists(String resourceName) throws IOException { argument
617 InputStream in = getClass().getResourceAsStream(resourceName);
/libcore/luni/src/main/java/javax/xml/validation/
H A DSchemaFactoryFinder.java316 private SchemaFactory loadFromServicesFile(String schemaLanguage, String resourceName, InputStream in) { argument
318 if (debug) debugPrintln("Reading "+resourceName );
/libcore/luni/src/main/java/javax/xml/xpath/
H A DXPathFactoryFinder.java266 private XPathFactory loadFromServicesFile(String uri, String resourceName, InputStream in) { argument
268 if (debug) debugPrintln("Reading " + resourceName );

Completed in 113 milliseconds