|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.ujac.util.template.test.BaseTemplateTest org.ujac.util.template.test.ProcedureTest
public class ProcedureTest
Name: TemplateTest
Description: A class for statement expression tests.
Nested Class Summary | |
---|---|
static class |
ProcedureTest.TreeNode
A class for tree nodes |
Field Summary |
---|
Fields inherited from class org.ujac.util.template.test.BaseTemplateTest |
---|
ctx, interpreter |
Constructor Summary | |
---|---|
ProcedureTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testProcedures()
Tests statements executing procedures. |
void |
testRecursion()
Tests statements executing recursive procedures. |
void |
testRecursionGlobal()
Tests statements executing recursive procedures. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
---|
public ProcedureTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class BaseTemplateTest
Exception
TestCase.setUp()
public void testProcedures() throws TemplateException
TemplateException
- In case the template execution failed.public void testRecursion() throws TemplateException
TemplateException
- In case the template execution failed.public void testRecursionGlobal() throws TemplateException
TemplateException
- In case the template execution failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |