org.stringtemplate.v4.test
Class TestRegions

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

public class TestRegions
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
TestRegions()
           
 
Method Summary
 void testAnonymousTemplateInRegion()
           
 void testAnonymousTemplateInRegionInSubdir()
           
 void testCantDefineEmbeddedRegionAgain()
           
 void testCantDefineEmbeddedRegionAgainInTemplate()
           
 void testDefineRegionInSameGroup()
           
 void testDefineRegionInSubgroup()
           
 void testDefineRegionInSubgroup2()
           
 void testDefineRegionInSubgroupBothInSubdir()
           
 void testDefineRegionInSubgroupOneInSubdir()
           
 void testDefineRegionInSubgroupThatRefsSuper()
           
 void testEmbeddedRegion()
           
 void testEmbeddedRegionOnOneLine()
           
 void testEmbeddedRegionTagsOnSeparateLines()
           
 void testEmbeddedSubtemplate()
           
 void testIndentBeforeRegionIsIgnored()
           
 void testMissingRegionName()
           
 void testRegion()
           
 void testRegionOverrideRefSuperImplicitRegion()
           
 void testRegionOverrideRefSuperRegion()
           
 void testRegionOverrideRefSuperRegion2Levels()
           
 void testRegionOverrideRefSuperRegion3Levels()
           
 void testRegionOverrideStripsNewlines()
           
 void testSuperRegionRefMissingOk()
           
 void testUnknownRegionDefError()
           
 
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

TestRegions

public TestRegions()
Method Detail

testEmbeddedRegion

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

testRegion

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

testDefineRegionInSubgroup

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

testDefineRegionInSubgroupOneInSubdir

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

testDefineRegionInSubgroupBothInSubdir

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

testDefineRegionInSubgroupThatRefsSuper

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

testDefineRegionInSubgroup2

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

testDefineRegionInSameGroup

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

testAnonymousTemplateInRegion

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

testAnonymousTemplateInRegionInSubdir

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

testCantDefineEmbeddedRegionAgain

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

testCantDefineEmbeddedRegionAgainInTemplate

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

testMissingRegionName

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

testIndentBeforeRegionIsIgnored

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

testRegionOverrideStripsNewlines

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

testRegionOverrideRefSuperRegion

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

testRegionOverrideRefSuperRegion2Levels

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

testUnknownRegionDefError

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

testSuperRegionRefMissingOk

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

testEmbeddedRegionOnOneLine

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

testEmbeddedRegionTagsOnSeparateLines

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

testEmbeddedSubtemplate

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