org.apache.maven.shared.io.location
Class LocatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.io.location.LocatorTest
All Implemented Interfaces:
Test

public class LocatorTest
extends TestCase


Nested Class Summary
static class LocatorTest.LoggingLocatorStrategy
           
 
Constructor Summary
LocatorTest()
           
 
Method Summary
 void testResolutionFallsThroughStrategyStackAndReturnsNullIfNotResolved()
           
 void testSetStrategiesShouldClearAnyPreExistingStrategiesOut()
           
 void testShouldAllowModificationOfStrategiesAfterConstructionWithUnmodifiableStack()
           
 void testShouldConstructWithNoParams()
           
 void testShouldConstructWithStrategyStackAndMessageHolder()
           
 void testShouldRemovePreviouslyAddedStrategy()
           
 void testShouldRetrieveNonNullMessageHolderWhenConstructedWithoutParams()
           
 
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

LocatorTest

public LocatorTest()
Method Detail

testShouldConstructWithNoParams

public void testShouldConstructWithNoParams()

testShouldConstructWithStrategyStackAndMessageHolder

public void testShouldConstructWithStrategyStackAndMessageHolder()

testShouldAllowModificationOfStrategiesAfterConstructionWithUnmodifiableStack

public void testShouldAllowModificationOfStrategiesAfterConstructionWithUnmodifiableStack()

testShouldRetrieveNonNullMessageHolderWhenConstructedWithoutParams

public void testShouldRetrieveNonNullMessageHolderWhenConstructedWithoutParams()

testSetStrategiesShouldClearAnyPreExistingStrategiesOut

public void testSetStrategiesShouldClearAnyPreExistingStrategiesOut()

testShouldRemovePreviouslyAddedStrategy

public void testShouldRemovePreviouslyAddedStrategy()

testResolutionFallsThroughStrategyStackAndReturnsNullIfNotResolved

public void testResolutionFallsThroughStrategyStackAndReturnsNullIfNotResolved()


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.