Added nunit step
authorPanagiotis Kanavos <pkanavos@gmail.com>
Tue, 14 Jun 2011 19:34:01 +0000 (22:34 +0300)
committerPanagiotis Kanavos <pkanavos@gmail.com>
Tue, 14 Jun 2011 19:35:29 +0000 (22:35 +0300)
14 files changed:
trunk/Libraries/Json40r2/Source/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
trunk/Libraries/ParallelExtensionsExtras/ParallelExtensionsExtras.csproj
trunk/Pithos.Client.Test/Pithos.Client.Test.csproj
trunk/Pithos.Client/Pithos.Client.csproj
trunk/Pithos.Core.Test/Pithos.Core.Test.csproj
trunk/Pithos.Core/Pithos.Core.csproj
trunk/Pithos.Interfaces/Pithos.Interfaces.csproj
trunk/Pithos.Network.Test/NetworkOpsTest.cs
trunk/Pithos.Network.Test/Pithos.Network.Test.csproj
trunk/Pithos.Network.Test/devguide.pdf [new file with mode: 0644]
trunk/Pithos.Network/Pithos.Network.csproj
trunk/Pithos.ShellExtensions.Test/Pithos.ShellExtensions.Test.csproj
trunk/Pithos.ShellExtensions/Pithos.ShellExtensions.csproj
trunk/Pithos.sln

index bff73a7..faee4e2 100644 (file)
     <DocumentationFile>bin\Release\Net\Newtonsoft.Json.xml</DocumentationFile>
     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>CODE_ANALYSIS;DEBUG;TRACE</DefineConstants>
+    <DocumentationFile>bin\Debug\Net\Newtonsoft.Json.xml</DocumentationFile>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <RunCodeAnalysis>true</RunCodeAnalysis>
+    <CodeAnalysisLogFile>bin\Debug\Net\Newtonsoft.Json.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>Newtonsoft.Json.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core">
index b2bf97d..8b8df90 100644 (file)
     <DocumentationFile>
     </DocumentationFile>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\ParallelExtensionsExtras.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core" />
index 8ab8e13..5e0ea53 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Client.Test.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework">
       <HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
index 7b55aa2..b7e66a0 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|x86'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\x86\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Client.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.ComponentModel.Composition" />
index 7c42d44..5e1e039 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Core.Test.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
       <HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
index 62e52ed..79d9e5b 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Core.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.ComponentModel.Composition" />
index 545ca85..998d056 100644 (file)
   <PropertyGroup>
     <AssemblyOriginatorKeyFile>pithos.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Interfaces.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.Core" />
