com.silverpeas.pdc.dao
Class PdcAxisValueDAOTest

java.lang.Object
  extended by com.silverpeas.pdc.dao.PdcAxisValueDAOTest

@ContextConfiguration(locations={"/spring-pdc.xml","/spring-pdc-embbed-datasource.xml"})
@TransactionConfiguration(transactionManager="jpaTransactionManager")
public class PdcAxisValueDAOTest
extends Object

Unit tests on the different operations provided by the PdcClassification DAO.


Constructor Summary
PdcAxisValueDAOTest()
           
 
Method Summary
 void findAllValuesOfAGivenAxis()
           
 void findAPdcAxisValueByItsPk()
           
 void findNoValuesOfAnUnknownAxis()
           
 void generalSetUp()
           
 void saveAnAlreadyExistingAxisValue()
           
 void saveANewPdcAxisValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdcAxisValueDAOTest

public PdcAxisValueDAOTest()
Method Detail

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

findAPdcAxisValueByItsPk

@Transactional
public void findAPdcAxisValueByItsPk()

saveANewPdcAxisValue

public void saveANewPdcAxisValue()

saveAnAlreadyExistingAxisValue

public void saveAnAlreadyExistingAxisValue()

findAllValuesOfAGivenAxis

public void findAllValuesOfAGivenAxis()

findNoValuesOfAnUnknownAxis

public void findNoValuesOfAnUnknownAxis()


Copyright © 2016 Silverpeas. All Rights Reserved.