Package io.quarkus.test.vertx
Class VirtualThreadsAssertions
java.lang.Object
io.quarkus.test.vertx.VirtualThreadsAssertions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAsserts that the current method: - runs on a duplicated context - runs on a virtual thread - has the request scope activatedstatic voidstatic voidstatic voidstatic voidstatic void
-
Constructor Details
-
VirtualThreadsAssertions
public VirtualThreadsAssertions()
-
-
Method Details
-
assertEverything
public static void assertEverything()Asserts that the current method: - runs on a duplicated context - runs on a virtual thread - has the request scope activated -
assertWorkerOrEventLoopThread
public static void assertWorkerOrEventLoopThread() -
assertThatTheRequestScopeIsActive
public static void assertThatTheRequestScopeIsActive() -
assertThatItRunsOnADuplicatedContext
public static void assertThatItRunsOnADuplicatedContext() -
assertThatItRunsOnVirtualThread
public static void assertThatItRunsOnVirtualThread() -
assertNotOnVirtualThread
public static void assertNotOnVirtualThread()
-