public abstract class ExtendableTestSpringContext
extends org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter
| Modifier and Type | Field and Description |
|---|---|
protected String |
webappPath |
| Constructor and Description |
|---|
ExtendableTestSpringContext() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getTestResourcesHtmlPath(String filename) |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
propertyConfigurer()
Allow us to use .properties files
|
javax.servlet.ServletContext |
servletContext() |
addArgumentResolvers, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, getValidator@Value(value="${thymeleaf.template.webappPath:src/main/webapp}")
protected String webappPath
@Bean @DependsOn(value="propertyConfigurer") public javax.servlet.ServletContext servletContext()
@Bean
public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertyConfigurer()
throws IOException
IOExceptionCopyright © 2014. All rights reserved.