net.sf.jzeno.reporting.pdf.test
Class PdfReportTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jzeno.reporting.pdf.test.PdfReportTest
All Implemented Interfaces:
junit.framework.Test

public class PdfReportTest
extends junit.framework.TestCase


Constructor Summary
PdfReportTest()
           
 
Method Summary
static void doValidation(Component c)
          Validates a single component and then recursively validates its children.
 void printReport(PdfReportComponent someReport, java.lang.String fileName)
           
static void rebindRecursively(PdfReportComponent report)
           
protected  void setUp()
           
 void testButtonReport()
           
 void testDynaGridReport()
           
 void testDynaTableReport()
           
 
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

PdfReportTest

public PdfReportTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

printReport

public void printReport(PdfReportComponent someReport,
                        java.lang.String fileName)
                 throws java.io.FileNotFoundException,
                        com.lowagie.text.DocumentException
Throws:
java.io.FileNotFoundException
com.lowagie.text.DocumentException

testDynaGridReport

public void testDynaGridReport()
                        throws java.io.FileNotFoundException,
                               com.lowagie.text.DocumentException
Throws:
java.io.FileNotFoundException
com.lowagie.text.DocumentException

testDynaTableReport

public void testDynaTableReport()
                         throws java.io.FileNotFoundException,
                                com.lowagie.text.DocumentException
Throws:
java.io.FileNotFoundException
com.lowagie.text.DocumentException

testButtonReport

public void testButtonReport()
                      throws java.io.FileNotFoundException,
                             com.lowagie.text.DocumentException
Throws:
java.io.FileNotFoundException
com.lowagie.text.DocumentException

rebindRecursively

public static void rebindRecursively(PdfReportComponent report)

doValidation

public static void doValidation(Component c)
Validates a single component and then recursively validates its children.

Parameters:
c - The component to be validated.