This commit is contained in:
Stephan
2015-02-17 15:09:29 +01:00
committed by Shannon
parent 4c3de920c6
commit 58ce04e26b
6 changed files with 14 additions and 13 deletions

View File

@@ -514,7 +514,7 @@ namespace Umbraco.Tests.Scheduling
throw new Exception("Task has thrown.");
}
public async Task RunAsync()
public async Task RunAsync(CancellationToken token)
{
await Task.Delay(1000);
throw new Exception("Task has thrown.");
@@ -603,7 +603,7 @@ namespace Umbraco.Tests.Scheduling
_gate.Set();
}
public Task RunAsync()
public Task RunAsync(CancellationToken token)
{
throw new NotImplementedException();
}
@@ -690,10 +690,10 @@ namespace Umbraco.Tests.Scheduling
Ended = DateTime.Now;
}
public Task RunAsync()
public Task RunAsync(CancellationToken token)
{
throw new NotImplementedException();
//return Task.Delay(500); // fixme
//return Task.Delay(500);
}
public bool IsAsync