Skip to content

)} ,System.Int32)}

RxTest.AppBuilderTestAsync(Func) method

Defined in

Type: RxTest Namespace: ReactiveUI.Testing Assembly: ReactiveUI.Testing.dll

Applies to

net10.0, net10.0, net9.0, net9.0, net8.0, net8.0, net462, net481, net462, net481

Overloads

  1. public static Task AppBuilderTestAsync(Func<Task> testBody)

  2. public static Task AppBuilderTestAsync(Func<Task> testBody, int maxWaitMs)

1. Overload

public static Task AppBuilderTestAsync(Func<Task> testBody)

View source

Summary: Applications the builder test asynchronous.

Parameters

NameTypeDescription
testBodyFuncThe test body.

Returns: Task -- A Task representing the asynchronous operation.

Exceptions

TypeCondition
System.ArgumentNullExceptiontestBody.

2. Overload

public static Task AppBuilderTestAsync(Func<Task> testBody, int maxWaitMs)

Summary: Applications the builder test asynchronous.

Parameters

NameTypeDescription
testBodyFuncThe test body.
maxWaitMsintThe maximum wait in milliseconds for both acquiring the test gate and running the test body.

Returns: Task -- A Task representing the asynchronous operation.

Exceptions

TypeCondition
System.ArgumentNullExceptiontestBody.
System.TimeoutExceptionThe global test gate was not acquired within maxWaitMs.