parent
2d6624de71
commit
dd1330d05e
|
@ -28,7 +28,7 @@ import org.springframework.test.context.support.AbstractTestExecutionListener;
|
||||||
* <p>These events may be consumed for various reasons, such as resetting <em>mock</em>
|
* <p>These events may be consumed for various reasons, such as resetting <em>mock</em>
|
||||||
* beans or tracing test execution. Since these events may be consumed by regular
|
* beans or tracing test execution. Since these events may be consumed by regular
|
||||||
* Spring beans, they can be shared among different test classes.
|
* Spring beans, they can be shared among different test classes.
|
||||||
*
|
*
|
||||||
* <h3>Supported Events</h3>
|
* <h3>Supported Events</h3>
|
||||||
* <ul>
|
* <ul>
|
||||||
* <li>{@link BeforeTestClassEvent}</li>
|
* <li>{@link BeforeTestClassEvent}</li>
|
||||||
|
|
|
@ -16,13 +16,13 @@
|
||||||
|
|
||||||
package org.springframework.test.context.event.annotation;
|
package org.springframework.test.context.event.annotation;
|
||||||
|
|
||||||
import org.springframework.context.event.EventListener;
|
|
||||||
import org.springframework.test.context.event.PrepareTestInstanceEvent;
|
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
|
import org.springframework.context.event.EventListener;
|
||||||
|
import org.springframework.test.context.event.PrepareTestInstanceEvent;
|
||||||
|
|
||||||
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
|
import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
|
||||||
import static java.lang.annotation.ElementType.METHOD;
|
import static java.lang.annotation.ElementType.METHOD;
|
||||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* Test event annotations for the <em>Spring TestContext Framework</em>.
|
* Test event annotations for the <em>Spring TestContext Framework</em>.
|
||||||
*/
|
*/
|
||||||
package org.springframework.test.context.event.annotation;
|
package org.springframework.test.context.event.annotation;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/**
|
/**
|
||||||
* Test event support classes for the <em>Spring TestContext Framework</em>.
|
* Test event support classes for the <em>Spring TestContext Framework</em>.
|
||||||
*/
|
*/
|
||||||
package org.springframework.test.context.event;
|
package org.springframework.test.context.event;
|
||||||
|
|
Loading…
Reference in New Issue