beenerator
Class TemplaterTestCase

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
beenerator.TemplaterTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class TemplaterTestCase
- extends junit.framework.TestCase
Fields inherited from class junit.framework.TestCase |
|
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 |
TemplaterTestCase
public TemplaterTestCase(java.lang.String test)
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