Revision 422c9598 trunk/Pithos.Network.Test/CloudFilesClientTest.cs

b/trunk/Pithos.Network.Test/CloudFilesClientTest.cs
1 1
using System;
2
using System.Collections.Concurrent;
2 3
using System.Collections.Generic;
3 4
using System.IO;
4 5
using System.Linq;
5 6
using System.Text;
7
using System.Threading.Tasks;
6 8
using NUnit.Framework;
7 9

  
8 10
namespace Pithos.Network.Test
......
22 24
                             };
23 25
            client.Authenticate();
24 26
            var fileName = @"vlc-1.1.11-win32.exe";
25
            var treeHash=Signature.CalculateTreeHashAsync(Path.Combine(@"e:\pithos\" ,fileName), 4*1024*1024 , "sha256").Result;
27
            var treeHash=Signature.CalculateTreeHashAsync(Path.Combine(@"e:\pithos\" ,fileName), 4*1024*1024 , "sha256", 2).Result;
26 28
            var result = client.PutHashMap(account, "pithos", fileName, treeHash).Result;
27 29

  
28 30
            Assert.AreEqual(0,result.Count);

Also available in: Unified diff