org.apache.maven.model.interpolation
Class AbstractModelInterpolatorTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.model.interpolation.AbstractModelInterpolatorTest
- All Implemented Interfaces:
- Test
- Direct Known Subclasses:
- StringSearchModelInterpolatorTest
public abstract class AbstractModelInterpolatorTest
- extends org.codehaus.plexus.PlexusTestCase
- Author:
- jdcasey
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown |
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, failNotEquals, failNotSame, failSame |
AbstractModelInterpolatorTest
public AbstractModelInterpolatorTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class org.codehaus.plexus.PlexusTestCase
- Throws:
Exception
assertProblemFree
protected void assertProblemFree(SimpleProblemCollector collector)
assertColllectorState
protected void assertColllectorState(int numFatals,
int numErrors,
int numWarnings,
SimpleProblemCollector collector)
testDefaultBuildTimestampFormatShouldParseTimeIn24HourFormat
public void testDefaultBuildTimestampFormatShouldParseTimeIn24HourFormat()
testShouldNotThrowExceptionOnReferenceToNonExistentValue
public void testShouldNotThrowExceptionOnReferenceToNonExistentValue()
throws Exception
- Throws:
Exception
testShouldThrowExceptionOnRecursiveScmConnectionReference
public void testShouldThrowExceptionOnRecursiveScmConnectionReference()
throws Exception
- Throws:
Exception
testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression
public void testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression()
throws Exception
- Throws:
Exception
testShouldInterpolateOrganizationNameCorrectly
public void testShouldInterpolateOrganizationNameCorrectly()
throws Exception
- Throws:
Exception
testShouldInterpolateDependencyVersionToSetSameAsProjectVersion
public void testShouldInterpolateDependencyVersionToSetSameAsProjectVersion()
throws Exception
- Throws:
Exception
testShouldNotInterpolateDependencyVersionWithInvalidReference
public void testShouldNotInterpolateDependencyVersionWithInvalidReference()
throws Exception
- Throws:
Exception
testTwoReferences
public void testTwoReferences()
throws Exception
- Throws:
Exception
testBasedir
public void testBasedir()
throws Exception
- Throws:
Exception
testBaseUri
public void testBaseUri()
throws Exception
- Throws:
Exception
testEnvars
public void testEnvars()
throws Exception
- Throws:
Exception
testEnvarExpressionThatEvaluatesToNullReturnsTheLiteralString
public void testEnvarExpressionThatEvaluatesToNullReturnsTheLiteralString()
throws Exception
- Throws:
Exception
testExpressionThatEvaluatesToNullReturnsTheLiteralString
public void testExpressionThatEvaluatesToNullReturnsTheLiteralString()
throws Exception
- Throws:
Exception
testShouldInterpolateSourceDirectoryReferencedFromResourceDirectoryCorrectly
public void testShouldInterpolateSourceDirectoryReferencedFromResourceDirectoryCorrectly()
throws Exception
- Throws:
Exception
testShouldInterpolateUnprefixedBasedirExpression
public void testShouldInterpolateUnprefixedBasedirExpression()
throws Exception
- Throws:
Exception
createInterpolator
protected abstract ModelInterpolator createInterpolator(PathTranslator translator)
throws Exception
- Throws:
Exception
createInterpolator
protected abstract ModelInterpolator createInterpolator()
throws Exception
- Throws:
Exception
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.