Skip to content

Commit a0b1690

Browse files
committed
Polishing
1 parent f5fffa1 commit a0b1690

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

documentation/src/docs/asciidoc/release-notes/release-notes-5.5.0-RC1.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ on GitHub.
9999

100100
* `junit:junit` is now a compile-scoped dependency of `junit-vintage-engine` to allow for
101101
easier dependency management in Maven POMs.
102-
* Methods that are `public` are now preferred over other methods with the same name in the
103-
same test class when creating `MethodSources` for JUnit 4 `Descriptions`.
102+
* A method that is `public` is now preferred over other methods with the same name in the
103+
same test class when creating a `MethodSource` for a JUnit 4 `Description`.

documentation/src/docs/asciidoc/user-guide/writing-tests.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1739,8 +1739,9 @@ junit.jupiter.execution.parallel.mode.default = concurrent
17391739
junit.jupiter.execution.parallel.mode.classes.default = same_thread
17401740
----
17411741

1742-
Not configuring a value for `junit.jupiter.execution.parallel.mode.classes.default` is
1743-
equivalent to using the same value as for `junit.jupiter.execution.parallel.mode.default`.
1742+
If the `junit.jupiter.execution.parallel.mode.classes.default` configuration parameter is
1743+
not explicitly set, the value for `junit.jupiter.execution.parallel.mode.default` will be
1744+
used instead.
17441745

17451746
[[writing-tests-parallel-execution-config]]
17461747
==== Configuration

junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/Constants.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public final class Constants {
165165
* <p>Supported values include names of enum constants defined in
166166
* {@link org.junit.jupiter.api.parallel.ExecutionMode}, ignoring case.
167167
*
168-
* <p>If not specified, it will be resolve into the same value as
168+
* <p>If not specified, it will be resolved into the same value as
169169
* {@link #DEFAULT_PARALLEL_EXECUTION_MODE}.
170170
*
171171
* @see org.junit.jupiter.api.parallel.Execution
@@ -194,7 +194,7 @@ public final class Constants {
194194
* Property name used to set the desired parallelism for the {@code fixed}
195195
* configuration strategy: {@value}
196196
*
197-
* <p>No default value; must be an integer.
197+
* <p>No default value; must be a positive integer.
198198
*
199199
* @since 5.3
200200
*/
@@ -207,7 +207,7 @@ public final class Constants {
207207
* available processors/cores to determine the desired parallelism for the
208208
* {@code dynamic} configuration strategy: {@value}
209209
*
210-
* <p>Value must be a decimal number; defaults to {@code 1}.
210+
* <p>Value must be a positive decimal number; defaults to {@code 1}.
211211
*
212212
* @since 5.3
213213
*/
@@ -232,7 +232,7 @@ public final class Constants {
232232
*
233233
* <p>The value of this property will be used unless overridden by a more
234234
* specific property or a {@link org.junit.jupiter.api.Timeout @Timeout}
235-
* annotation present on the method or an enclosing test class (for testable
235+
* annotation present on the method or on an enclosing test class (for testable
236236
* methods).
237237
*
238238
* <p>Please refer to the <a href="#supported-values-timeouts">class
@@ -249,7 +249,7 @@ public final class Constants {
249249
*
250250
* <p>The value of this property will be used unless overridden by a more
251251
* specific property or a {@link org.junit.jupiter.api.Timeout @Timeout}
252-
* annotation present on the testable method or an enclosing test class.
252+
* annotation present on the testable method or on an enclosing test class.
253253
*
254254
* <p>This property overrides the {@value #DEFAULT_TIMEOUT_PROPERTY_NAME}
255255
* property.
@@ -269,7 +269,7 @@ public final class Constants {
269269
*
270270
* <p>The value of this property will be used unless overridden by a
271271
* {@link org.junit.jupiter.api.Timeout @Timeout} annotation present on the
272-
* {@link org.junit.jupiter.api.Test @Test} method or an enclosing test
272+
* {@link org.junit.jupiter.api.Test @Test} method or on an enclosing test
273273
* class.
274274
*
275275
* <p>This property overrides the
@@ -290,7 +290,7 @@ public final class Constants {
290290
*
291291
* <p>The value of this property will be used unless overridden by a
292292
* {@link org.junit.jupiter.api.Timeout @Timeout} annotation present on the
293-
* {@link org.junit.jupiter.api.TestTemplate @TestTemplate} method or an
293+
* {@link org.junit.jupiter.api.TestTemplate @TestTemplate} method or on an
294294
* enclosing test class.
295295
*
296296
* <p>This property overrides the
@@ -311,7 +311,7 @@ public final class Constants {
311311
*
312312
* <p>The value of this property will be used unless overridden by a
313313
* {@link org.junit.jupiter.api.Timeout @Timeout} annotation present on the
314-
* {@link org.junit.jupiter.api.TestFactory @TestFactory} method or an
314+
* {@link org.junit.jupiter.api.TestFactory @TestFactory} method or on an
315315
* enclosing test class.
316316
*
317317
* <p>This property overrides the

0 commit comments

Comments
 (0)