java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | org.springframework.test.annotation.DirtiesContext.ClassMode |
Defines modes which determine how @DirtiesContext
is interpreted when used to annotate a test class.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DirtiesContext.ClassMode | AFTER_CLASS | The associated ApplicationContext will be marked as
dirty after the test class. |
|||||||||
DirtiesContext.ClassMode | AFTER_EACH_TEST_METHOD | The associated ApplicationContext will be marked as
dirty after each test method in the class. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
The associated ApplicationContext
will be marked as
dirty after the test class.
The associated ApplicationContext
will be marked as
dirty after each test method in the class.