com.silverpeas.components.model
Class AbstractSpringJndiDaoTest
java.lang.Object
com.silverpeas.components.model.AbstractSpringJndiDaoTest
public abstract class AbstractSpringJndiDaoTest
- extends Object
- Author:
- ehugonnet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSpringJndiDaoTest
public AbstractSpringJndiDaoTest()
setUpClass
public static void setUpClass()
throws Exception
- Throws:
Exception
tearDownClass
public static void tearDownClass()
throws Exception
- Throws:
Exception
rebind
protected static void rebind(InitialContext ic,
String jndiName,
Object ref)
throws NamingException
- Workaround to be able to use Sun's JNDI file system provider on Unix
- Parameters:
ic
- : the JNDI initial contextjndiName
- : the binding nameref
- : the reference to be bound
- Throws:
NamingException
getTearDownOperation
protected org.dbunit.operation.DatabaseOperation getTearDownOperation()
throws Exception
- Throws:
Exception
getSetUpOperation
protected org.dbunit.operation.DatabaseOperation getSetUpOperation()
throws Exception
- Throws:
Exception
init
public void init()
throws Exception
- Throws:
Exception
after
public void after()
throws Exception
- Throws:
Exception
getDataSet
protected org.dbunit.dataset.IDataSet getDataSet()
throws Exception
- Throws:
Exception
getDatasetFileName
protected abstract String getDatasetFileName()
Copyright © 2016 Silverpeas. All Rights Reserved.