public abstract class AbstractModelInterpolatorTest extends PlexusTestCase
Constructor and Description |
---|
AbstractModelInterpolatorTest() |
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown, teardownContainer
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
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, failNotEquals, failNotSame, failSame
public AbstractModelInterpolatorTest()
protected void setUp() throws Exception
setUp
in class PlexusTestCase
Exception
protected void assertProblemFree(SimpleProblemCollector collector)
protected void assertColllectorState(int numFatals, int numErrors, int numWarnings, SimpleProblemCollector collector)
public void testDefaultBuildTimestampFormatShouldParseTimeIn24HourFormat()
public void testShouldNotThrowExceptionOnReferenceToNonExistentValue() throws Exception
Exception
public void testShouldThrowExceptionOnRecursiveScmConnectionReference() throws Exception
Exception
public void testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression() throws Exception
Exception
public void testShouldInterpolateOrganizationNameCorrectly() throws Exception
Exception
public void testShouldInterpolateDependencyVersionToSetSameAsProjectVersion() throws Exception
Exception
public void testShouldNotInterpolateDependencyVersionWithInvalidReference() throws Exception
Exception
public void testTwoReferences() throws Exception
Exception
public void testBasedir() throws Exception
Exception
public void testBaseUri() throws Exception
Exception
public void testEnvars() throws Exception
Exception
public void testEnvarExpressionThatEvaluatesToNullReturnsTheLiteralString() throws Exception
Exception
public void testExpressionThatEvaluatesToNullReturnsTheLiteralString() throws Exception
Exception
public void testShouldInterpolateSourceDirectoryReferencedFromResourceDirectoryCorrectly() throws Exception
Exception
public void testShouldInterpolateUnprefixedBasedirExpression() throws Exception
Exception
protected abstract ModelInterpolator createInterpolator(PathTranslator translator) throws Exception
Exception
protected abstract ModelInterpolator createInterpolator() throws Exception
Exception
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.