org.stringtemplate.v4.test
Class TestLineWrap

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

public class TestLineWrap
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
TestLineWrap()
           
 
Method Summary
 void testFortranLineWrap()
           
 void testIndentBeyondLineWidth()
           
 void testIndentedExpr()
           
 void testLineDoesNotWrapDueToLiteral()
           
 void testLineWrap()
           
 void testLineWrapAnchored()
           
 void testLineWrapCharAfterWrapIsNewline()
           
 void testLineWrapEdgeCase()
           
 void testLineWrapForAnonTemplate()
           
 void testLineWrapForAnonTemplateAnchored()
           
 void testLineWrapForAnonTemplateComplicatedWrap()
           
 void testLineWrapForList()
           
 void testLineWrapInNestedExpr()
           
 void testLineWrapLastCharIsNewline()
           
 void testLineWrapWithDiffAnchor()
           
 void testNestedIndentedExpr()
           
 void testNestedWithIndentAndTrackStartOfExpr()
           
 void testSingleValueWrap()
           
 void testSubtemplatesAnchorToo()
           
 
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

TestLineWrap

public TestLineWrap()
Method Detail

testLineWrap

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

testLineWrapForList

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