org.stringtemplate.v4.test
Class TestCoreBasics
java.lang.Object
org.stringtemplate.v4.test.BaseTest
org.stringtemplate.v4.test.TestCoreBasics
public class TestCoreBasics
- extends BaseTest
| Methods inherited from class org.stringtemplate.v4.test.BaseTest |
checkTokens, checkTokens, compile, deleteFile, deleteFile, exec, getRandomDir, jar, java, setUp, writeFile, writeTestFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestCoreBasics
public TestCoreBasics()
testNullAttr
public void testNullAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttr
public void testAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testChainAttr
public void testChainAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetUnknownAttr
public void testSetUnknownAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMultiAttr
public void testMultiAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttrIsList
public void testAttrIsList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAttrIsArray
public void testAttrIsArray()
throws java.lang.Exception
- Throws:
java.lang.Exception
testProp
public void testProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPropWithNoAttr
public void testPropWithNoAttr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapAcrossDictionaryUsesKeys
public void testMapAcrossDictionaryUsesKeys()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSTProp
public void testSTProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBooleanISProp
public void testBooleanISProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testBooleanHASProp
public void testBooleanHASProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNullAttrProp
public void testNullAttrProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNoSuchProp
public void testNoSuchProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNullIndirectProp
public void testNullIndirectProp()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPropConvertsToString
public void testPropConvertsToString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInclude
public void testInclude()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeWithArg
public void testIncludeWithArg()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeWithEmptySubtemplateArg
public void testIncludeWithEmptySubtemplateArg()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeWithArg2
public void testIncludeWithArg2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIncludeWithNestedArgs
public void testIncludeWithNestedArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassThru
public void testPassThru()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassThruWithDefaultValue
public void testPassThruWithDefaultValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassThruWithDefaultValueThatLacksDefinitionAbove
public void testPassThruWithDefaultValueThatLacksDefinitionAbove()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassThruPartialArgs
public void testPassThruPartialArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassThruNoMissingArgs
public void testPassThruNoMissingArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDefineTemplate
public void testDefineTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMap
public void testMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIndirectMap
public void testIndirectMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapWithExprAsTemplateName
public void testMapWithExprAsTemplateName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParallelMap
public void testParallelMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParallelMapWith3Versus2Elements
public void testParallelMapWith3Versus2Elements()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParallelMapThenMap
public void testParallelMapThenMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapThenParallelMap
public void testMapThenParallelMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapIndexes
public void testMapIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapIndexes2
public void testMapIndexes2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapSingleValue
public void testMapSingleValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapNullValue
public void testMapNullValue()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapNullValueInList
public void testMapNullValueInList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRepeatedMap
public void testRepeatedMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRoundRobinMap
public void testRoundRobinMap()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrueCond
public void testTrueCond()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEmptyIFTemplate
public void testEmptyIFTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCondParens
public void testCondParens()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFalseCond
public void testFalseCond()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFalseCond2
public void testFalseCond2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFalseCondWithFormalArgs
public void testFalseCondWithFormalArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIf2
public void testElseIf2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIf3
public void testElseIf3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotTrueCond
public void testNotTrueCond()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotFalseCond
public void testNotFalseCond()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParensInConditonal
public void testParensInConditonal()
throws java.lang.Exception
- Throws:
java.lang.Exception
testParensInConditonal2
public void testParensInConditonal2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrueCondWithElse
public void testTrueCondWithElse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFalseCondWithElse
public void testFalseCondWithElse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIf
public void testElseIf()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIfNoElseAllFalse
public void testElseIfNoElseAllFalse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIfAllExprFalse
public void testElseIfAllExprFalse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testOr
public void testOr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testMapConditionAndEscapeInside
public void testMapConditionAndEscapeInside()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAnd
public void testAnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAndNot
public void testAndNot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCharLiterals
public void testCharLiterals()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUnicodeLiterals
public void testUnicodeLiterals()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSubtemplateExpr
public void testSubtemplateExpr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSeparator
public void testSeparator()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSeparatorInList
public void testSeparatorInList()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEarlyEvalIndent
public void testEarlyEvalIndent()
throws java.lang.Exception
- (...) forces early eval to string. early eval <(x)> using new
STWriter derived from type of current STWriter. e.g., AutoIndentWriter.
- Throws:
java.lang.Exception
testEarlyEvalNoIndent
public void testEarlyEvalNoIndent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArrayOfTemplates
public void testArrayOfTemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testArrayOfTemplatesInTemplate
public void testArrayOfTemplatesInTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListOfTemplates
public void testListOfTemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListOfTemplatesInTemplate
public void testListOfTemplatesInTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
playing
public void playing()
throws java.lang.Exception
- Throws:
java.lang.Exception