Revision c875d683 trunk/Pithos.Core.Test/NetworkAgentTest.cs
b/trunk/Pithos.Core.Test/NetworkAgentTest.cs | ||
---|---|---|
52 | 52 |
|
53 | 53 |
client.DeleteObject(null, FolderConstants.PithosContainer, fileName, false); |
54 | 54 |
|
55 |
var treeHash = Signature.CalculateTreeHashAsync(filePath, accountInfo.BlockSize, accountInfo.BlockHash, 2, new Progress<double>()); |
|
55 |
var treeHash = Signature.CalculateTreeHashAsync(filePath, accountInfo.BlockSize, accountInfo.BlockHash, 2, CancellationToken.None, new Progress<double>());
|
|
56 | 56 |
var cloudFile = new ObjectInfo {Account = account, Container = "pithos"}; |
57 | 57 |
var fileInfo = new FileInfo(filePath); |
58 | 58 |
|
... | ... | |
99 | 99 |
.Wait(); |
100 | 100 |
|
101 | 101 |
Assert.IsTrue(File.Exists(filePath)); |
102 |
var treeHash = Signature.CalculateTreeHashAsync(filePath, accountInfo.BlockSize, accountInfo.BlockHash, 2, new Progress<double>()); |
|
102 |
var treeHash = Signature.CalculateTreeHashAsync(filePath, accountInfo.BlockSize, accountInfo.BlockHash, 2, CancellationToken.None, new Progress<double>());
|
|
103 | 103 |
|
104 | 104 |
Assert.AreEqual(treeHash.TopHash, newHash.TopHash); |
105 | 105 |
|
Also available in: Unified diff