|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ujac.util.io.test.ClassPathResourceLoaderTest
public class ClassPathResourceLoaderTest
Name: ClassPathResourceLoaderTest
Description: Test cases for the ClassPathResourceLoader class.
| Constructor Summary | |
|---|---|
ClassPathResourceLoaderTest()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
Runs all test cases. |
protected void |
setUp()
|
void |
testLoadResource()
Tests loadResource method. |
void |
testLoadResourcePrefix()
Tests loadResource method with given prefix. |
void |
testResourceExists()
Tests resourceExists method. |
void |
testResourceExistsPrefix()
Tests resourceExists method with given prefix. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ClassPathResourceLoaderTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionTestCase.setUp()public void testResourceExists()
public void testLoadResource()
throws IOException
IOException - In case the resource could not be loaded.public void testResourceExistsPrefix()
public void testLoadResourcePrefix()
throws IOException
IOException - In case the resource could not be loaded.public static void main(String[] args)
args - The command line arguments.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||