degu.test.degudocumentbuilder.ejb
Class DocumentBuilderBeanTester

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by degu.test.degudocumentbuilder.ejb.DocumentBuilderBeanTester
All Implemented Interfaces:
junit.framework.Test

public class DocumentBuilderBeanTester
extends junit.framework.TestCase

EJB Test Client


Field Summary
protected  DeguDocumentBuilderHome home
          Home interface
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
DocumentBuilderBeanTester()
           
DocumentBuilderBeanTester(java.lang.String arg0)
           
 
Method Summary
protected  DeguDocumentBuilderHome getHome()
          Get the home interface
protected  javax.naming.Context getInitialContext()
          Get the initial naming context
protected  void setUp()
          Set up the test case
 void testBuildPDF()
          Test for degu.degudocumentbuilder.DeguDocumentBuilder.build(java.io.File file)
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger

home

protected DeguDocumentBuilderHome home
Home interface

Constructor Detail

DocumentBuilderBeanTester

public DocumentBuilderBeanTester()

DocumentBuilderBeanTester

public DocumentBuilderBeanTester(java.lang.String arg0)
Method Detail

getInitialContext

protected javax.naming.Context getInitialContext()
                                          throws java.lang.Exception
Get the initial naming context

Throws:
java.lang.Exception

getHome

protected DeguDocumentBuilderHome getHome()
                                   throws java.lang.Exception
Get the home interface

Throws:
java.lang.Exception

setUp

protected void setUp()
              throws java.lang.Exception
Set up the test case

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testBuildPDF

public void testBuildPDF()
Test for degu.degudocumentbuilder.DeguDocumentBuilder.build(java.io.File file)