org.ujac.print.test
Class TableTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.print.test.BasePrintTest
              extended by org.ujac.print.test.TableTest
All Implemented Interfaces:
junit.framework.Test

public class TableTest
extends BasePrintTest

Name: TableTest
Description: Table related test cases for the document printer.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.print.test.BasePrintTest
docPrinter, docProperties, formatHelper, resourceLoader, templateInterpreter
 
Constructor Summary
TableTest()
           
 
Method Summary
protected  void setUp()
          Sets up the test data.
 void testDefineColumn()
          Tests table output using the define column tag.
 void testDynamicTable()
          Tests table output with static layout.
 void testStaticTable()
          Tests static table output.
 void testStaticTableLayout()
          Tests table output with static layout.
 void testTableLayout()
          Tests table layout.
 void testTableOutputPerformances()
          Tests table output performance.
 
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

TableTest

public TableTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Sets up the test data.

Overrides:
setUp in class BasePrintTest
Throws:
Exception - In case a problem occured during the set up.

testTableLayout

public void testTableLayout()
                     throws DocumentHandlerException,
                            IOException
Tests table layout.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.

testStaticTable

public void testStaticTable()
                     throws DocumentHandlerException,
                            IOException
Tests static table output.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.

testStaticTableLayout

public void testStaticTableLayout()
                           throws DocumentHandlerException,
                                  IOException,
                                  TableException
Tests table output with static layout.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
TableException - In case the table processing failed.

testDynamicTable

public void testDynamicTable()
                      throws DocumentHandlerException,
                             IOException,
                             TableException
Tests table output with static layout.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
TableException - In case the table processing failed.

testDefineColumn

public void testDefineColumn()
                      throws DocumentHandlerException,
                             IOException,
                             TableException
Tests table output using the define column tag.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
TableException - In case the table processing failed.

testTableOutputPerformances

public void testTableOutputPerformances()
                                 throws DocumentHandlerException,
                                        IOException,
                                        TableException
Tests table output performance.

Throws:
DocumentHandlerException - If something went wrong at document handling.
IOException - In case something went wrong during output.
TableException - In case the table processing failed.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.