View Javadoc
1   package net.avcompris.base.testutil.processes;
2   
3   import java.lang.annotation.Documented;
4   import java.lang.annotation.ElementType;
5   import java.lang.annotation.Retention;
6   import java.lang.annotation.RetentionPolicy;
7   import java.lang.annotation.Target;
8   
9   /**
10   * Use this annotation on JUnit test methods in an extension of
11   * {@link TestsWithProcessesBefore} to tell that the test method will emit a
12   * report after
13   * all steps of all processes have run.
14   * The annotated JUnit test method may then
15   * call the {@link TestsWithProcessesBefore#getProcessResult(Class)} method to
16   * get one of the objects returned by the processes.
17   * <p>
18   * You can use both {@link WhileProcessing} and
19   * <code>WillReportAfterProcesses</code> annotations on a same test method.
20   * 
21   * @author David Andrianavalontsalama
22   */
23  @Documented
24  @Retention(RetentionPolicy.RUNTIME)
25  @Target(ElementType.METHOD)
26  public @interface WillReportAfterProcesses {
27  
28  }