Package ubic.gemma.core.util.test
Class BaseIntegrationTest
java.lang.Object
org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
ubic.gemma.core.util.test.BaseTest
ubic.gemma.core.util.test.BaseIntegrationTest
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
AnnDataSingleCellDataLoaderIntegrationTest,ArrayDesignServiceTest,BaseCliIntegrationTest,BaseSpringContextTest,BatchInfoRepopulationJobTest,CellXGeneDataLoaderServiceTest,DifferentialExpressionAnalysisServiceTest,DifferentialExpressionResultServiceTest,FilteringVoEnabledServiceIntegrationTest,GeneSearchTest,GeneServiceTest,GeoConverterTest,ProcessedExpressionDataVectorCreationHelperServiceTest,SchedulerSecurityTest,SingleCellDataLoaderServiceIntegrationTest,SingleCellExpressionExperimentCreateSubSetsAndAggregateServiceTest,SingleCellIntegrationTest,TableMaintenanceUtilIntegrationTest,TaxonServiceImplTest
@ContextConfiguration(locations="classpath*:ubic/gemma/applicationContext-*.xml")
public abstract class BaseIntegrationTest
extends BaseTest
Base class for integration tests.
- Author:
- poirigui
-
Field Summary
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidSetup the authentication for the test.final voidClear theSecurityContextHolderso that subsequent tests don't inherit authentication.Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
Constructor Details
-
BaseIntegrationTest
public BaseIntegrationTest()
-
-
Method Details
-
setUpAuthentication
public final void setUpAuthentication()Setup the authentication for the test.The default is to grant an administrator authority to the current user.
-
tearDownSecurityContext
public final void tearDownSecurityContext()Clear theSecurityContextHolderso that subsequent tests don't inherit authentication.
-