This is the TCK part of #173 whose code PR was merged.
I've added tests for the following things:
ManagedExecutor.copy(CF/CS) will propagate contexts
ManagedExecutor.getThreadContext() will return an instance with the same propagation settings as the ManagedExecutor
ManagedExecutor.newIncompleteFuture() (hoping all other methods behave the same, I didn't think it was worth testing them all, should I?) will respect the new ContextManager.Builder.withDefaultExecutorService()
ThreadContext.withContextPropagation(CF/CS) will respect the new ContextManager.Builder.withDefaultExecutorService(), and ban Async methods with no executor if not set, and allow them if set
This is the TCK part of #173 whose code PR was merged.
I've added tests for the following things:
ManagedExecutor.copy(CF/CS)
will propagate contextsManagedExecutor.getThreadContext()
will return an instance with the same propagation settings as theManagedExecutor
ManagedExecutor.newIncompleteFuture()
(hoping all other methods behave the same, I didn't think it was worth testing them all, should I?) will respect the newContextManager.Builder.withDefaultExecutorService()
ThreadContext.withContextPropagation(CF/CS)
will respect the newContextManager.Builder.withDefaultExecutorService()
, and banAsync
methods with no executor if not set, and allow them if setDid I forget something?