Package io.quarkus.test.vertx
Class VirtualThreadsAssertions
- java.lang.Object
-
- io.quarkus.test.vertx.VirtualThreadsAssertions
-
public class VirtualThreadsAssertions extends Object
-
-
Constructor Summary
Constructors Constructor Description VirtualThreadsAssertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidassertEverything()Asserts that the current method: - runs on a duplicated context - runs on a virtual thread - has the request scope activatedstatic voidassertNotOnVirtualThread()static voidassertThatItRunsOnADuplicatedContext()static voidassertThatItRunsOnVirtualThread()static voidassertThatTheRequestScopeIsActive()static voidassertWorkerOrEventLoopThread()
-
-
-
Method Detail
-
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()
-
-