File tree Expand file tree Collapse file tree 3 files changed +14
-11
lines changed
junit-platform-engine/src/main/java/org/junit/platform/engine
junit-vintage-engine/src/main/java/org/junit/vintage/engine Expand file tree Collapse file tree 3 files changed +14
-11
lines changed Original file line number Diff line number Diff line change @@ -177,16 +177,16 @@ default Set<? extends TestDescriptor> getDescendants() {
177177 void removeFromHierarchy ();
178178
179179 /**
180- * Order the children from this descriptor.
180+ * Order the children of this descriptor.
181181 *
182182 * <p>The {@code orderer} is provided a modifiable list of child test
183- * descriptors in this test descriptor; never {@code null}. The
183+ * descriptors of this test descriptor; never {@code null}. The
184184 * {@code orderer} must return a list containing the same descriptors in any
185185 * order; potentially the same list, but never {@code null}. If descriptors
186- * were added or removed, an exception is thrown.
186+ * are added or removed, an exception is thrown.
187187 *
188- * @param orderer a unary operator to order the children of this test
189- * descriptor.
188+ * @param orderer a unary operator to order the children of this test descriptor
189+ * @since 1.12
190190 */
191191 @ API (since = "1.12" , status = EXPERIMENTAL )
192192 default void orderChildren (UnaryOperator <List <TestDescriptor >> orderer ) {
Original file line number Diff line number Diff line change @@ -47,21 +47,23 @@ public final class Constants {
4747 public static final String PARALLEL_POOL_SIZE = "junit.vintage.execution.parallel.pool-size" ;
4848
4949 /**
50- * Indicates whether parallel execution is enabled for test classes in the JUnit Vintage engine.
50+ * Indicates whether parallel execution is enabled for test classes in the
51+ * JUnit Vintage engine.
5152 *
52- * <p>Set this property to {@code true} to enable parallel execution of test classes.
53- * Defaults to {@code false}.
53+ * <p>Set this property to {@code true} to enable parallel execution of test
54+ * classes. Defaults to {@code false}.
5455 *
5556 * @since 5.12
5657 */
5758 @ API (status = EXPERIMENTAL , since = "5.12" )
5859 public static final String PARALLEL_CLASS_EXECUTION = "junit.vintage.execution.parallel.classes" ;
5960
6061 /**
61- * Indicates whether parallel execution is enabled for test methods in the JUnit Vintage engine.
62+ * Indicates whether parallel execution is enabled for test methods in the
63+ * JUnit Vintage engine.
6264 *
63- * <p>Set this property to {@code true} to enable parallel execution of test methods.
64- * Defaults to {@code false}.
65+ * <p>Set this property to {@code true} to enable parallel execution of test
66+ * methods. Defaults to {@code false}.
6567 *
6668 * @since 5.12
6769 */
Original file line number Diff line number Diff line change @@ -186,4 +186,5 @@ private void shutdownExecutorService(ExecutorService executorService) {
186186 Thread .currentThread ().interrupt ();
187187 }
188188 }
189+
189190}
You can’t perform that action at this time.
0 commit comments