|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sf.jooreports.templates.AbstractTemplateTest
net.sf.jooreports.templates.TextInputTagTest
public class TextInputTagTest
test input field tags <text:text-input text-description="JOOScript">...</text:text-input>
| Constructor Summary | |
|---|---|
TextInputTagTest()
|
|
| Method Summary | |
|---|---|
void |
testDirective()
input field with content [#assign title='Mr.'] |
void |
testDirectivesInOneLine()
input fields for directive in one line |
void |
testDirectivesInSplitLine()
input fields for directive in split lines |
void |
testDirectivesSwitch()
input fields for directive "switch" |
void |
testDirectiveWithSpecialChars()
input field for directive contains "&" |
void |
testVariable()
input field with content $name |
| Methods inherited from class net.sf.jooreports.templates.AbstractTemplateTest |
|---|
assertFileCreated, createTempFile, extractTextContent, getTestFile, processTemplate, setUp |
| 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, failNotEquals, failNotSame, failSame |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextInputTagTest()
| Method Detail |
|---|
public void testVariable()
throws java.io.IOException,
DocumentTemplateException
java.io.IOException
DocumentTemplateException
public void testDirective()
throws java.io.IOException,
DocumentTemplateException
java.io.IOException
DocumentTemplateException
public void testDirectivesInOneLine()
throws java.io.IOException,
DocumentTemplateException
[#if showname=='Yes']...[/#if]
java.io.IOException
DocumentTemplateException
public void testDirectivesInSplitLine()
throws java.io.IOException,
DocumentTemplateException
[#if showname='Yes']
...
[#else]
...
[/#if]
java.io.IOException
DocumentTemplateException
public void testDirectiveWithSpecialChars()
throws java.io.IOException,
DocumentTemplateException
[#if (cond1=='pass' && cond2=='pass')]
java.io.IOException
DocumentTemplateException
public void testDirectivesSwitch()
throws java.io.IOException,
DocumentTemplateException
[#switch option][#case '1']
...
[#break]
...
[/#switch]
java.io.IOException
DocumentTemplateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||