Modifier and Type | Field and Description |
---|---|
org.junit.rules.TestName |
testName |
Constructor and Description |
---|
ResourceTest() |
Modifier and Type | Method and Description |
---|---|
static void |
assumeNotUnderWindows(Class<?> testClass,
org.junit.rules.TestName testName) |
protected String |
getJavaExecName() |
void |
testGetResourcesFileSystemClassPath()
Test de recherche de resource dans le classpath (dossier hors jar).
|
void |
testGetResourcesJarClassPath()
Test de recherche de resource dans le classpath (jar).
|
void |
testGetTestResourcesClassPath()
Test de recherche de resource dans le classpath (dossier hors jar) en
utiliant le classloader de test.
|
void |
testGetURL() |
void |
testGetURLNotFound() |
void |
testGetURLs() |
void |
testGetURLsFromDirectory() |
void |
testGetURLsFromJarBeforeJava9() |
void |
testIsJar() |
void |
testIsPattern() |
void |
testIsZip() |
public void testGetURL()
public void testGetURLNotFound()
public void testGetURLs()
public void testGetURLsFromJarBeforeJava9() throws Exception
Exception
public void testIsPattern()
public void testGetResourcesJarClassPath() throws IOException
IOException
- ?public void testGetResourcesFileSystemClassPath() throws IOException
IOException
- ?public void testGetTestResourcesClassPath() throws IOException
IOException
- ?protected String getJavaExecName()
public static void assumeNotUnderWindows(Class<?> testClass, org.junit.rules.TestName testName)
Copyright © 2004–2020 CodeLutin. All rights reserved.