Package io.servicetalk.test.resources
Class TestUtils
- java.lang.Object
-
- io.servicetalk.test.resources.TestUtils
-
public final class TestUtils extends java.lang.Object
Test utility methods / helpers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
assertNoAsyncErrors(java.util.Queue<java.lang.Throwable> errors)
Helper method to check if a givenQueue
contains any errors, usually produced through async sources.
-
-
-
Method Detail
-
assertNoAsyncErrors
public static void assertNoAsyncErrors(java.util.Queue<java.lang.Throwable> errors)
Helper method to check if a givenQueue
contains any errors, usually produced through async sources. For ALLThrowable
s found in the queue, a suppressed error will be captured and surface through a singleAssertionError
.- Parameters:
errors
- The queue of captured errors.
-
-