com.silverpeas.jcrutil
Class TestBasicDaoFactory

java.lang.Object
  extended by com.silverpeas.jcrutil.TestBasicDaoFactory

public class TestBasicDaoFactory
extends Object


Constructor Summary
TestBasicDaoFactory()
           
 
Method Summary
protected  void clearRepository()
           
protected  org.dbunit.dataset.IDataSet getDataSet()
           
static void loadSpringContext()
           
 void setUpDatabase()
           
static void tearAlldown()
           
 void tearDownDatabase()
           
 void testAddCalendarProperty()
           
 void testAddDateProperty()
           
 void testAddStringProperty()
           
 void testComputeUniqueName()
           
 void testGetCalendarProperty()
           
 void testGetComponentId()
           
 void testGetDateProperty()
           
 void testGetIntProperty()
           
 void testGetLongProperty()
           
 void testGetStringProperty()
           
 void testRemoveReference()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestBasicDaoFactory

public TestBasicDaoFactory()
Method Detail

loadSpringContext

public static void loadSpringContext()
                              throws Exception
Throws:
Exception

tearAlldown

public static void tearAlldown()
                        throws Exception
Throws:
Exception

getDataSet

protected org.dbunit.dataset.IDataSet getDataSet()
                                          throws Exception
Throws:
Exception

setUpDatabase

public void setUpDatabase()
                   throws Exception
Throws:
Exception

tearDownDatabase

public void tearDownDatabase()
                      throws Exception
Throws:
Exception

clearRepository

protected void clearRepository()
                        throws Exception
Throws:
Exception

testGetComponentId

public void testGetComponentId()
                        throws Exception
Throws:
Exception

testAddStringProperty

public void testAddStringProperty()
                           throws Exception
Throws:
Exception

testAddDateProperty

public void testAddDateProperty()
                         throws Exception
Throws:
Exception

testAddCalendarProperty

public void testAddCalendarProperty()
                             throws Exception
Throws:
Exception

testGetStringProperty

public void testGetStringProperty()
                           throws Exception
Throws:
Exception

testGetCalendarProperty

public void testGetCalendarProperty()
                             throws Exception
Throws:
Exception

testGetDateProperty

public void testGetDateProperty()
                         throws Exception
Throws:
Exception

testGetIntProperty

public void testGetIntProperty()
                        throws Exception
Throws:
Exception

testGetLongProperty

public void testGetLongProperty()
                         throws Exception
Throws:
Exception

testRemoveReference

public void testRemoveReference()
                         throws Exception
Throws:
Exception

testComputeUniqueName

public void testComputeUniqueName()
                           throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.