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   * When used on a JUnit test class that inherits
11   * from {@link TestsWithProcessesBefore}, this annotation allows
12   * to declare which process classes, and in which order, are to be
13   * launched before running the JUnit tests.
14   * <p>
15   * Process classes declared as argument of this annotation must
16   * inherit from {@link AbstractProcess}.
17   * 
18   * @author David Andrianavalontsalama
19   */
20  @Documented
21  @Retention(RetentionPolicy.RUNTIME)
22  @Target(ElementType.TYPE)
23  public @interface RequiresProcesses {
24  
25  	Class<?>[] value();
26  }