index db21f35..18f9797 100644 (file)
@@ -43,8 +43,8 @@ namespace Pithos.Network.Test
         [Test]
         public void TestListObjects()
         {
-            ICloudClient client = new CloudFilesClient();
-            client.Authenticate("", "");
+            ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+            client.Authenticate(_userName, _apiKey);
 
             IList<ObjectInfo> objects=client.ListObjects("PITHOS");
             Assert.IsTrue(objects.Count()>=1);
@@ -53,8 +53,8 @@ namespace Pithos.Network.Test
         [Test]
         public void TestContainerExists()
         {
-            ICloudClient client = new CloudFilesClient();
-            client.Authenticate("", "");
+            ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+            client.Authenticate(_userName, _apiKey);
 
             bool dnzExists=client.ContainerExists("DotNetZone");
             bool pithosExists = client.ContainerExists("PITHOS");
@@ -67,8 +67,8 @@ namespace Pithos.Network.Test
         [Test]
         public void TestGetContainerInfo()
         {
-            ICloudClient client = new CloudFilesClient();
-            client.Authenticate("", "");
+            ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+            client.Authenticate(_userName, _apiKey);
 
             var dnzInfo =client.GetContainerInfo("DotNetZone");
             Assert.AreNotEqual(ContainerInfo.Empty, dnzInfo);
@@ -104,16 +104,16 @@ namespace Pithos.Network.Test
         {
             Assert.DoesNotThrow(() =>
             {
-                ICloudClient client = new CloudFilesClient();
-                client.Authenticate("", "");
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+                client.Authenticate(_userName, _apiKey);
 
                 client.CreateContainer("Shares");
                 Assert.IsTrue(client.ContainerExists("Shares"));
                 using (var stream = client.GetObject("DotNetZone", "OData and WCF Data Services.pptx"))
-                using(var file=File.Create(@"e:\test.pptx",4096,FileOptions.DeleteOnClose))
+                using(var file=File.Create(@"test.pptx",4096,FileOptions.DeleteOnClose))
                 {
                     stream.CopyTo(file);
-                    Assert.IsTrue(File.Exists(@"e:\test.pptx"));
+                    Assert.IsTrue(File.Exists(@"test.pptx"));
                 }
                 
             });
@@ -125,13 +125,13 @@ namespace Pithos.Network.Test
         {
             Assert.DoesNotThrow(() =>
             {
-                ICloudClient client = new CloudFilesClient();
-                client.Authenticate("", "");
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+                client.Authenticate(_userName, _apiKey);
 
                 client.CreateContainer("Shares");
                 Assert.IsTrue(client.ContainerExists("Shares"));                
 
-                var filePath = @"e:\DeveloperGuide.pdf";
+                var filePath = "devguide.pdf";
                 FileInfo info=new FileInfo(filePath);
                 
                 using (var file = File.OpenRead(filePath))
@@ -148,10 +148,22 @@ namespace Pithos.Network.Test
         {
             Assert.DoesNotThrow(() =>
             {
-                ICloudClient client = new CloudFilesClient();
-                client.Authenticate("", "");
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+                client.Authenticate(_userName, _apiKey);
+
+                client.CreateContainer("Shares");
+                Assert.IsTrue(client.ContainerExists("Shares"));
 
-                var filePath = "DeveloperGuide.pdf";
+                var filePath = "devguide.pdf";
+                FileInfo info = new FileInfo(filePath);
+
+                using (var file = File.OpenRead(filePath))
+                {
+                    client.PutObject("Shares", info.Name, file, info.Length);
+                }
+
+
+                
                 var meta=client.GetObjectInfo("Shares", filePath);
                 Assert.IsNotEmpty(meta.Hash);
                 Assert.AreEqual(meta.Name,filePath);
@@ -165,13 +177,13 @@ namespace Pithos.Network.Test
         {
             Assert.DoesNotThrow(() =>
             {
-                ICloudClient client = new CloudFilesClient();
-                client.Authenticate("", "");
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+                client.Authenticate(_userName, _apiKey);
 
                 client.CreateContainer("Shares");
                 Assert.IsTrue(client.ContainerExists("Shares"),"Container Exists");                
 
-                var filePath = @"e:\DeveloperGuide.pdf";
+                var filePath = "devguide.pdf";
                 FileInfo info=new FileInfo(filePath);
                 
                 using (var file = File.OpenRead(filePath))
@@ -194,8 +206,8 @@ namespace Pithos.Network.Test
         [Test]
         public void TestFilesWithSpaces()
         {
-            ICloudClient client = new CloudFilesClient();
-            client.Authenticate("", "");
+            ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+            client.Authenticate(_userName, _apiKey);
             
             var testName = "Name with spaces.txt";
             
@@ -225,13 +237,13 @@ namespace Pithos.Network.Test
         {
             Assert.DoesNotThrow(() =>
             {
-                ICloudClient client = new CloudFilesClient();
-                client.Authenticate("", "");
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
+                client.Authenticate(_userName, _apiKey);
 
                 client.CreateContainer("Shares");
                 Assert.IsTrue(client.ContainerExists("Shares"),"Container Exists");                
 
-                var filePath = @"e:\DeveloperGuide.pdf";
+                var filePath = "devguide.pdf";
                 FileInfo info=new FileInfo(filePath);
                 
                 using (var file = File.OpenRead(filePath))
@@ -261,13 +273,13 @@ namespace Pithos.Network.Test
         {
             Assert.Catch<ArgumentNullException>(() =>
             {
-                ICloudClient client = new CloudFilesClient();                
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };                
                 client.Authenticate("someUser",null);
             });
 
             Assert.Catch<ArgumentNullException>(() =>
             {
-                ICloudClient client = new CloudFilesClient();
+                ICloudClient client = new CloudFilesClient { UsePithos = _usePithos };
                 client.Authenticate(null,"someKey");
             });
 
index 93bb985..d9b2d72 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Network.Test.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
       <HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
     </ProjectReference>
   </ItemGroup>
   <ItemGroup>
+    <None Include="devguide.pdf">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
     <None Include="packages.config" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <PropertyGroup>
+    <PostBuildEvent>nunit-console.exe $(TargetPath)</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.
   <Target Name="BeforeBuild">
diff --git a/trunk/Pithos.Network.Test/devguide.pdf b/trunk/Pithos.Network.Test/devguide.pdf
new file mode 100644 (file)
index 0000000..e7237a3
Binary files /dev/null and b/trunk/Pithos.Network.Test/devguide.pdf differ
index 55ca6d9..45b19f6 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.Network.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="Hammock">
       <HintPath>..\packages\Hammock.1.2.3\lib\net40\Hammock.dll</HintPath>
index 403b5e9..50ab814 100644 (file)
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.ShellExtensions.Test.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+    <CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="nunit.framework, Version=2.5.10.11092, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
       <HintPath>..\packages\NUnit.2.5.10.11092\lib\nunit.framework.dll</HintPath>
index 09e9787..cfed32f 100644 (file)
   <PropertyGroup>
     <AssemblyOriginatorKeyFile>pithos.snk</AssemblyOriginatorKeyFile>
   </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Test|AnyCPU'">
+    <DebugSymbols>true</DebugSymbols>
+    <OutputPath>bin\Test\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <RegisterForComInterop>true</RegisterForComInterop>
+    <DebugType>full</DebugType>
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <CodeAnalysisLogFile>bin\Debug\Pithos.ShellExtensions.dll.CodeAnalysisLog.xml</CodeAnalysisLogFile>
+    <CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
+    <CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
+    <ErrorReport>prompt</ErrorReport>
+    <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+    <CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
+    <CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
+    <CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
+    <CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
+  </PropertyGroup>
   <ItemGroup>
     <Reference Include="System" />
     <Reference Include="System.ComponentModel.Composition" />
index bc6d63d..13096b6 100644 (file)
@@ -38,28 +38,37 @@ Global
                Release|Any CPU = Release|Any CPU
                Release|Mixed Platforms = Release|Mixed Platforms
                Release|x86 = Release|x86
+               Test|Any CPU = Test|Any CPU
+               Test|Mixed Platforms = Test|Mixed Platforms
+               Test|x86 = Test|x86
        EndGlobalSection
        GlobalSection(ProjectConfigurationPlatforms) = postSolution
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
-               {240B432F-1030-4623-BCC3-FF351D6C1B63}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Debug|x86.ActiveCfg = Debug|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Release|Any CPU.Build.0 = Release|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {240B432F-1030-4623-BCC3-FF351D6C1B63}.Release|x86.ActiveCfg = Release|Any CPU
+               {240B432F-1030-4623-BCC3-FF351D6C1B63}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {240B432F-1030-4623-BCC3-FF351D6C1B63}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {240B432F-1030-4623-BCC3-FF351D6C1B63}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {240B432F-1030-4623-BCC3-FF351D6C1B63}.Test|x86.ActiveCfg = Test|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
-               {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Debug|x86.ActiveCfg = Debug|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Release|Any CPU.Build.0 = Release|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Release|x86.ActiveCfg = Release|Any CPU
+               {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {2CFE2DF1-20AE-47E2-B1BB-36B974600BE1}.Test|x86.ActiveCfg = Test|Any CPU
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Debug|Any CPU.ActiveCfg = Debug|x86
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Debug|Mixed Platforms.Build.0 = Debug|x86
@@ -70,6 +79,11 @@ Global
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Release|Mixed Platforms.Build.0 = Release|x86
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Release|x86.ActiveCfg = Release|x86
                {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Release|x86.Build.0 = Release|x86
+               {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Test|Any CPU.ActiveCfg = Test|x86
+               {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Test|Mixed Platforms.ActiveCfg = Test|x86
+               {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Test|Mixed Platforms.Build.0 = Test|x86
+               {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Test|x86.ActiveCfg = Test|x86
+               {5AC90E5E-60C6-4F53-9444-6088BD7BC929}.Test|x86.Build.0 = Test|x86
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -80,6 +94,11 @@ Global
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Release|x86.ActiveCfg = Release|Any CPU
+               {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Test|Any CPU.Build.0 = Test|Any CPU
+               {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {7EEFF32F-CCF8-436A-9E0B-F40434C09AF4}.Test|x86.ActiveCfg = Test|Any CPU
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -90,6 +109,11 @@ Global
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Release|x86.ActiveCfg = Release|Any CPU
+               {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Test|Any CPU.Build.0 = Test|Any CPU
+               {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {822F885B-83E8-4A9A-B02E-0FEAE444D960}.Test|x86.ActiveCfg = Test|Any CPU
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -100,6 +124,11 @@ Global
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Release|x86.ActiveCfg = Release|Any CPU
+               {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Test|Any CPU.Build.0 = Test|Any CPU
+               {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {C45218F8-09E7-4F57-85BC-5D8D2AC736A3}.Test|x86.ActiveCfg = Test|Any CPU
                {142AF135-DF30-4563-B0AC-B604235AE874}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {142AF135-DF30-4563-B0AC-B604235AE874}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {142AF135-DF30-4563-B0AC-B604235AE874}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -110,6 +139,11 @@ Global
                {142AF135-DF30-4563-B0AC-B604235AE874}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {142AF135-DF30-4563-B0AC-B604235AE874}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {142AF135-DF30-4563-B0AC-B604235AE874}.Release|x86.ActiveCfg = Release|Any CPU
+               {142AF135-DF30-4563-B0AC-B604235AE874}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {142AF135-DF30-4563-B0AC-B604235AE874}.Test|Any CPU.Build.0 = Test|Any CPU
+               {142AF135-DF30-4563-B0AC-B604235AE874}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {142AF135-DF30-4563-B0AC-B604235AE874}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {142AF135-DF30-4563-B0AC-B604235AE874}.Test|x86.ActiveCfg = Test|Any CPU
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -120,6 +154,11 @@ Global
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Release|x86.ActiveCfg = Release|Any CPU
+               {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Test|Any CPU.Build.0 = Test|Any CPU
+               {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {E027200B-C26A-4877-BFD9-1A18CF5DF2F4}.Test|x86.ActiveCfg = Test|Any CPU
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -130,6 +169,11 @@ Global
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Release|x86.ActiveCfg = Release|Any CPU
+               {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Test|Any CPU.Build.0 = Test|Any CPU
+               {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {C8E2BC8B-C7F1-4222-855C-4B04A57FFDFD}.Test|x86.ActiveCfg = Test|Any CPU
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -140,6 +184,11 @@ Global
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Release|x86.ActiveCfg = Release|Any CPU
+               {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Test|Any CPU.Build.0 = Test|Any CPU
+               {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {F9AF3E97-BCB7-46B7-8014-7FC858AEE9BA}.Test|x86.ActiveCfg = Test|Any CPU
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
@@ -150,6 +199,11 @@ Global
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Release|Mixed Platforms.Build.0 = Release|Any CPU
                {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Release|x86.ActiveCfg = Release|Any CPU
+               {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Test|Any CPU.ActiveCfg = Test|Any CPU
+               {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Test|Any CPU.Build.0 = Test|Any CPU
+               {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Test|Mixed Platforms.ActiveCfg = Test|Any CPU
+               {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Test|Mixed Platforms.Build.0 = Test|Any CPU
+               {A9AE40FF-1A21-414A-9FE7-3BE13644CC6D}.Test|x86.ActiveCfg = Test|Any CPU
        EndGlobalSection
        GlobalSection(SolutionProperties) = preSolution
                HideSolutionNode = FALSE