org.stringtemplate.v4.test
Class TestCompiler

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

public class TestCompiler
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
TestCompiler()
           
 
Method Summary
 void setUp()
           
 void testAnonIncludeArgMismatch()
           
 void testAnonIncludeArgMismatch2()
           
 void testAnonIncludeArgMismatch3()
           
 void testAnonIncludeArgs()
           
 void testAnonMap()
           
 void testAnonZipMap()
           
 void testAttr()
           
 void testElseIf()
           
 void testElseIfElse()
           
 void testEmbeddedRegion()
           
 void testEmptyList()
           
 void testIf()
           
 void testIfElse()
           
 void testInclude()
           
 void testIncludeWithArgs()
           
 void testIncludeWithPartialPassThrough()
           
 void testIncludeWithPassThrough()
           
 void testIndirectIncludeWitArgs()
           
 void testIndirectMapArg()
           
 void testList()
           
 void testMap()
           
 void testMapArg()
           
 void testMapAsOption()
           
 void testOption()
           
 void testOptionAsTemplate()
           
 void testOptions()
           
 void testProp()
           
 void testProp2()
           
 void testRegion()
           
 void testRepeatedMap()
           
 void testRepeatedMapArg()
           
 void testRotMap()
           
 void testRotMapArg()
           
 void testSuperInclude()
           
 void testSuperIncludeWithArgs()
           
 void testSuperIncludeWithNamedArgs()
           
 void testZipMap()
           
 void testZipMapArg()
           
 
Methods inherited from class org.stringtemplate.v4.test.BaseTest
checkTokens, checkTokens, compile, deleteFile, deleteFile, exec, getRandomDir, jar, java, writeFile, writeTestFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCompiler

public TestCompiler()
Method Detail

setUp

public void setUp()
Overrides:
setUp in class BaseTest

testAttr

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

testInclude

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

testIncludeWithPassThrough

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

testIncludeWithPartialPassThrough

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

testSuperInclude

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

testSuperIncludeWithArgs

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

testSuperIncludeWithNamedArgs

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

testIncludeWithArgs

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

testAnonIncludeArgs

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

testAnonIncludeArgMismatch

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

testAnonIncludeArgMismatch2

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

testAnonIncludeArgMismatch3

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

testIndirectIncludeWitArgs

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

testProp

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

testProp2

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

testMap

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

testMapAsOption

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

testMapArg

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

testIndirectMapArg

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

testRepeatedMap

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

testRepeatedMapArg

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

testRotMap

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

testRotMapArg

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

testZipMap

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

testZipMapArg

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

testAnonMap

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

testAnonZipMap

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

testIf

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

testIfElse

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

testElseIf

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

testElseIfElse

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

testOption

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

testOptionAsTemplate

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

testOptions

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

testEmptyList

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

testList

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

testEmbeddedRegion

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

testRegion

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