Package ubic.gemma.web.util
Class BaseWebTest
- java.lang.Object
-
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
-
- ubic.gemma.web.util.BaseWebTest
-
- All Implemented Interfaces:
Aware
,InitializingBean
,ApplicationContextAware
- Direct Known Subclasses:
DifferentialExpressionAnalysisControllerTest
,ExperimentalDesignControllerTest
,OntologyControllerTest
@ActiveProfiles({"web","test"}) @WebAppConfiguration public abstract class BaseWebTest extends AbstractJUnit4SpringContextTests implements InitializingBean
Base class for a Web-based unit test.For a full integration test base class, use
BaseSpringWebTest
.- Author:
- poirigui
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseWebTest.BaseWebTestContextConfiguration
-
Field Summary
Fields Modifier and Type Field Description protected MockMvc
mvc
-
Fields inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
logger
-
-
Constructor Summary
Constructors Constructor Description BaseWebTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
-
Methods inherited from class org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
setApplicationContext
-
-
-
-
Field Detail
-
mvc
protected MockMvc mvc
-
-
Method Detail
-
afterPropertiesSet
public final void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
-