org.stringtemplate.v4.test
Class TestWhitespace
java.lang.Object
org.stringtemplate.v4.test.BaseTest
org.stringtemplate.v4.test.TestWhitespace
public class TestWhitespace
- 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 |
TestWhitespace
public TestWhitespace()
testTrimmedSubtemplates
public void testTrimmedSubtemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrimmedNewlinesBeforeAfterInTemplate
public void testTrimmedNewlinesBeforeAfterInTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDontTrimJustSpaceBeforeAfterInTemplate
public void testDontTrimJustSpaceBeforeAfterInTemplate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrimmedSubtemplatesNoArgs
public void testTrimmedSubtemplatesNoArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrimmedSubtemplatesArgs
public void testTrimmedSubtemplatesArgs()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrimJustOneWSInSubtemplates
public void testTrimJustOneWSInSubtemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTrimNewlineInSubtemplates
public void testTrimNewlineInSubtemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testLeaveNewlineOnEndInSubtemplates
public void testLeaveNewlineOnEndInSubtemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testTabBeforeEndInSubtemplates
public void testTabBeforeEndInSubtemplates()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEmptyExprAsFirstLineGetsNoOutput
public void testEmptyExprAsFirstLineGetsNoOutput()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEmptyLineWithIndent
public void testEmptyLineWithIndent()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEmptyLine
public void testEmptyLine()
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
testSizeZeroOnLineWithMultipleExpr
public void testSizeZeroOnLineWithMultipleExpr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIFExpr
public void testIFExpr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIndentedIFExpr
public void testIndentedIFExpr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIFElseExprOnSingleLine
public void testIFElseExprOnSingleLine()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIFOnMultipleLines
public void testIFOnMultipleLines()
throws java.lang.Exception
- Throws:
java.lang.Exception
testEndifNotOnLineAlone
public void testEndifNotOnLineAlone()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIFOnMultipleLines
public void testElseIFOnMultipleLines()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIFOnMultipleLines2
public void testElseIFOnMultipleLines2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testElseIFOnMultipleLines3
public void testElseIFOnMultipleLines3()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNestedIFOnMultipleLines
public void testNestedIFOnMultipleLines()
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
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
testCommentOnlyLineGivesNoOutput
public void testCommentOnlyLineGivesNoOutput()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCommentOnlyLineGivesNoOutput2
public void testCommentOnlyLineGivesNoOutput2()
throws java.lang.Exception
- Throws:
java.lang.Exception