mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-0: Fixing test fallout from GP-690
This commit is contained in:
parent
3093e2dd2a
commit
b69c3d6c50
16 changed files with 155 additions and 88 deletions
|
@ -15,8 +15,7 @@
|
|||
*/
|
||||
package ghidra.async;
|
||||
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.*;
|
||||
|
||||
import ghidra.util.SystemUtilities;
|
||||
|
||||
|
@ -32,4 +31,8 @@ public interface AsyncTestUtils {
|
|||
throw AsyncUtils.unwrapThrowable(e);
|
||||
}
|
||||
}
|
||||
|
||||
default void waitOn(Executor executor) throws Throwable {
|
||||
waitOn(CompletableFuture.supplyAsync(() -> null, executor));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue