Class BaseJerseyIntegrationTest5
java.lang.Object
org.glassfish.jersey.test.JerseyTest
ubic.gemma.rest.util.BaseJerseyTest5
ubic.gemma.rest.util.BaseJerseyIntegrationTest5
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
- Direct Known Subclasses:
AnalysisResultSetsJerseyTest, AnalysisResultSetsWebServiceTest, AnnotationsRestTest, DatasetsCurationCommitRestTest, DatasetsDiagnosticsRestTest, DatasetsFactorHintCommitRestTest, DatasetsPlatformsRestTest, DatasetsRestTest, GeneWebServiceTest, PlatformsWebServiceTest, RootWebServiceTest, TasksRestTest, TaxaWebServiceTest
@Tag("integration")
@ContextConfiguration(locations="classpath*:ubic/gemma/applicationContext-*.xml")
public abstract class BaseJerseyIntegrationTest5
extends BaseJerseyTest5
JUnit 5 (Jupiter) base class for Jersey integration tests, tagged
@Tag("integration") for surefire/failsafe filtering.- Author:
- poirigui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidClear theSecurityContextHolderso that subsequent tests don't inherit authentication.Methods inherited from class BaseJerseyTest5
configure, configureClient, getTestContainerFactory, setApplicationContext, setUp, tearDownMethods inherited from class org.glassfish.jersey.test.JerseyTest
client, close, closeIfNotNull, configureDeployment, disable, enable, forceDisable, forceEnable, forceSet, getAsyncTimeoutMultiplier, getBaseUri, getClient, getLastLoggedRecord, getLoggedRecords, getPort, getSslContext, getSslParameters, isEnabled, set, set, setClient, target, target
-
Constructor Details
-
BaseJerseyIntegrationTest5
public BaseJerseyIntegrationTest5()
-
-
Method Details
-
setUpAuthentication
@BeforeEach public final void setUpAuthentication() -
tearDownSecurityContext
@AfterEach public final void tearDownSecurityContext()Clear theSecurityContextHolderso that subsequent tests don't inherit authentication.
-