Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

beenerator
Class TemplaterTestCase  view TemplaterTestCase download TemplaterTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bybeenerator.TemplaterTestCase
All Implemented Interfaces:
junit.framework.Test

public class TemplaterTestCase
extends junit.framework.TestCase


Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TemplaterTestCase(java.lang.String test)
           
 
Method Summary
private  void check(java.lang.String input, java.lang.String expected)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testBackslashInOutputScripts()
           
 void testBackslashInScripts()
           
 void testBigExample()
           
 void testCreateOutputForScript()
           
 void testCreateOutputForText()
           
 void testEmptyScript()
           
 void testMischMasch()
           
 void testNoScripts()
           
 void testTemplateTextEscaping()
           
 void testTemplateWithScriptWithoutOutput()
           
 void testTemplateWithScriptWithOutput()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplaterTestCase

public TemplaterTestCase(java.lang.String test)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testEmptyScript

public void testEmptyScript()
                     throws java.lang.Exception

testCreateOutputForText

public void testCreateOutputForText()
                             throws java.lang.Exception

testCreateOutputForScript

public void testCreateOutputForScript()
                               throws java.lang.Exception

testNoScripts

public void testNoScripts()
                   throws java.lang.Exception

testTemplateWithScriptWithoutOutput

public void testTemplateWithScriptWithoutOutput()
                                         throws java.lang.Exception

testTemplateWithScriptWithOutput

public void testTemplateWithScriptWithOutput()
                                      throws java.lang.Exception

testMischMasch

public void testMischMasch()
                    throws java.lang.Exception

testTemplateTextEscaping

public void testTemplateTextEscaping()
                              throws java.lang.Exception

check

private void check(java.lang.String input,
                   java.lang.String expected)
            throws java.lang.Exception

testBackslashInScripts

public void testBackslashInScripts()
                            throws java.lang.Exception

testBackslashInOutputScripts

public void testBackslashInOutputScripts()
                                  throws java.lang.Exception

testBigExample

public void testBigExample()
                    throws java.lang.Exception