removed nunit command line. Causes hangs
authorPanagiotis Kanavos <pkanavos@gmail.com>
Tue, 14 Jun 2011 20:07:39 +0000 (23:07 +0300)
committerPanagiotis Kanavos <pkanavos@gmail.com>
Tue, 14 Jun 2011 20:07:39 +0000 (23:07 +0300)
trunk/Pithos.Core.Test/Pithos.Core.Test.csproj
trunk/Pithos.Network.Test/ChecksumTest.cs
trunk/Pithos.Network.Test/Pithos.Network.Test.csproj

index e78797f..12d1868 100644 (file)
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <PropertyGroup>
-    <PostBuildEvent>nunit-console.exe "$(TargetPath)"</PostBuildEvent>
+    <PostBuildEvent>
+    </PostBuildEvent>
   </PropertyGroup>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.
index 42030f3..2e5ecbd 100644 (file)
@@ -13,12 +13,17 @@ namespace Pithos.Network.Test
     [TestFixture]
     class ChecksumTest
     {
+
+        private string _apiKey = "9d3cb7b231e96f72ebe96af1c6cd5112";
+        private string _userName = "pkanavos";
+        private bool _usePithos = false;
+
         private ICloudClient client;
         [SetUp]
         public void Setup()
         {
             client = new CloudFilesClient();
-            client.Authenticate("", "");
+            client.Authenticate(_userName, _apiKey);
             
         }
 
@@ -28,7 +33,7 @@ namespace Pithos.Network.Test
             Assert.DoesNotThrow(() =>
             {
 
-                var filePath = @"e:\DeveloperGuide.pdf";
+                var filePath = "devguide.pdf";
                 var info=new FileInfo(filePath);
 
                 using (var file = File.OpenRead(filePath))
index 898dd2d..70e4f1f 100644 (file)
@@ -85,7 +85,8 @@
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <PropertyGroup>
-    <PostBuildEvent>nunit-console.exe "$(TargetPath)"</PostBuildEvent>
+    <PostBuildEvent>
+    </PostBuildEvent>
   </PropertyGroup>
   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
        Other similar extension points exist, see Microsoft.Common.targets.