|
||||||||||
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.print.test.BasePrintTest org.ujac.print.test.ReportTest
public class ReportTest
Name: ReportTest
Description: A class testing report table output.
Field Summary |
---|
Fields inherited from class org.ujac.print.test.BasePrintTest |
---|
docPrinter, docProperties, formatHelper, resourceLoader, templateInterpreter |
Constructor Summary | |
---|---|
ReportTest()
|
Method Summary | |
---|---|
static void |
main(String[] args)
The main method for testing purposal. |
protected void |
setUp()
Sets up the test data. |
void |
testEnforceResultRow()
Tests enforceResultRow flag. |
void |
testReport()
Tests the report output. |
Methods inherited from class org.ujac.print.test.BasePrintTest |
---|
addTagTest, clearTagTests, isAllTagTestsPassed, loadProperties, printDocument, printDocument, setTemplateSource |
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 ReportTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class BasePrintTest
Exception
- In case a problem occured during the set up.public void testReport() throws DocumentHandlerException, TableException, IOException
DocumentHandlerException
- In case a document handler problem occured.
TableException
- In case a table access problem occured.
IOException
- In case an I/O problem occured.public void testEnforceResultRow() throws DocumentHandlerException, TableException, IOException
DocumentHandlerException
- In case a document handler problem occured.
TableException
- In case a table access problem occured.
IOException
- In case an I/O problem occured.public static void main(String[] args)
args
- The command line argumants.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |