You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by br...@apache.org on 2013/05/26 06:18:58 UTC

svn commit: r1486394 - in /incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test: csharp/ImporterTests/AbstractAzureImportTest.cs csharp/ImporterTests/AzureImportSDKVersionTest.cs resource/NPANDAY_571/WorkerRole1/pom.test

Author: brett
Date: Sun May 26 06:18:58 2013
New Revision: 1486394

URL: http://svn.apache.org/r1486394
Log:
fix tests on some Azure 1.7 installations

Modified:
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AbstractAzureImportTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
    incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AbstractAzureImportTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AbstractAzureImportTest.cs?rev=1486394&r1=1486393&r2=1486394&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AbstractAzureImportTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AbstractAzureImportTest.cs Sun May 26 06:18:58 2013
@@ -26,9 +26,10 @@ namespace NPanday.ProjectImporter.Import
     {
         public override List<Artifact.Artifact> GetTestArtifacts()
         {
+            // values for Azure SDK 1.6, which is the default
             List<Artifact.Artifact> artifacts = new List<Artifact.Artifact>();
-            artifacts.Add(createArtifact("Microsoft.WindowsAzure.Diagnostics"));
-            artifacts.Add(createArtifact("Microsoft.WindowsAzure.ServiceRuntime"));
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.Diagnostics", "1.0.0.0"));
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.ServiceRuntime", "1.0.0.0"));
             artifacts.Add(createArtifact("Microsoft.WindowsAzure.StorageClient", "1.1.0.0"));
             return artifacts;
         }

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs?rev=1486394&r1=1486393&r2=1486394&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs Sun May 26 06:18:58 2013
@@ -26,6 +26,16 @@ namespace NPanday.ProjectImporter.Import
     [TestFixture]
     public class AzureImportSDKVersionTest : AbstractAzureImportTest
     {
+        public override List<Artifact.Artifact> GetTestArtifacts()
+        {
+            List<Artifact.Artifact> artifacts = new List<Artifact.Artifact>();
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.Configuration", "1.7.0.0"));
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.Diagnostics", "1.7.0.0"));
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.ServiceRuntime", "1.7.0.0"));
+            artifacts.Add(createArtifact("Microsoft.WindowsAzure.StorageClient", "1.7.0.0"));
+            return artifacts;
+        }
+
         public override void CheckFrameworkVersion()
         {
             if (Environment.Version.Major < 4)

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test?rev=1486394&r1=1486393&r2=1486394&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test Sun May 26 06:18:58 2013
@@ -59,8 +59,7 @@
       <groupId>Microsoft.WindowsAzure.ServiceRuntime</groupId>
       <artifactId>Microsoft.WindowsAzure.ServiceRuntime</artifactId>
       <version>1.7.0.0</version>
-      <type>gac_msil</type>
-      <classifier>31bf3856ad364e35</classifier>
+      <type>dotnet-library</type>
     </dependency>
     <dependency>
       <groupId>Microsoft.WindowsAzure.StorageClient</groupId>