org.stringtemplate.v4.test
Class TestFunctions

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

public class TestFunctions
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
TestFunctions()
           
 
Method Summary
 void testCatListAndEmptyAttributes()
           
 void testCatListAndSingleAttribute()
           
 void testCombinedOp()
           
 void testFirst()
           
 void testFirstOp()
           
 void testFirstWithCatAttribute()
           
 void testFirstWithListOfMaps()
           
 void testFirstWithListOfMaps2()
           
 void testFirstWithOneAttributeOp()
           
 void testIncomingLists()
           
 void testLastOp()
           
 void testLastWithLengthOneListAttributeOp()
           
 void testLastWithOneAttributeOp()
           
 void testLength()
           
 void testLengthStrip()
           
 void testLengthWithNullValues()
           
 void testNestedOp()
           
 void testRepeatedRestOp()
           
 void testRestOp()
           
 void testRestOpEmptyList()
           
 void testRestWithLengthOneListAttributeOp()
           
 void testRestWithOneAttributeOp()
           
 void testReUseOfCat()
           
 void testReUseOfRestResult()
           
 void testReverse()
           
 void testStripOp()
           
 void testStrlen()
           
 void testTrim()
           
 void testTruncOp()
           
 
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

TestFunctions

public TestFunctions()
Method Detail

testFirst

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

testLength

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

testLengthWithNullValues

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

testFirstOp

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

testTruncOp

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

testRestOp

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

testRestOpEmptyList

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

testReUseOfRestResult

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

testLastOp

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

testStripOp

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

testLengthStrip

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

testCombinedOp

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

testCatListAndSingleAttribute

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

testReUseOfCat

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

testCatListAndEmptyAttributes

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

testNestedOp

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

testFirstWithOneAttributeOp

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

testLastWithOneAttributeOp

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

testLastWithLengthOneListAttributeOp

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

testRestWithOneAttributeOp

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

testRestWithLengthOneListAttributeOp

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

testRepeatedRestOp

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

testIncomingLists

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

testFirstWithCatAttribute

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

testFirstWithListOfMaps

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

testFirstWithListOfMaps2

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

testTrim

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

testStrlen

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

testReverse

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