org.stringtemplate.v4.test
Class TestScopes

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

public class TestScopes
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
TestScopes()
           
 
Method Summary
 void testArgWithSameNameAsEnclosing()
           
 void testIndexAttrVisibleLocallyOnly()
           
 void testMissingArg()
           
 void testSeesEnclosingAttr()
           
 void testUnknownAttr()
           
 
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

TestScopes

public TestScopes()
Method Detail

testSeesEnclosingAttr

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

testMissingArg

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

testUnknownAttr

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

testArgWithSameNameAsEnclosing

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

testIndexAttrVisibleLocallyOnly

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