com.silverpeas.pdc.service
Class PdcClassificationServiceTest

java.lang.Object
  extended by com.silverpeas.pdc.service.PdcClassificationServiceTest

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

Unit tests on the operations provided by the service on the PdC classification.


Constructor Summary
PdcClassificationServiceTest()
           
 
Method Summary
 void generalSetUp()
           
 void getAPredefinedClassificationForANodeInAComponentInstance()
           
 void getAPredefinedClassificationForAWholeComponentInstance()
           
 void getDefaultPredefinedClassificationForANodeWithoutPredefinedClassification()
           
 void getNoPredefinedClassificationForANodeInAComponentInstance()
           
 void getNoPredefinedClassificationForAWholeComponentInstance()
           
 void saveAPredefinedClassification()
           
 void throwExceptionWhenGettingPredefinedClassificationForAnUnkonwnNode()
           
 void updateAllClassificationsForAnAxisDeletion()
           
 void updateAllClassificationsForAxisValueDeletion()
           
 void updateAllClassificationsForSeveralAxisValuesDeletion()
           
 void updateAPredefinedClassification()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdcClassificationServiceTest

public PdcClassificationServiceTest()
Method Detail

generalSetUp

public void generalSetUp()
                  throws Exception
Throws:
Exception

getAPredefinedClassificationForAWholeComponentInstance

public void getAPredefinedClassificationForAWholeComponentInstance()

getNoPredefinedClassificationForAWholeComponentInstance

public void getNoPredefinedClassificationForAWholeComponentInstance()

getAPredefinedClassificationForANodeInAComponentInstance

public void getAPredefinedClassificationForANodeInAComponentInstance()

getNoPredefinedClassificationForANodeInAComponentInstance

public void getNoPredefinedClassificationForANodeInAComponentInstance()

getDefaultPredefinedClassificationForANodeWithoutPredefinedClassification

public void getDefaultPredefinedClassificationForANodeWithoutPredefinedClassification()

throwExceptionWhenGettingPredefinedClassificationForAnUnkonwnNode

public void throwExceptionWhenGettingPredefinedClassificationForAnUnkonwnNode()

saveAPredefinedClassification

public void saveAPredefinedClassification()

updateAPredefinedClassification

public void updateAPredefinedClassification()

updateAllClassificationsForAxisValueDeletion

public void updateAllClassificationsForAxisValueDeletion()

updateAllClassificationsForSeveralAxisValuesDeletion

public void updateAllClassificationsForSeveralAxisValuesDeletion()

updateAllClassificationsForAnAxisDeletion

public void updateAllClassificationsForAnAxisDeletion()


Copyright © 2016 Silverpeas. All Rights Reserved.