degu.test.index.ejb
Class IndexerTest

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

public class IndexerTest
extends junit.framework.TestCase

EJB Test Client


Field Summary
protected  DeguDocumentBuilderHome docBuilderHome
           
protected  IndexerHome indexerHome
          Home interface
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
IndexerTest()
           
IndexerTest(java.lang.String arg0)
           
 
Method Summary
protected  DeguDocumentBuilderHome getDocBuilderHome()
          Get the doc builder home interface
protected  IndexerHome getIndexerHome()
          Get the indexer home interface
protected  javax.naming.Context getInitialContext()
          Get the initial naming context
protected  void setUp()
          Set up the test case
 void testIndexer()
           
 
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

indexerHome

protected IndexerHome indexerHome
Home interface


docBuilderHome

protected DeguDocumentBuilderHome docBuilderHome
Constructor Detail

IndexerTest

public IndexerTest()

IndexerTest

public IndexerTest(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

getIndexerHome

protected IndexerHome getIndexerHome()
                              throws java.lang.Exception
Get the indexer home interface

Throws:
java.lang.Exception

getDocBuilderHome

protected DeguDocumentBuilderHome getDocBuilderHome()
                                             throws java.lang.Exception
Get the doc builder 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

testIndexer

public void testIndexer()