|
||||||||||
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.OptionalPrinterTests
public class OptionalPrinterTests
Name: OptionalPrinterTests
Description: Implements optional test for the UJAC print module.
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 |
---|
public OptionalPrinterTests()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class BasePrintTest
Exception
- In case a problem occured during the set up.public void testResources() throws DocumentHandlerException, IOException
DocumentHandlerException
- In case the document processing failed.
IOException
- In case the document template file could not be opened or the
resource loading failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |