View Javadoc

1   package com.atlassian.webdriver.testing.annotation;
2   
3   import com.atlassian.pageobjects.TestedProduct;
4   
5   import java.lang.annotation.ElementType;
6   import java.lang.annotation.Inherited;
7   import java.lang.annotation.Retention;
8   import java.lang.annotation.RetentionPolicy;
9   import java.lang.annotation.Target;
10  
11  /**
12   * Marks a test class with a 'hint' what tested product class should be used to create context and run that test.
13   *
14   * @since 2.1
15   */
16  @Retention(RetentionPolicy.RUNTIME)
17  @Target(ElementType.TYPE)
18  @Inherited
19  public @interface TestedProductClass
20  {
21      Class<? extends TestedProduct<?>> value();
22  }