org.stringtemplate.v4.test
Class TestSyntaxErrors

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

public class TestSyntaxErrors
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
TestSyntaxErrors()
           
 
Method Summary
 void testEmptyExpr()
           
 void testEmptyExpr2()
           
 void testEOFInExpr()
           
 void testEOFInExpr2()
           
 void testEOFInString()
           
 void testErrorInNestedTemplate()
           
 void testMissingRPAREN()
           
 void testNonterminatedComment()
           
 void testRotPar()
           
 void testUnterminatedExpr()
           
 void testValidButOutOfPlaceChar()
           
 void testValidButOutOfPlaceCharOnDifferentLine()
           
 void testWeirdChar()
           
 void testWeirdChar2()
           
 
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

TestSyntaxErrors

public TestSyntaxErrors()
Method Detail

testEmptyExpr

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

testEmptyExpr2

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

testUnterminatedExpr

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

testWeirdChar

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

testWeirdChar2

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

testValidButOutOfPlaceChar

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

testValidButOutOfPlaceCharOnDifferentLine

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

testErrorInNestedTemplate

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

testEOFInExpr

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

testEOFInExpr2

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

testEOFInString

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

testNonterminatedComment

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

testMissingRPAREN

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

testRotPar

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