|
33 | 33 | * <p>A {@code @ParameterizedClass} must specify at least one |
34 | 34 | * {@link org.junit.jupiter.params.provider.ArgumentsProvider ArgumentsProvider} |
35 | 35 | * via {@link org.junit.jupiter.params.provider.ArgumentsSource @ArgumentsSource} |
36 | | - * or a corresponding composed annotation (e.g., {@code @ValueSource}, |
| 36 | + * or a corresponding composed annotation (such as {@code @ValueSource}, |
37 | 37 | * {@code @CsvSource}, etc.). The provider is responsible for providing a |
38 | 38 | * {@link java.util.stream.Stream Stream} of |
39 | 39 | * {@link org.junit.jupiter.params.provider.Arguments Arguments} that will be |
|
52 | 52 | * <p>A {@code @ParameterizedClass} constructor may declare additional |
53 | 53 | * parameters at the end of its parameter list to be resolved by other |
54 | 54 | * {@link org.junit.jupiter.api.extension.ParameterResolver ParameterResolvers} |
55 | | - * (e.g., {@code TestInfo}, {@code TestReporter}, etc.). Specifically, such a |
| 55 | + * (such as {@code TestInfo}, {@code TestReporter}, etc.). Specifically, such a |
56 | 56 | * constructor must declare formal parameters according to the following rules. |
57 | 57 | * |
58 | 58 | * <ol> |
|
64 | 64 | * |
65 | 65 | * <p>In this context, an <em>indexed parameter</em> is an argument for a given |
66 | 66 | * index in the {@code Arguments} provided by an {@code ArgumentsProvider} that |
67 | | - * is passed as an argument to the parameterized class at the same index in |
| 67 | + * is supplied as an argument to the parameterized class at the same index in |
68 | 68 | * the constructor's formal parameter list. An <em>aggregator</em> is any |
69 | 69 | * parameter of type |
70 | 70 | * {@link org.junit.jupiter.params.aggregator.ArgumentsAccessor ArgumentsAccessor} |
|
112 | 112 | * <p>If you wish to execute custom code before or after each invocation of the |
113 | 113 | * parameterized class, you may declare methods annotated with |
114 | 114 | * {@link BeforeParameterizedClassInvocation @BeforeParameterizedClassInvocation} |
115 | | - * or |
116 | | - * {@link AfterParameterizedClassInvocation @AfterParameterizedClassInvocation}. |
| 115 | + * or {@link AfterParameterizedClassInvocation @AfterParameterizedClassInvocation}. |
117 | 116 | * This can, for example, be useful to initialize the arguments before they are |
118 | 117 | * used. |
119 | 118 | * |
|
125 | 124 | * |
126 | 125 | * <h2>Inheritance</h2> |
127 | 126 | * |
128 | | - * <p>This annotation is inherited to subclasses. |
| 127 | + * <p>This annotation is inherited by subclasses. |
129 | 128 | * |
130 | 129 | * @since 5.13 |
131 | 130 | * @see Parameter |
|
0 commit comments