File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed
junit-jupiter-api/src/main/java
junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/extension
jupiter-tests/src/test/java/org/junit/jupiter/api/timeout
platform-tooling-support-tests/projects/jar-describe-module Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3030 exports org .junit .jupiter .api .function ;
3131 exports org .junit .jupiter .api .io ;
3232 exports org .junit .jupiter .api .parallel ;
33- exports org .junit .jupiter .api .util to org .junit .jupiter .engine ;
33+ exports org .junit .jupiter .api .timeout to org .junit .jupiter .engine ;
3434
3535 opens org .junit .jupiter .api .condition to org .junit .platform .commons ;
3636}
Original file line number Diff line number Diff line change 1111package org .junit .jupiter .api ;
1212
1313import static org .junit .jupiter .api .AssertionFailureBuilder .assertionFailure ;
14- import static org .junit .jupiter .api .util .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
14+ import static org .junit .jupiter .api .timeout .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
1515
1616import java .time .Duration ;
1717import java .util .function .Supplier ;
Original file line number Diff line number Diff line change 88 * https://www.eclipse.org/legal/epl-v20.html
99 */
1010
11- package org .junit .jupiter .api .util ;
11+ package org .junit .jupiter .api .timeout ;
1212
1313import static java .util .Objects .requireNonNullElse ;
1414import static org .apiguardian .api .API .Status .INTERNAL ;
Original file line number Diff line number Diff line change 11/**
2- * Internal JUnit Jupiter utilities.
2+ * Internal JUnit Jupiter timeout utilities.
33 *
44 * <h2>DISCLAIMER</h2>
55 *
99 */
1010
1111@ NullMarked
12- package org .junit .jupiter .api .util ;
12+ package org .junit .jupiter .api .timeout ;
1313
1414import org .jspecify .annotations .NullMarked ;
Original file line number Diff line number Diff line change 1010
1111package org .junit .jupiter .engine .extension ;
1212
13- import static org .junit .jupiter .api .util .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
13+ import static org .junit .jupiter .api .timeout .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
1414
1515import java .util .concurrent .TimeoutException ;
1616import java .util .function .Supplier ;
Original file line number Diff line number Diff line change 88 * https://www.eclipse.org/legal/epl-v20.html
99 */
1010
11- package org .junit .jupiter .api .util ;
11+ package org .junit .jupiter .api .timeout ;
1212
1313import static java .time .Duration .ofMillis ;
1414import static org .assertj .core .api .Assertions .assertThat ;
1515import static org .junit .jupiter .api .Assertions .assertFalse ;
1616import static org .junit .jupiter .api .Assertions .assertThrows ;
1717import static org .junit .jupiter .api .Assertions .fail ;
1818import static org .junit .jupiter .api .condition .OS .WINDOWS ;
19- import static org .junit .jupiter .api .util .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
19+ import static org .junit .jupiter .api .timeout .PreemptiveTimeoutUtils .executeWithPreemptiveTimeout ;
2020
2121import java .time .Duration ;
2222import java .util .concurrent .CountDownLatch ;
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ requires org.apiguardian.api static transitive
1212requires org.jspecify static transitive
1313requires org.junit.platform.commons transitive
1414requires org.opentest4j transitive
15- qualified exports org.junit.jupiter.api.util to org.junit.jupiter.engine
15+ qualified exports org.junit.jupiter.api.timeout to org.junit.jupiter.engine
1616qualified opens org.junit.jupiter.api.condition to org.junit.platform.commons
You can’t perform that action at this time.
0 commit comments