com.stratelia.webactiv.applicationIndexer.control
Class TestApplicationDYMIndexer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.dbunit.DatabaseTestCase
              extended by org.dbunit.DBTestCase
                  extended by org.dbunit.JndiBasedDBTestCase
                      extended by com.silverpeas.components.model.AbstractTestDao
                          extended by com.stratelia.webactiv.applicationIndexer.control.TestApplicationDYMIndexer
All Implemented Interfaces:
junit.framework.Test

public class TestApplicationDYMIndexer
extends AbstractTestDao

Tests com.stratelia.webactiv.applicationIndexer.control.ApplicationDYMIndexer


Field Summary
 
Fields inherited from class com.silverpeas.components.model.AbstractTestDao
datasource
 
Constructor Summary
TestApplicationDYMIndexer()
           
 
Method Summary
protected  String getDatasetFileName()
           
protected  String getTableCreationFileName()
           
protected  org.dbunit.operation.DatabaseOperation getTearDownOperation()
           
 void setUp()
           
 void tearDown()
           
 void testIndexAllSpaces()
          Test method for AbstractIndexer.indexAllSpaces() .
 void testIndexPdc()
          Test method for ApplicationDYMIndexer.indexPdc().
 void testIndexPersonalComponent()
          Test method for ApplicationDYMIndexer.indexPersonalComponent(java.lang.String) .
 void testIndexPersonalComponents()
          Test method for AbstractIndexer.indexPersonalComponents() .
 
Methods inherited from class com.silverpeas.components.model.AbstractTestDao
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, prepareData, setUpClass, tearDownClass
 
Methods inherited from class org.dbunit.JndiBasedDBTestCase
getJNDIProperties, newDatabaseTester
 
Methods inherited from class org.dbunit.DBTestCase
getConnection
 
Methods inherited from class org.dbunit.DatabaseTestCase
closeConnection, getDatabaseTester, getOperationListener, getSetUpOperation, setUpDatabaseConfig
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestApplicationDYMIndexer

public TestApplicationDYMIndexer()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class AbstractTestDao
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class AbstractTestDao
Throws:
Exception

testIndexPersonalComponent

public void testIndexPersonalComponent()
                                throws IOException
Test method for ApplicationDYMIndexer.indexPersonalComponent(java.lang.String) .

Throws:
IOException

testIndexPersonalComponents

public void testIndexPersonalComponents()
                                 throws IOException
Test method for AbstractIndexer.indexPersonalComponents() .

Throws:
IOException

testIndexPdc

public void testIndexPdc()
                  throws IOException
Test method for ApplicationDYMIndexer.indexPdc().

Throws:
IOException

testIndexAllSpaces

public void testIndexAllSpaces()
                        throws Exception
Test method for AbstractIndexer.indexAllSpaces() .

Throws:
Exception

getTearDownOperation

protected org.dbunit.operation.DatabaseOperation getTearDownOperation()
                                                               throws Exception
Overrides:
getTearDownOperation in class AbstractTestDao
Throws:
Exception

getDatasetFileName

protected String getDatasetFileName()
Specified by:
getDatasetFileName in class AbstractTestDao

getTableCreationFileName

protected String getTableCreationFileName()
Specified by:
getTableCreationFileName in class AbstractTestDao


Copyright © 2016 Silverpeas. All Rights Reserved.