Initializer
DefaultTestExecutor(FunctionDeclaration functionDeclaration, ClassDeclaration? classDeclaration)
Attributes
descriptionshared actual default TestDescription description

The description of the test to be run.

Inherited Attributes
Attributes inherited from: Object
hash, string
Attributes inherited from: TestExecutor
Methods
evaluateTestConditionsshared default void evaluateTestConditions(TestExecutionContext context)
executeshared actual default void execute(TestExecutionContext parent)

Run the test.

getInstanceshared default Object? getInstance(TestExecutionContext context)
getNameshared default String getName()
handleAfterCallbacksshared default void handleAfterCallbacks(TestExecutionContext context, Object? instance, void execute())()
handleBeforeCallbacksshared default void handleBeforeCallbacks(TestExecutionContext context, Object? instance, void execute())()
handleTestExecutionshared default void handleTestExecution(TestExecutionContext context, Object? instance, void execute())()
handleTestInvocationshared default void handleTestInvocation(TestExecutionContext context, Object? instance, Anything[] args)()
resolveCallbackArgumentListshared Anything[] resolveCallbackArgumentList(TestExecutionContext context, FunctionDeclaration callback)
verifyshared default void verify(TestExecutionContext context)

Verifies that the test context does not contain any errors.

verifyAfterCallbacksshared default void verifyAfterCallbacks()
verifyBeforeCallbacksshared default void verifyBeforeCallbacks()
verifyCallbackshared default void verifyCallback(FunctionDeclaration callbackDeclaration, String callbackName)
verifyClassAttributesshared default void verifyClassAttributes(ClassDeclaration classDeclaration)
verifyClassDoesNotContainAfterTestRunCallbacksshared default void verifyClassDoesNotContainAfterTestRunCallbacks(ClassDeclaration classDeclaration)
verifyClassDoesNotContainBeforeTestRunCallbacksshared default void verifyClassDoesNotContainBeforeTestRunCallbacks(ClassDeclaration classDeclaration)
verifyClassParametersshared default void verifyClassParameters(ClassDeclaration classDeclaration)
verifyClassTypeParametersshared default void verifyClassTypeParameters(ClassDeclaration classDeclaration)
verifyFunctionAnnotationsshared default void verifyFunctionAnnotations()
verifyFunctionReturnTypeshared default void verifyFunctionReturnType()
verifyFunctionTypeParametersshared default void verifyFunctionTypeParameters()
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: TestExecutor