org.apache.maven.project.interpolation
Class StringSearchModelInterpolatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.project.interpolation.AbstractModelInterpolatorTest
              extended by org.apache.maven.project.interpolation.StringSearchModelInterpolatorTest
All Implemented Interfaces:
junit.framework.Test

public class StringSearchModelInterpolatorTest
extends AbstractModelInterpolatorTest

Version:
$Id: StringSearchModelInterpolatorTest.java 708543 2008-10-28 11:54:17Z bentmann $
Author:
jdcasey

Constructor Summary
StringSearchModelInterpolatorTest()
           
 
Method Summary
protected  ModelInterpolator createInterpolator()
           
protected  ModelInterpolator createInterpolator(PathTranslator translator)
           
 void testInterpolateObjectWithStringArrayField()
           
 void testInterpolateObjectWithStringArrayListField()
           
 void testInterpolateObjectWithStringListField()
           
 void testInterpolateObjectWithStringListFieldAndOneLiteralValue()
           
 void testInterpolateObjectWithStringToStringArrayMapField()
           
 void testInterpolateObjectWithStringToStringMapField()
           
 void testInterpolateObjectWithStringToStringMapFieldAndOneLiteralValue()
           
 void testInterpolateObjectWithUnmodifiableStringListField()
           
 void testInterpolateObjectWithUnmodifiableStringToStringMapField()
           
 void testInterpolateStringArray()
           
 
Methods inherited from class org.apache.maven.project.interpolation.AbstractModelInterpolatorTest
setUp, testBasedir, testBaseUri, testDefaultBuildTimestampFormatShouldParseTimeIn24HourFormat, testEnvarExpressionThatEvaluatesToNullReturnsTheLiteralString, testEnvars, testExpressionThatEvaluatesToNullReturnsTheLiteralString, testShouldInterpolateDependencyVersionToSetSameAsProjectVersion, testShouldInterpolateOrganizationNameCorrectly, testShouldInterpolateSourceDirectoryReferencedFromResourceDirectoryCorrectly, testShouldInterpolateUnprefixedBasedirExpression, testShouldNotInterpolateDependencyVersionWithInvalidReference, testShouldNotThrowExceptionOnReferenceToNonExistentValue, testShouldNotThrowExceptionOnReferenceToValueContainingNakedExpression, testShouldThrowExceptionOnRecursiveScmConnectionReference, testTwoLevelRecursiveBasedirAlignedExpression, testTwoReferences
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

StringSearchModelInterpolatorTest

public StringSearchModelInterpolatorTest()
Method Detail

createInterpolator

protected ModelInterpolator createInterpolator(PathTranslator translator)
                                        throws Exception
Specified by:
createInterpolator in class AbstractModelInterpolatorTest
Throws:
Exception

createInterpolator

protected ModelInterpolator createInterpolator()
                                        throws Exception
Specified by:
createInterpolator in class AbstractModelInterpolatorTest
Throws:
Exception

testInterpolateStringArray

public void testInterpolateStringArray()
                                throws Exception
Throws:
Exception

testInterpolateObjectWithStringArrayField

public void testInterpolateObjectWithStringArrayField()
                                               throws Exception
Throws:
Exception

testInterpolateObjectWithStringListField

public void testInterpolateObjectWithStringListField()
                                              throws Exception
Throws:
Exception

testInterpolateObjectWithStringListFieldAndOneLiteralValue

public void testInterpolateObjectWithStringListFieldAndOneLiteralValue()
                                                                throws Exception
Throws:
Exception

testInterpolateObjectWithUnmodifiableStringListField

public void testInterpolateObjectWithUnmodifiableStringListField()
                                                          throws Exception
Throws:
Exception

testInterpolateObjectWithStringArrayListField

public void testInterpolateObjectWithStringArrayListField()
                                                   throws Exception
Throws:
Exception

testInterpolateObjectWithStringToStringMapField

public void testInterpolateObjectWithStringToStringMapField()
                                                     throws Exception
Throws:
Exception

testInterpolateObjectWithStringToStringMapFieldAndOneLiteralValue

public void testInterpolateObjectWithStringToStringMapFieldAndOneLiteralValue()
                                                                       throws Exception
Throws:
Exception

testInterpolateObjectWithUnmodifiableStringToStringMapField

public void testInterpolateObjectWithUnmodifiableStringToStringMapField()
                                                                 throws Exception
Throws:
Exception

testInterpolateObjectWithStringToStringArrayMapField

public void testInterpolateObjectWithStringToStringArrayMapField()
                                                          throws Exception
Throws:
Exception


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.