public class ClasspathTest
extends junit.framework.TestCase
| Constructor and Description |
|---|
ClasspathTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testGetAsUrlList() |
void |
testShouldAddNoDuplicateElements() |
void |
testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths() |
void |
testShouldJoinTwoNullClasspaths() |
void |
testShouldNotAddNullAsClassPathElementUrl() |
void |
testShouldNotBeAbleToRemoveElement() |
void |
testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements() |
void |
testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl() |
void |
testShouldWriteEmptyPropertyForEmptyClasspath() |
void |
testShouldWriteSeparatedElementsAsSystemProperty() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringpublic void testShouldWriteEmptyPropertyForEmptyClasspath()
throws Exception
Exceptionpublic void testShouldWriteSeparatedElementsAsSystemProperty()
throws Exception
Exceptionpublic void testShouldAddNoDuplicateElements()
public void testShouldJoinTwoNullClasspaths()
public void testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths()
throws Exception
Exceptionpublic void testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements()
throws Exception
Exceptionpublic void testShouldNotBeAbleToRemoveElement()
throws Exception
Exceptionpublic void testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl()
throws Exception
ExceptionCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.