com.stratelia.webactiv.organization
Class SpaceTableTest

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

public class SpaceTableTest
extends AbstractTestDao

Author:
ehugonnet

Field Summary
 
Fields inherited from class com.silverpeas.components.model.AbstractTestDao
datasource
 
Constructor Summary
SpaceTableTest()
           
 
Method Summary
protected  String getDatasetFileName()
           
protected  String getTableCreationFileName()
           
 void testGetAllRootSpaceIds()
          Test of getAllRootSpaceIds method, of class SpaceTable.
 void testGetAllSpaceIds()
          Test of getAllSpaceIds method, of class SpaceTable.
 void testGetDirectSubSpaceIds()
          Test of getDirectSubSpaceIds method, of class SpaceTable.
 void testIsSpaceInstExist()
          Test of isSpaceInstExist method, of class SpaceTable.
 
Methods inherited from class com.silverpeas.components.model.AbstractTestDao
cleanData, configureJNDIDatasource, getDataSet, getLookupName, getTableCreationScript, getTearDownOperation, prepareData, setUp, setUpClass, tearDown, 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

SpaceTableTest

public SpaceTableTest()
Method Detail

getDatasetFileName

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

testIsSpaceInstExist

public void testIsSpaceInstExist()
                          throws Exception
Test of isSpaceInstExist method, of class SpaceTable.

Throws:
Exception

testGetAllSpaceIds

public void testGetAllSpaceIds()
                        throws Exception
Test of getAllSpaceIds method, of class SpaceTable.

Throws:
Exception

testGetAllRootSpaceIds

public void testGetAllRootSpaceIds()
                            throws Exception
Test of getAllRootSpaceIds method, of class SpaceTable.

Throws:
Exception

testGetDirectSubSpaceIds

public void testGetDirectSubSpaceIds()
                              throws Exception
Test of getDirectSubSpaceIds method, of class SpaceTable.

Throws:
Exception

getTableCreationFileName

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


Copyright © 2016 Silverpeas. All Rights Reserved.