org.apache.maven.surefire.booter
Class ClasspathTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.surefire.booter.ClasspathTest
All Implemented Interfaces:
junit.framework.Test

public class ClasspathTest
extends junit.framework.TestCase

Author:
Kristian Rosenvold

Constructor Summary
ClasspathTest()
           
 
Method Summary
 void testGetAsUrlList()
           
 void testShouldAddNoDuplicateElements()
           
 void testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths()
           
 void testShouldJoinTwoNullClasspaths()
           
 void testShouldNotAddNullAsClassPathElementUrl()
           
 void testShouldNotBeAbleToRemoveElement()
           
 void testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements()
           
 void testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl()
           
 void testShouldWriteEmptyPropertyForEmptyClasspath()
           
 void testShouldWriteSeparatedElementsAsSystemProperty()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

ClasspathTest

public ClasspathTest()
Method Detail

testShouldWriteEmptyPropertyForEmptyClasspath

public void testShouldWriteEmptyPropertyForEmptyClasspath()
                                                   throws Exception
Throws:
Exception

testShouldWriteSeparatedElementsAsSystemProperty

public void testShouldWriteSeparatedElementsAsSystemProperty()
                                                      throws Exception
Throws:
Exception

testShouldAddNoDuplicateElements

public void testShouldAddNoDuplicateElements()

testGetAsUrlList

public void testGetAsUrlList()
                      throws Exception
Throws:
Exception

testShouldJoinTwoNullClasspaths

public void testShouldJoinTwoNullClasspaths()

testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths

public void testShouldHaveAllElementsAfterJoiningTwoDifferentClasspaths()
                                                                 throws Exception
Throws:
Exception

testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements

public void testShouldNotHaveDuplicatesAfterJoiningTowClasspathsWithEqualElements()
                                                                           throws Exception
Throws:
Exception

testShouldNotBeAbleToRemoveElement

public void testShouldNotBeAbleToRemoveElement()
                                        throws Exception
Throws:
Exception

testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl

public void testShouldThrowIllegalArgumentExceptionWhenNullIsAddedAsClassPathElementUrl()
                                                                                 throws Exception
Throws:
Exception

testShouldNotAddNullAsClassPathElementUrl

public void testShouldNotAddNullAsClassPathElementUrl()
                                               throws Exception
Throws:
Exception


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.