类 SimpleAsyncTaskExecutorAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SimpleAsyncTaskExecutorAssert,infra.core.task.SimpleAsyncTaskExecutor>
infra.test.assertj.SimpleAsyncTaskExecutorAssert
- 所有已实现的接口:
org.assertj.core.api.Assert<SimpleAsyncTaskExecutorAssert,,infra.core.task.SimpleAsyncTaskExecutor> org.assertj.core.api.Descriptable<SimpleAsyncTaskExecutorAssert>,org.assertj.core.api.ExtensionPoints<SimpleAsyncTaskExecutorAssert,infra.core.task.SimpleAsyncTaskExecutor>
public final class SimpleAsyncTaskExecutorAssert
extends org.assertj.core.api.AbstractAssert<SimpleAsyncTaskExecutorAssert,infra.core.task.SimpleAsyncTaskExecutor>
AssertJ
Assert for SimpleAsyncTaskExecutor.- 从以下版本开始:
- 4.0
- 作者:
- Moritz Halbritter, Harry Yang
-
字段概要
从类继承的字段 org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明assertThat(infra.core.task.SimpleAsyncTaskExecutor actual) Creates a new assertion class with the givenSimpleAsyncTaskExecutor.private booleanVerifies that the actual executor uses platform threads.Verifies that the actual executor uses virtual threads.从类继承的方法 org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError从接口继承的方法 org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
构造器详细资料
-
SimpleAsyncTaskExecutorAssert
private SimpleAsyncTaskExecutorAssert(infra.core.task.SimpleAsyncTaskExecutor actual)
-
-
方法详细资料
-
usesPlatformThreads
Verifies that the actual executor uses platform threads.- 返回:
thisassertion object- 抛出:
AssertionError- if the actual executor doesn't use platform threads
-
usesVirtualThreads
Verifies that the actual executor uses virtual threads.- 返回:
thisassertion object- 抛出:
AssertionError- if the actual executor doesn't use virtual threads
-
producesVirtualThreads
private boolean producesVirtualThreads() -
assertThat
public static SimpleAsyncTaskExecutorAssert assertThat(infra.core.task.SimpleAsyncTaskExecutor actual) Creates a new assertion class with the givenSimpleAsyncTaskExecutor.- 参数:
actual- theSimpleAsyncTaskExecutor- 返回:
- the assertion class
-