public async Task ChildWorkflow() { await SyncContext.Clear; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.ChildWorkflow)); }
public async Task LocalActivity() { await SyncContext.Clear; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.LocalActivity)); }
public async Task GetIsSetLastCompletionResult() { await SyncContext.Clear; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.GetIsSetLastCompletionResult)); }
public async Task NextRandomMinMax() { await SyncContext.Clear; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.NextRandomMinMax)); }
public async Task SideEffectGeneric() { await SyncContext.Clear; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.SideEffectGeneric)); }
public async Task MutableSideEffect() { await SyncContext.ClearAsync; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.MutableSideEffect)); }
public async Task WorkflowExecution() { await SyncContext.ClearAsync; WorkflowReplay.Reset(); var stub = client.NewWorkflowStub <IWorkflowReplay>(); Assert.True(await stub.RunAsync(ReplayTest.WorkflowExecution)); }