org.stringtemplate.v4.test
Class TestIndentation

java.lang.Object
  extended by org.stringtemplate.v4.test.BaseTest
      extended by org.stringtemplate.v4.test.TestIndentation

public class TestIndentation
extends BaseTest


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stringtemplate.v4.test.BaseTest
BaseTest.HashableUser, BaseTest.StreamVacuum, BaseTest.User
 
Field Summary
 
Fields inherited from class org.stringtemplate.v4.test.BaseTest
CLASSPATH, newline, pathSep, SUREFIRE_CLASSPATH, tmpdir
 
Constructor Summary
TestIndentation()
           
 
Method Summary
 void testIFInSubtemplate()
           
 void testIFWithIndentAndExprOnMultipleLines()
           
 void testIFWithIndentAndExprWithIndentOnMultipleLines()
           
 void testIFWithIndentOnMultipleLines()
           
 void testIndentBetweenLeftJustifiedLiterals()
           
 void testIndentedIFWithElse()
           
 void testIndentedIFWithElse2()
           
 void testIndentedIFWithEndifNextLine()
           
 void testIndentedIFWithNewlineBeforeText()
           
 void testIndentedIFWithValueExpr()
           
 void testIndentInFrontOfTwoExpr()
           
 void testIndentOfMultilineAttributes()
           
 void testIndentOfMultipleBlankLines()
           
 void testNestedIFWithIndentOnMultipleLines()
           
 void testNestedIndent()
           
 void testSimpleIndentOfAttributeList()
           
 
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
 

Constructor Detail

TestIndentation

public TestIndentation()
Method Detail

testIndentInFrontOfTwoExpr

public void testIndentInFrontOfTwoExpr()
                                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

testIndentedIFWithValueExpr

public void testIndentedIFWithValueExpr()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testIndentedIFWithElse

public void testIndentedIFWithElse()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testIndentedIFWithElse2

public void testIndentedIFWithElse2()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testIndentedIFWithNewlineBeforeText

public void testIndentedIFWithNewlineBeforeText()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testIndentedIFWithEndifNextLine

public void testIndentedIFWithEndifNextLine()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testIFWithIndentOnMultipleLines

public void testIFWithIndentOnMultipleLines()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testIFWithIndentAndExprOnMultipleLines

public void testIFWithIndentAndExprOnMultipleLines()
                                            throws java.lang.Exception
Throws:
java.lang.Exception

testIFWithIndentAndExprWithIndentOnMultipleLines

public void testIFWithIndentAndExprWithIndentOnMultipleLines()
                                                      throws java.lang.Exception
Throws:
java.lang.Exception

testNestedIFWithIndentOnMultipleLines

public void testNestedIFWithIndentOnMultipleLines()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testIFInSubtemplate

public void testIFInSubtemplate()
                         throws java.lang.Exception
Throws:
java.lang.Exception