public class StrSubstitutorTest extends Object
| Constructor and Description |
|---|
StrSubstitutorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testConstructorMapFull()
Tests constructor.
|
void |
testConstructorMapPrefixSuffix()
Tests constructor.
|
void |
testConstructorNoArgs()
Tests constructor.
|
void |
testCyclicReplacement()
Tests a cyclic replace operation.
|
void |
testGetSetEscape()
Tests get set.
|
void |
testGetSetPrefix()
Tests get set.
|
void |
testGetSetSuffix()
Tests get set.
|
void |
testReplaceAdjacentAtEnd()
Tests adjacent keys.
|
void |
testReplaceAdjacentAtStart()
Tests adjacent keys.
|
void |
testReplaceChangedMap()
Tests key replace changing map after initialization (not recommended).
|
void |
testReplaceComplexEscaping()
Tests complex escaping.
|
void |
testReplaceEmpty()
Tests replace with null.
|
void |
testReplaceEmptyKeys()
Tests when no variable name.
|
void |
testReplaceEscaping()
Tests escaping.
|
void |
testReplaceIncompletePrefix()
Tests when no incomplete prefix.
|
void |
testReplaceInVariable()
Tests whether a variable can be replaced in a variable name.
|
void |
testReplaceInVariableDisabled()
Tests whether substitution in variable names is disabled per default.
|
void |
testReplaceInVariableRecursive()
Tests complex and recursive substitution in variable names.
|
void |
testReplaceNoPrefixNoSuffix()
Tests when no prefix or suffix.
|
void |
testReplaceNoPrefixSuffix()
Tests when suffix but no prefix.
|
void |
testReplaceNoVariables()
Tests replace with no variables.
|
void |
testReplaceNull()
Tests replace with null.
|
void |
testReplacePartialString_noReplace()
Tests simple key replace.
|
void |
testReplacePrefixNoSuffix()
Tests when prefix but no suffix.
|
void |
testReplaceRecursive()
Tests simple recursive replace.
|
void |
testReplaceSimple()
Tests simple key replace.
|
void |
testReplaceSolo()
Tests simple key replace.
|
void |
testReplaceSoloEscaping()
Tests escaping.
|
void |
testReplaceToIdentical()
Tests replace creates output same as input.
|
void |
testReplaceUnknownKey()
Tests unknown key replace.
|
void |
testReplaceWeirdPattens()
Tests interpolation with weird boundary patterns.
|
void |
testResolveVariable()
Tests protected.
|
void |
testSamePrefixAndSuffix() |
void |
testStaticReplace()
Tests static.
|
void |
testStaticReplacePrefixSuffix()
Tests static.
|
void |
testStaticReplaceSystemProperties()
Tests interpolation with system properties.
|
void |
testSubstituteDefaultProperties()
Test the replace of a properties object
|
public StrSubstitutorTest()
public void testReplaceSimple()
public void testReplaceSolo()
public void testReplaceNoVariables()
public void testReplaceNull()
public void testReplaceEmpty()
public void testReplaceChangedMap()
public void testReplaceUnknownKey()
public void testReplaceAdjacentAtStart()
public void testReplaceAdjacentAtEnd()
public void testReplaceRecursive()
public void testReplaceEscaping()
public void testReplaceSoloEscaping()
public void testReplaceComplexEscaping()
public void testReplaceNoPrefixNoSuffix()
public void testReplaceIncompletePrefix()
public void testReplacePrefixNoSuffix()
public void testReplaceNoPrefixSuffix()
public void testReplaceEmptyKeys()
public void testReplaceToIdentical()
public void testCyclicReplacement()
public void testReplaceWeirdPattens()
public void testReplacePartialString_noReplace()
public void testReplaceInVariable()
public void testReplaceInVariableDisabled()
public void testReplaceInVariableRecursive()
public void testResolveVariable()
public void testConstructorNoArgs()
public void testConstructorMapPrefixSuffix()
public void testConstructorMapFull()
public void testGetSetEscape()
public void testGetSetPrefix()
public void testGetSetSuffix()
public void testStaticReplace()
public void testStaticReplacePrefixSuffix()
public void testStaticReplaceSystemProperties()
public void testSubstituteDefaultProperties()
public void testSamePrefixAndSuffix()
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.