|
27 | 27 | * <p>
|
28 | 28 | * Test annotation to indicate that a test is enabled for a specific testing
|
29 | 29 | * profile or environment. If the configured {@link ProfileValueSource} returns
|
30 |
| - * a matching {@link #value() value} for the provided {@link #name() name}, the |
31 |
| - * test will be enabled. |
| 30 | + * a matching {@link #value} for the provided {@link #name}, the test will be |
| 31 | + * enabled. |
32 | 32 | * </p>
|
33 | 33 | * <p>
|
34 |
| - * Note: {@code @IfProfileValue} can be applied at the class level, |
35 |
| - * the method level, or both. {@code @IfProfileValue} at the class |
36 |
| - * level overrides method-level usage of {@code @IfProfileValue} for |
37 |
| - * any methods within that class. |
| 34 | + * Note: {@code @IfProfileValue} can be applied at the class level, the method |
| 35 | + * level, or both. {@code @IfProfileValue} at the class level overrides |
| 36 | + * method-level usage of {@code @IfProfileValue} for any methods within that |
| 37 | + * class. |
38 | 38 | * </p>
|
| 39 | + * |
| 40 | + * <h3>Examples</h3> |
39 | 41 | * <p>
|
40 |
| - * Examples: when using {@link SystemProfileValueSource} as the |
41 |
| - * {@link ProfileValueSource} implementation, you can configure a test method to |
42 |
| - * run only on Java VMs from Sun Microsystems as follows: |
| 42 | + * When using {@link SystemProfileValueSource} as the {@link ProfileValueSource} |
| 43 | + * implementation, you can configure a test method to run only on Java VMs from |
| 44 | + * Sun Microsystems as follows: |
43 | 45 | * </p>
|
44 |
| - * |
45 | 46 | * <pre class="code">
|
46 | 47 | * @IfProfileValue(name = "java.vendor", value = "Sun Microsystems Inc.")
|
47 | 48 | * public void testSomething() {
|
48 | 49 | * // ...
|
49 | 50 | * }
|
50 | 51 | * </pre>
|
51 | 52 | * <p>
|
52 |
| - * You can alternatively configure {@code @IfProfileValue} with |
53 |
| - * <em>OR</em> semantics for multiple {@link #values() values} as follows |
54 |
| - * (assuming a {@link ProfileValueSource} has been appropriately configured for |
55 |
| - * the "test-groups" name): |
| 53 | + * You can alternatively configure {@code @IfProfileValue} with <em>OR</em> |
| 54 | + * semantics for multiple {@link #values() values} as follows (assuming a |
| 55 | + * {@link ProfileValueSource} has been appropriately configured for the |
| 56 | + * "test-groups" name): |
56 | 57 | * </p>
|
57 | 58 | *
|
58 | 59 | * <pre class="code">
|
|
0 commit comments