public class LocatorTest
extends junit.framework.TestCase
Modifier and Type | Class and Description |
---|---|
static class |
LocatorTest.LoggingLocatorStrategy |
Constructor and Description |
---|
LocatorTest() |
Modifier and Type | Method and Description |
---|---|
void |
testResolutionFallsThroughStrategyStackAndReturnsNullIfNotResolved() |
void |
testSetStrategiesShouldClearAnyPreExistingStrategiesOut() |
void |
testShouldAllowModificationOfStrategiesAfterConstructionWithUnmodifiableStack() |
void |
testShouldConstructWithNoParams() |
void |
testShouldConstructWithStrategyStackAndMessageHolder() |
void |
testShouldRemovePreviouslyAddedStrategy() |
void |
testShouldRetrieveNonNullMessageHolderWhenConstructedWithoutParams() |
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, toString
public void testShouldConstructWithNoParams()
public void testShouldConstructWithStrategyStackAndMessageHolder()
public void testShouldAllowModificationOfStrategiesAfterConstructionWithUnmodifiableStack()
public void testShouldRetrieveNonNullMessageHolderWhenConstructedWithoutParams()
public void testSetStrategiesShouldClearAnyPreExistingStrategiesOut()
public void testShouldRemovePreviouslyAddedStrategy()
public void testResolutionFallsThroughStrategyStackAndReturnsNullIfNotResolved()
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.