org.silverpeas.persistence.jpa
Class RepositoryBasedTest

java.lang.Object
  extended by org.silverpeas.DataSetTest
      extended by org.silverpeas.persistence.jpa.RepositoryBasedTest

public abstract class RepositoryBasedTest
extends DataSetTest

Abstract class for tests that are based on the behavior of a JPA repository. These tests are not about the repository itself but on the persistence characteristics of a business object using a JPA repository.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.silverpeas.DataSetTest
DataSetTest.TableRow
 
Constructor Summary
RepositoryBasedTest()
           
 
Method Summary
protected  String getDataSourceInjectionBeanId()
          Gets the identifier which permits to retrieve the instance of the data source in the injection context.
 
Methods inherited from class org.silverpeas.DataSetTest
getActualDataSet, getApplicationContext, getApplicationContextPath, getConnection, getDataSet, getDataSetPath, getDataSource, getTableIndexFor, getTableIndexForId, getTableRowFor, getTableRowsFor, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryBasedTest

public RepositoryBasedTest()
Method Detail

getDataSourceInjectionBeanId

protected String getDataSourceInjectionBeanId()
Description copied from class: DataSetTest
Gets the identifier which permits to retrieve the instance of the data source in the injection context.

Specified by:
getDataSourceInjectionBeanId in class DataSetTest
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.