org.ujac.print.test
Class OptionalPrinterTests

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

public class OptionalPrinterTests
extends BasePrintTest

Name: OptionalPrinterTests
Description: Implements optional test for the UJAC print module.

Author:
lauerc

Field Summary
 
Fields inherited from class org.ujac.print.test.BasePrintTest
docPrinter, docProperties, formatHelper, resourceLoader, templateInterpreter
 
Constructor Summary
OptionalPrinterTests()
           
 
Method Summary
protected  void setUp()
          Sets up the test data.
 void testResources()
          Tests the access of remote resources.
 
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

OptionalPrinterTests

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

testResources

public void testResources()
                   throws DocumentHandlerException,
                          IOException
Tests the access of remote resources.

Throws:
DocumentHandlerException - In case the document processing failed.
IOException - In case the document template file could not be opened or the resource loading failed.


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