File tree Expand file tree Collapse file tree 3 files changed +14
-15
lines changed
core-java-concurrency-basic-3/src/test/java/com/baeldung/concurrent/completablefuture
core-java-concurrency-basic-5
core-java-concurrency-simple Expand file tree Collapse file tree 3 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 11package com .baeldung .concurrent .completablefuture ;
22
3- import org .junit .Test ;
3+ import static org .junit .Assert .assertEquals ;
4+ import static org .junit .Assert .assertFalse ;
5+ import static org .junit .Assert .assertSame ;
6+ import static org .junit .Assert .assertTrue ;
47
58import java .util .concurrent .CancellationException ;
69import java .util .concurrent .CompletableFuture ;
1215import java .util .stream .Collectors ;
1316import java .util .stream .Stream ;
1417
15- import static org .junit .Assert .assertEquals ;
16- import static org .junit .Assert .assertFalse ;
17- import static org .junit .Assert .assertSame ;
18- import static org .junit .Assert .assertTrue ;
18+ import org .junit .Test ;
1919
2020public class CompletableFutureLongRunningUnitTest {
2121
Original file line number Diff line number Diff line change 1313 <version >0.0.1-SNAPSHOT</version >
1414 </parent >
1515
16+ <dependencies >
17+ <dependency >
18+ <groupId >org.wiremock</groupId >
19+ <artifactId >wiremock</artifactId >
20+ <version >${wiremock.version} </version >
21+ <scope >test</scope >
22+ </dependency >
23+ </dependencies >
1624
1725 <properties >
18-
26+ < wiremock .version>3.1.0</ wiremock .version>
1927 </properties >
2028
2129</project >
Original file line number Diff line number Diff line change 1212 <version >0.0.1-SNAPSHOT</version >
1313 </parent >
1414
15- <dependencies >
16- <dependency >
17- <groupId >org.wiremock</groupId >
18- <artifactId >wiremock</artifactId >
19- <version >3.1.0</version >
20- <scope >test</scope >
21- </dependency >
22- </dependencies >
23-
2415 <build >
2516 <finalName >core-java-concurrency-simple</finalName >
2617 <resources >
You can’t perform that action at this time.
0 commit comments