org.ujac.print.test
Class ReportTest

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.ReportTest
All Implemented Interfaces:
junit.framework.Test

public class ReportTest
extends BasePrintTest

Name: ReportTest
Description: A class testing report table output.

Author:
lauerc

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

ReportTest

public ReportTest()
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.

testReport

public void testReport()
                throws DocumentHandlerException,
                       TableException,
                       IOException
Tests the report output.

Throws:
DocumentHandlerException - In case a document handler problem occured.
TableException - In case a table access problem occured.
IOException - In case an I/O problem occured.

testEnforceResultRow

public void testEnforceResultRow()
                          throws DocumentHandlerException,
                                 TableException,
                                 IOException
Tests enforceResultRow flag.

Throws:
DocumentHandlerException - In case a document handler problem occured.
TableException - In case a table access problem occured.
IOException - In case an I/O problem occured.

main

public static void main(String[] args)
The main method for testing purposal.

Parameters:
args - The command line argumants.


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