-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPostponedTests.cs
More file actions
56 lines (43 loc) · 2.38 KB
/
Copy pathPostponedTests.cs
File metadata and controls
56 lines (43 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cleipnir.ResilientFunctions.Tests.InMemoryTests.RFunctionTests;
[TestClass]
public class PostponedTests : TestTemplates.FunctionTests.PostponedTests
{
[TestMethod]
public override Task PostponedFuncIsCompletedByWatchDog()
=> PostponedFuncIsCompletedByWatchDog(FunctionStoreFactory.Create());
[TestMethod]
public override Task PostponedActionIsCompletedByWatchDog()
=> PostponedActionIsCompletedByWatchDog(FunctionStoreFactory.Create());
[TestMethod]
public override Task PostponedActionIsCompletedByWatchDogAfterCrash()
=> PostponedActionIsCompletedByWatchDogAfterCrash(FunctionStoreFactory.Create());
[TestMethod]
public override Task ThrownPostponeExceptionResultsInPostponedAction()
=> ThrownPostponeExceptionResultsInPostponedAction(FunctionStoreFactory.Create());
[TestMethod]
public override Task ThrownPostponeExceptionResultsInPostponedActionWithState()
=> ThrownPostponeExceptionResultsInPostponedActionWithState(FunctionStoreFactory.Create());
[TestMethod]
public override Task ThrownPostponeExceptionResultsInPostponedFunc()
=> ThrownPostponeExceptionResultsInPostponedFunc(FunctionStoreFactory.Create());
[TestMethod]
public override Task ThrownPostponeExceptionResultsInPostponedFuncWithState()
=> ThrownPostponeExceptionResultsInPostponedFuncWithState(FunctionStoreFactory.Create());
[TestMethod]
public override Task ExistingEligiblePostponedFunctionWillBeReInvokedImmediatelyAfterStartUp()
=> ExistingEligiblePostponedFunctionWillBeReInvokedImmediatelyAfterStartUp(FunctionStoreFactory.Create());
[TestMethod]
public override Task ScheduleAtActionIsCompletedAfterDelay()
=> ScheduleAtActionIsCompletedAfterDelay(FunctionStoreFactory.Create());
[TestMethod]
public override Task ScheduleAtFuncIsCompletedAfterDelay()
=> ScheduleAtActionIsCompletedAfterDelay(FunctionStoreFactory.Create());
[TestMethod]
public override Task WorkflowDelayInvocationDelaysFunction()
=> WorkflowDelayInvocationDelaysFunction(FunctionStoreFactory.Create());
[TestMethod]
public override Task WorkflowDelayWithDateTimeInvocationDelaysFunction()
=> WorkflowDelayWithDateTimeInvocationDelaysFunction(FunctionStoreFactory.Create());
}