equal
deleted
inserted
replaced
25 import org.testng.annotations.DataProvider; |
25 import org.testng.annotations.DataProvider; |
26 |
26 |
27 import java.io.IOException; |
27 import java.io.IOException; |
28 import java.net.http.WebSocket; |
28 import java.net.http.WebSocket; |
29 import java.util.concurrent.Callable; |
29 import java.util.concurrent.Callable; |
30 import java.util.concurrent.CompletableFuture; |
|
31 import java.util.concurrent.CompletionStage; |
30 import java.util.concurrent.CompletionStage; |
32 import java.util.function.BooleanSupplier; |
31 import java.util.function.BooleanSupplier; |
33 import java.util.function.Predicate; |
|
34 import java.util.function.Supplier; |
|
35 |
32 |
36 /* Common infrastructure for tests that check pending operations */ |
33 /* Common infrastructure for tests that check pending operations */ |
37 public class PendingOperations { |
34 public class PendingOperations { |
38 |
35 |
39 static final Class<IllegalStateException> ISE = IllegalStateException.class; |
36 static final Class<IllegalStateException> ISE = IllegalStateException.class; |