Class TestStringTemplate

  • All Implemented Interfaces:
    junit.framework.Test

    public class TestStringTemplate
    extends junit.framework.TestCase
    • Constructor Detail

      • TestStringTemplate

        public TestStringTemplate()
    • Method Detail

      • testInterfaceFileFormat

        public void testInterfaceFileFormat()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNoGroupLoader

        public void testNoGroupLoader()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCannotFindInterfaceFile

        public void testCannotFindInterfaceFile()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultiDirGroupLoading

        public void testMultiDirGroupLoading()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupSatisfiesSingleInterface

        public void testGroupSatisfiesSingleInterface()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupExtendsSuperGroup

        public void testGroupExtendsSuperGroup()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupExtendsSuperGroupWithAngleBrackets

        public void testGroupExtendsSuperGroupWithAngleBrackets()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingInterfaceTemplate

        public void testMissingInterfaceTemplate()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingOptionalInterfaceTemplate

        public void testMissingOptionalInterfaceTemplate()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMismatchedInterfaceTemplate

        public void testMismatchedInterfaceTemplate()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGroupFileFormat

        public void testGroupFileFormat()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEscapedTemplateDelimiters

        public void testEscapedTemplateDelimiters()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateParameterDecls

        public void testTemplateParameterDecls()
                                        throws java.lang.Exception
        Check syntax and setAttribute-time errors
        Throws:
        java.lang.Exception
      • testTemplateRedef

        public void testTemplateRedef()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingInheritedAttribute

        public void testMissingInheritedAttribute()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFormalArgumentAssignment

        public void testFormalArgumentAssignment()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUndefinedArgumentAssignment

        public void testUndefinedArgumentAssignment()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFormalArgumentAssignmentInApply

        public void testFormalArgumentAssignmentInApply()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUndefinedArgumentAssignmentInApply

        public void testUndefinedArgumentAssignmentInApply()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUndefinedAttributeReference

        public void testUndefinedAttributeReference()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUndefinedDefaultAttributeReference

        public void testUndefinedDefaultAttributeReference()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAngleBracketsWithGroupFile

        public void testAngleBracketsWithGroupFile()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAngleBracketsNoGroup

        public void testAngleBracketsNoGroup()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionRef

        public void testRegionRef()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedRegionRef

        public void testEmbeddedRegionRef()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionRefAngleBrackets

        public void testRegionRefAngleBrackets()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedRegionRefAngleBrackets

        public void testEmbeddedRegionRefAngleBrackets()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedRegionRefWithNewlinesAngleBrackets

        public void testEmbeddedRegionRefWithNewlinesAngleBrackets()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionRefWithDefAngleBrackets

        public void testRegionRefWithDefAngleBrackets()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionRefWithDefInConditional

        public void testRegionRefWithDefInConditional()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionRefWithImplicitDefInConditional

        public void testRegionRefWithImplicitDefInConditional()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionOverride

        public void testRegionOverride()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionOverrideRefSuperRegion

        public void testRegionOverrideRefSuperRegion()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionOverrideRefSuperRegion3Levels

        public void testRegionOverrideRefSuperRegion3Levels()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRegionOverrideRefSuperImplicitRegion

        public void testRegionOverrideRefSuperImplicitRegion()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedRegionRedefError

        public void testEmbeddedRegionRedefError()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testImplicitRegionRedefError

        public void testImplicitRegionRedefError()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testImplicitOverriddenRegionRedefError

        public void testImplicitOverriddenRegionRedefError()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUnknownRegionDefError

        public void testUnknownRegionDefError()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSuperRegionRefError

        public void testSuperRegionRefError()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingEndRegionError

        public void testMissingEndRegionError()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingEndRegionErrorAngleBrackets

        public void testMissingEndRegionErrorAngleBrackets()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSimpleInheritance

        public void testSimpleInheritance()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOverrideInheritance

        public void testOverrideInheritance()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultiLevelInheritance

        public void testMultiLevelInheritance()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testComplicatedInheritance

        public void testComplicatedInheritance()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • test3LevelSuperRef

        public void test3LevelSuperRef()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testExprInParens

        public void testExprInParens()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultipleAdditions

        public void testMultipleAdditions()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCollectionAttributes

        public void testCollectionAttributes()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParenthesizedExpression

        public void testParenthesizedExpression()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateNameExpression

        public void testApplyTemplateNameExpression()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateNameTemplateEval

        public void testApplyTemplateNameTemplateEval()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateNameExpression

        public void testTemplateNameExpression()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingEndDelimiter

        public void testMissingEndDelimiter()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSetButNotRefd

        public void testSetButNotRefd()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullTemplateApplication

        public void testNullTemplateApplication()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullTemplateToMultiValuedApplication

        public void testNullTemplateToMultiValuedApplication()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testChangingAttrValueTemplateApplicationToVector

        public void testChangingAttrValueTemplateApplicationToVector()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testChangingAttrValueRepeatedTemplateApplicationToVector

        public void testChangingAttrValueRepeatedTemplateApplicationToVector()
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAlternatingTemplateApplication

        public void testAlternatingTemplateApplication()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testExpressionAsRHSOfAssignment

        public void testExpressionAsRHSOfAssignment()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateApplicationAsRHSOfAssignment

        public void testTemplateApplicationAsRHSOfAssignment()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParameterAndAttributeScoping

        public void testParameterAndAttributeScoping()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testComplicatedSeparatorExpr

        public void testComplicatedSeparatorExpr()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAttributeRefButtedUpAgainstEndifAndWhitespace

        public void testAttributeRefButtedUpAgainstEndifAndWhitespace()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStringCatenationOnSingleValuedAttributeViaTemplateLiteral

        public void testStringCatenationOnSingleValuedAttributeViaTemplateLiteral()
                                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStringCatenationOpOnArg

        public void testStringCatenationOpOnArg()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStringCatenationOpOnArgWithEqualsInString

        public void testStringCatenationOpOnArgWithEqualsInString()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyingTemplateFromDiskWithPrecompiledIF

        public void testApplyingTemplateFromDiskWithPrecompiledIF()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultiValuedAttributeWithAnonymousTemplateUsingIndexVariableI

        public void testMultiValuedAttributeWithAnonymousTemplateUsingIndexVariableI()
                                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFindTemplateInCLASSPATH

        public void testFindTemplateInCLASSPATH()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateToSingleValuedAttribute

        public void testApplyTemplateToSingleValuedAttribute()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStringLiteralAsAttribute

        public void testStringLiteralAsAttribute()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateToSingleValuedAttributeWithDefaultAttribute

        public void testApplyTemplateToSingleValuedAttributeWithDefaultAttribute()
                                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyAnonymousTemplateToSingleValuedAttribute

        public void testApplyAnonymousTemplateToSingleValuedAttribute()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyAnonymousTemplateToMultiValuedAttribute

        public void testApplyAnonymousTemplateToMultiValuedAttribute()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyAnonymousTemplateToAggregateAttribute

        public void testApplyAnonymousTemplateToAggregateAttribute()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRepeatedApplicationOfTemplateToSingleValuedAttribute

        public void testRepeatedApplicationOfTemplateToSingleValuedAttribute()
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRepeatedApplicationOfTemplateToMultiValuedAttributeWithSeparator

        public void testRepeatedApplicationOfTemplateToMultiValuedAttributeWithSeparator()
                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultiValuedAttributeWithSeparator

        public void testMultiValuedAttributeWithSeparator()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleValuedAttributes

        public void testSingleValuedAttributes()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIFTemplate

        public void testIFTemplate()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIFCondWithParensTemplate

        public void testIFCondWithParensTemplate()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIFCondWithParensDollarDelimsTemplate

        public void testIFCondWithParensDollarDelimsTemplate()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIFBoolean

        public void testIFBoolean()
                           throws java.lang.Exception
        As of 2.0, you can test a boolean value
        Throws:
        java.lang.Exception
      • testNestedIFTemplate

        public void testNestedIFTemplate()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIFConditionWithTemplateApplication

        public void testIFConditionWithTemplateApplication()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testObjectPropertyReference

        public void testObjectPropertyReference()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyRepeatedAnonymousTemplateWithForeignTemplateRefToMultiValuedAttribute

        public void testApplyRepeatedAnonymousTemplateWithForeignTemplateRefToMultiValuedAttribute()
                                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRecursion

        public void testRecursion()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedAnonymousTemplates

        public void testNestedAnonymousTemplates()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAnonymousTemplateAccessToEnclosingAttributes

        public void testAnonymousTemplateAccessToEnclosingAttributes()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedAnonymousTemplatesAgain

        public void testNestedAnonymousTemplatesAgain()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEscapes

        public void testEscapes()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEscapesOutsideExpressions

        public void testEscapesOutsideExpressions()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testElseClause

        public void testElseClause()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testElseIfClause

        public void testElseIfClause()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testElseIfClauseAngleBrackets

        public void testElseIfClauseAngleBrackets()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testElseIfClause2

        public void testElseIfClause2()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testElseIfClauseAndElse

        public void testElseIfClauseAndElse()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedIF

        public void testNestedIF()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedMultiLineIF

        public void testEmbeddedMultiLineIF()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSimpleIndentOfAttributeList

        public void testSimpleIndentOfAttributeList()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndentOfMultilineAttributes

        public void testIndentOfMultilineAttributes()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndentOfMultipleBlankLines

        public void testIndentOfMultipleBlankLines()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndentBetweenLeftJustifiedLiterals

        public void testIndentBetweenLeftJustifiedLiterals()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedIndent

        public void testNestedIndent()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAlternativeWriter

        public void testAlternativeWriter()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyAnonymousTemplateToMapAndSet

        public void testApplyAnonymousTemplateToMapAndSet()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDumpMapAndSet

        public void testDumpMapAndSet()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyAnonymousTemplateToArrayAndMapProperty

        public void testApplyAnonymousTemplateToArrayAndMapProperty()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSuperTemplateRef

        public void testSuperTemplateRef()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplySuperTemplateRef

        public void testApplySuperTemplateRef()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLazyEvalOfSuperInApplySuperTemplateRef

        public void testLazyEvalOfSuperInApplySuperTemplateRef()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplatePolymorphism

        public void testTemplatePolymorphism()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testListOfEmbeddedTemplateSeesEnclosingAttributes

        public void testListOfEmbeddedTemplateSeesEnclosingAttributes()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInheritArgumentFromRecursiveTemplateApplication

        public void testInheritArgumentFromRecursiveTemplateApplication()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDeliberateRecursiveTemplateApplication

        public void testDeliberateRecursiveTemplateApplication()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testImmediateTemplateAsAttributeLoop

        public void testImmediateTemplateAsAttributeLoop()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateAlias

        public void testTemplateAlias()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateGetPropertyGetsAttribute

        public void testTemplateGetPropertyGetsAttribute()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testComplicatedIndirectTemplateApplication

        public void testComplicatedIndirectTemplateApplication()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndirectTemplateApplication

        public void testIndirectTemplateApplication()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndirectTemplateWithArgsApplication

        public void testIndirectTemplateWithArgsApplication()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullIndirectTemplateApplication

        public void testNullIndirectTemplateApplication()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullIndirectTemplate

        public void testNullIndirectTemplate()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testHashMapPropertyFetch

        public void testHashMapPropertyFetch()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testHashMapPropertyFetchEmbeddedStringTemplate

        public void testHashMapPropertyFetchEmbeddedStringTemplate()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedComments

        public void testEmbeddedComments()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedCommentsAngleBracketed

        public void testEmbeddedCommentsAngleBracketed()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreak

        public void testLineBreak()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreak2

        public void testLineBreak2()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreakNoWhiteSpace

        public void testLineBreakNoWhiteSpace()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreakDollar

        public void testLineBreakDollar()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreakDollar2

        public void testLineBreakDollar2()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineBreakNoWhiteSpaceDollar

        public void testLineBreakNoWhiteSpaceDollar()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCharLiterals

        public void testCharLiterals()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNewlineNormalizationInTemplateString

        public void testNewlineNormalizationInTemplateString()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNewlineNormalizationInTemplateStringPC

        public void testNewlineNormalizationInTemplateStringPC()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNewlineNormalizationInAttribute

        public void testNewlineNormalizationInAttribute()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testUnicodeLiterals

        public void testUnicodeLiterals()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyIteratedValueGetsSeparator

        public void testEmptyIteratedValueGetsSeparator()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingIteratedConditionalValueGetsNOSeparator

        public void testMissingIteratedConditionalValueGetsNOSeparator()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingIteratedConditionalValueGetsNOSeparator2

        public void testMissingIteratedConditionalValueGetsNOSeparator2()
                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMissingIteratedDoubleConditionalValueGetsNOSeparator

        public void testMissingIteratedDoubleConditionalValueGetsNOSeparator()
                                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIteratedConditionalWithEmptyElseValueGetsSeparator

        public void testIteratedConditionalWithEmptyElseValueGetsSeparator()
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testWhiteSpaceAtEndOfTemplate

        public void testWhiteSpaceAtEndOfTemplate()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSizeZeroButNonNullListGetsNoOutput

        public void testSizeZeroButNonNullListGetsNoOutput()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullListGetsNoOutput

        public void testNullListGetsNoOutput()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyListGetsNoOutput

        public void testEmptyListGetsNoOutput()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyListNoIteratorGetsNoOutput

        public void testEmptyListNoIteratorGetsNoOutput()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyExprAsFirstLineGetsNoOutput

        public void testEmptyExprAsFirstLineGetsNoOutput()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSizeZeroOnLineByItselfGetsNoOutput

        public void testSizeZeroOnLineByItselfGetsNoOutput()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSizeZeroOnLineWithIndentGetsNoOutput

        public void testSizeZeroOnLineWithIndentGetsNoOutput()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSimpleAutoIndent

        public void testSimpleAutoIndent()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testComputedPropertyName

        public void testComputedPropertyName()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNonNullButEmptyIteratorTestsFalse

        public void testNonNullButEmptyIteratorTestsFalse()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDoNotInheritAttributesThroughFormalArgs

        public void testDoNotInheritAttributesThroughFormalArgs()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testArgEvaluationContext

        public void testArgEvaluationContext()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPassThroughAttributes

        public void testPassThroughAttributes()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPassThroughAttributes2

        public void testPassThroughAttributes2()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgument

        public void testDefaultArgument()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgument2

        public void testDefaultArgument2()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgumentManuallySet

        public void testDefaultArgumentManuallySet()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgumentImplicitlySet

        public void testDefaultArgumentImplicitlySet()
                                              throws java.lang.Exception
        This fails because checkNullAttributeAgainstFormalArguments looks for a formal argument at the current level not of the original embedded template. We have defined it all the way in the embedded, but there is no value so we try to look upwards ala dynamic scoping. When it reaches the top, it doesn't find a value but it will miss the formal argument down in the embedded. By definition, though, the formal parameter exists if we have a default value. look up the value to see if it's null without checking checkNullAttributeAgainstFormalArguments.
        Throws:
        java.lang.Exception
      • testDefaultArgumentAsTemplate

        public void testDefaultArgumentAsTemplate()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgumentAsTemplate2

        public void testDefaultArgumentAsTemplate2()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDoNotUseDefaultArgument

        public void testDoNotUseDefaultArgument()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgumentInParensToEvalEarly

        public void testDefaultArgumentInParensToEvalEarly()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testArgumentsAsTemplates

        public void testArgumentsAsTemplates()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTemplateArgumentEvaluatedInSurroundingContext

        public void testTemplateArgumentEvaluatedInSurroundingContext()
                                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testArgumentsAsTemplatesDefaultDelimiters

        public void testArgumentsAsTemplatesDefaultDelimiters()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDefaultArgsWhenNotInvoked

        public void testDefaultArgsWhenNotInvoked()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererForST

        public void testRendererForST()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererWithFormat

        public void testRendererWithFormat()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererWithFormatAndList

        public void testRendererWithFormatAndList()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererWithFormatAndSeparator

        public void testRendererWithFormatAndSeparator()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererWithFormatAndSeparatorAndNull

        public void testRendererWithFormatAndSeparatorAndNull()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmbeddedRendererSeesEnclosing

        public void testEmbeddedRendererSeesEnclosing()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRendererForGroup

        public void testRendererForGroup()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOverriddenRenderer

        public void testOverriddenRenderer()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMap

        public void testMap()
                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapValuesAreTemplates

        public void testMapValuesAreTemplates()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapKeyLookupViaTemplate

        public void testMapKeyLookupViaTemplate()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapMissingDefaultValueIsEmpty

        public void testMapMissingDefaultValueIsEmpty()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapHiddenByFormalArg

        public void testMapHiddenByFormalArg()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapEmptyValueAndAngleBracketStrings

        public void testMapEmptyValueAndAngleBracketStrings()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapDefaultValue

        public void testMapDefaultValue()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapEmptyDefaultValue

        public void testMapEmptyDefaultValue()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapDefaultValueIsKey

        public void testMapDefaultValueIsKey()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapDefaultStringAsKey

        public void testMapDefaultStringAsKey()
                                       throws java.lang.Exception
        Test that a map can have only the default entry.

        Bug ref: JIRA bug ST-15 (Fixed)

        Throws:
        java.lang.Exception
      • testMapDefaultIsDefaultString

        public void testMapDefaultIsDefaultString()
                                           throws java.lang.Exception
        Test that a map can return a string with the word: default.

        Bug ref: JIRA bug ST-15 (Fixed)

        Throws:
        java.lang.Exception
      • testMapViaEnclosingTemplates

        public void testMapViaEnclosingTemplates()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapViaEnclosingTemplates2

        public void testMapViaEnclosingTemplates2()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyGroupTemplate

        public void testEmptyGroupTemplate()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyStringAndEmptyAnonTemplateAsParameterUsingAngleBracketLexer

        public void testEmptyStringAndEmptyAnonTemplateAsParameterUsingAngleBracketLexer()
                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEmptyStringAndEmptyAnonTemplateAsParameterUsingDollarLexer

        public void testEmptyStringAndEmptyAnonTemplateAsParameterUsingDollarLexer()
                                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • test8BitEuroChars

        public void test8BitEuroChars()
                               throws java.lang.Exception
        FIXME: Dannish does not work if typed directly in with default file encoding on windows. The character needs to be escaped as bellow. Please correct to escape the correct charcter.
        Throws:
        java.lang.Exception
      • test16BitUnicodeChar

        public void test16BitUnicodeChar()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFirstOp

        public void testFirstOp()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testTruncOp

        public void testTruncOp()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRestOp

        public void testRestOp()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRestOpEmptyList

        public void testRestOpEmptyList()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testReUseOfRestResult

        public void testReUseOfRestResult()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLastOp

        public void testLastOp()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCombinedOp

        public void testCombinedOp()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatListAndSingleAttribute

        public void testCatListAndSingleAttribute()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testReUseOfCat

        public void testReUseOfCat()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatListAndEmptyAttributes

        public void testCatListAndEmptyAttributes()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedOp

        public void testNestedOp()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFirstWithOneAttributeOp

        public void testFirstWithOneAttributeOp()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLastWithOneAttributeOp

        public void testLastWithOneAttributeOp()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLastWithLengthOneListAttributeOp

        public void testLastWithLengthOneListAttributeOp()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRestWithOneAttributeOp

        public void testRestWithOneAttributeOp()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRestWithLengthOneListAttributeOp

        public void testRestWithLengthOneListAttributeOp()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRepeatedRestOp

        public void testRepeatedRestOp()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testRepeatedIteratedAttrFromArg

        public void testRepeatedIteratedAttrFromArg()
                                             throws java.lang.Exception
        If an iterator is sent into ST, it must be cannot be reset after each use so repeated refs yield empty values. This would work if we passed in a List not an iterator. Avoid sending in iterators if you ref it twice.
        Throws:
        java.lang.Exception
      • testIncomingLists

        public void testIncomingLists()
                               throws java.lang.Exception
        FIXME: BUG! Iterator is not reset from first to second $x$ Either reset the iterator or pass an attribute that knows to get the iterator each time. Seems like first, tail do not have same problem as they yield objects. Maybe make a RestIterator like I have CatIterator.
        Throws:
        java.lang.Exception
      • testIncomingListsAreNotModified

        public void testIncomingListsAreNotModified()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIncomingListsAreNotModified2

        public void testIncomingListsAreNotModified2()
                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIncomingArraysAreOk

        public void testIncomingArraysAreOk()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMultipleRefsToListAttribute

        public void testMultipleRefsToListAttribute()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateWithSingleFormalArgs

        public void testApplyTemplateWithSingleFormalArgs()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testApplyTemplateWithNoFormalArgs

        public void testApplyTemplateWithNoFormalArgs()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAnonTemplateArgs

        public void testAnonTemplateArgs()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAnonTemplateWithArgHasNoITArg

        public void testAnonTemplateWithArgHasNoITArg()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAnonTemplateArgs2

        public void testAnonTemplateArgs2()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFirstWithCatAttribute

        public void testFirstWithCatAttribute()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFirstWithListOfMaps

        public void testFirstWithListOfMaps()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testJustCat

        public void testJustCat()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCat2Attributes

        public void testCat2Attributes()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCat2AttributesWithApply

        public void testCat2AttributesWithApply()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCat3Attributes

        public void testCat3Attributes()
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatWithTemplateApplicationAsElement

        public void testCatWithTemplateApplicationAsElement()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatWithIFAsElement

        public void testCatWithIFAsElement()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatWithNullTemplateApplicationAsElement

        public void testCatWithNullTemplateApplicationAsElement()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCatWithNestedTemplateApplicationAsElement

        public void testCatWithNestedTemplateApplicationAsElement()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testListAsTemplateArgument

        public void testListAsTemplateArgument()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleExprTemplateArgument

        public void testSingleExprTemplateArgument()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleExprTemplateArgumentInApply

        public void testSingleExprTemplateArgumentInApply()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSoleFormalTemplateArgumentInMultiApply

        public void testSoleFormalTemplateArgumentInMultiApply()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleExprTemplateArgumentError

        public void testSingleExprTemplateArgumentError()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInvokeIndirectTemplateWithSingleFormalArgs

        public void testInvokeIndirectTemplateWithSingleFormalArgs()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIteration

        public void testParallelAttributeIteration()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithNullValue

        public void testParallelAttributeIterationWithNullValue()
                                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationHasI

        public void testParallelAttributeIterationHasI()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithDifferentSizes

        public void testParallelAttributeIterationWithDifferentSizes()
                                                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithSingletons

        public void testParallelAttributeIterationWithSingletons()
                                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithMismatchArgListSizes

        public void testParallelAttributeIterationWithMismatchArgListSizes()
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithMissingArgs

        public void testParallelAttributeIterationWithMissingArgs()
                                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testParallelAttributeIterationWithDifferentSizesTemplateRefInsideToo

        public void testParallelAttributeIterationWithDifferentSizesTemplateRefInsideToo()
                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testAnonTemplateOnLeftOfApply

        public void testAnonTemplateOnLeftOfApply()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testOverrideThroughConditional

        public void testOverrideThroughConditional()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNonPublicPropertyAccess

        public void testNonPublicPropertyAccess()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndexVar

        public void testIndexVar()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndex0Var

        public void testIndex0Var()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndexVarWithMultipleExprs

        public void testIndexVarWithMultipleExprs()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndex0VarWithMultipleExprs

        public void testIndex0VarWithMultipleExprs()
                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testArgumentContext

        public void testArgumentContext()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNoDotsInAttributeNames

        public void testNoDotsInAttributeNames()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNoDotsInTemplateNames

        public void testNoDotsInTemplateNames()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrap

        public void testLineWrap()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapWithNormalizedNewlines

        public void testLineWrapWithNormalizedNewlines()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapAnchored

        public void testLineWrapAnchored()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSubtemplatesAnchorToo

        public void testSubtemplatesAnchorToo()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testFortranLineWrap

        public void testFortranLineWrap()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapWithDiffAnchor

        public void testLineWrapWithDiffAnchor()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapEdgeCase

        public void testLineWrapEdgeCase()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapLastCharIsNewline

        public void testLineWrapLastCharIsNewline()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapCharAfterWrapIsNewline

        public void testLineWrapCharAfterWrapIsNewline()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapForAnonTemplate

        public void testLineWrapForAnonTemplate()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapForAnonTemplateAnchored

        public void testLineWrapForAnonTemplateAnchored()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapForAnonTemplateComplicatedWrap

        public void testLineWrapForAnonTemplateComplicatedWrap()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndentBeyondLineWidth

        public void testIndentBeyondLineWidth()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIndentedExpr

        public void testIndentedExpr()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedIndentedExpr

        public void testNestedIndentedExpr()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedWithIndentAndTrackStartOfExpr

        public void testNestedWithIndentAndTrackStartOfExpr()
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineDoesNotWrapDueToLiteral

        public void testLineDoesNotWrapDueToLiteral()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSingleValueWrap

        public void testSingleValueWrap()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLineWrapInNestedExpr

        public void testLineWrapInNestedExpr()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testBackslash

        public void testBackslash()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testBackslash2

        public void testBackslash2()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEscapeEscape

        public void testEscapeEscape()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testEscapeEscapeNestedAngle

        public void testEscapeEscapeNestedAngle()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testListOfIntArrays

        public void testListOfIntArrays()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullOptionSingleNullValue

        public void testNullOptionSingleNullValue()
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullOptionHasEmptyNullValue

        public void testNullOptionHasEmptyNullValue()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullOptionSingleNullValueInList

        public void testNullOptionSingleNullValueInList()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullValueInList

        public void testNullValueInList()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullValueInListNoNullOption

        public void testNullValueInListNoNullOption()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullValueInListWithTemplateApply

        public void testNullValueInListWithTemplateApply()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullValueInListWithTemplateApplyNullFirstValue

        public void testNullValueInListWithTemplateApplyNullFirstValue()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullSingleValueInListWithTemplateApply

        public void testNullSingleValueInListWithTemplateApply()
                                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNullSingleValueWithTemplateApply

        public void testNullSingleValueWithTemplateApply()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOp

        public void testLengthOp()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpWithMap

        public void testLengthOpWithMap()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpWithSet

        public void testLengthOpWithSet()
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpNull

        public void testLengthOpNull()
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpSingleValue

        public void testLengthOpSingleValue()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpPrimitive

        public void testLengthOpPrimitive()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpOfListWithNulls

        public void testLengthOpOfListWithNulls()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStripOpOfListWithNulls

        public void testStripOpOfListWithNulls()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStripOpOfListOfListsWithNulls

        public void testStripOpOfListOfListsWithNulls()
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStripOpOfSingleAlt

        public void testStripOpOfSingleAlt()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testStripOpOfNull

        public void testStripOpOfNull()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testReUseOfStripResult

        public void testReUseOfStripResult()
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpOfStrippedListWithNulls

        public void testLengthOpOfStrippedListWithNulls()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testLengthOpOfStrippedListWithNullsFrontAndBack

        public void testLengthOpOfStrippedListWithNullsFrontAndBack()
                                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapKeys

        public void testMapKeys()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapValues

        public void testMapValues()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testMapKeysWithIntegerType

        public void testMapKeysWithIntegerType()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testSuperReferenceInIfClause

        public void testSuperReferenceInIfClause()
                                          throws java.lang.Exception
        Check what happens when a semicolon is appended to a single line template Should fail with a parse error(?) and not a missing template error. FIXME: This should generate a warning or error about that semi colon.

        Bug ref: JIRA bug ST-2

        Throws:
        java.lang.Exception
      • testListLiteralWithEmptyElements

        public void testListLiteralWithEmptyElements()
                                              throws java.lang.Exception
        Added feature for ST-21
        Throws:
        java.lang.Exception
      • testTemplateApplicationAsOptionValue

        public void testTemplateApplicationAsOptionValue()
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • writeFile

        public static void writeFile​(java.lang.String dir,
                                     java.lang.String fileName,
                                     java.lang.String content)