Skip to content

Changes

Summary

  1. Added tests for the latest new methods (details)
  2. Removed checks that ThreadContext.withContextPropagation(CS/CF) cannot run async actions without executor (details)
Commit 710aab74adc0fe38beed1b80a383fac1604e2a1c by Stephane Epardaud
Added tests for the latest new methods

ManagedExecutor.copy
ManagedExecutor.getThreadContext
ContextManager.Builder.withDefaultExecutorService
The file was addedtck/src/main/java/org/eclipse/microprofile/context/tck/TckThread.java
The file was modified tck/src/main/java/org/eclipse/microprofile/context/tck/ThreadContextTest.java (diff)
The file was modified tck/src/main/java/org/eclipse/microprofile/context/tck/ManagedExecutorTest.java (diff)
The file was addedtck/src/main/java/org/eclipse/microprofile/context/tck/TckThreadFactory.java
Commit dcdeb54184ca6bc1abae8e28d55113cc8214eba0 by Stephane Epardaud
Removed checks that ThreadContext.withContextPropagation(CS/CF) cannot run async actions without executor

Because it really depends if there is a default executor, and we have tests for both cases elsewhere (with/without)
The file was modified tck/src/main/java/org/eclipse/microprofile/context/tck/ThreadContextTest.java (diff)