@ContextConfiguration(value={"classpath*:spring/**/*.xml","classpath*:play-plugins/spring/**/*.xml"})
@DirtiesContext(classMode=AFTER_EACH_TEST_METHOD)
public abstract class AbstractSpringTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ConfigurableApplicationContext |
applicationContext |
| Constructor and Description |
|---|
AbstractSpringTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTest() |
void |
beforeTest() |
protected java.io.File |
lockFile() |
@Autowired protected org.springframework.context.ConfigurableApplicationContext applicationContext
public void afterTest()
throws java.io.IOException
java.io.IOExceptionpublic void beforeTest()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionprotected java.io.File lockFile()
throws java.io.IOException
java.io.IOException