Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

run tests using TestData.xml

  • Loading branch information...
commit 989c519c275c8c209cfda52dd7367329ee8dd054 1 parent ff33ff9
@xmbms xmbms authored
Showing with 20 additions and 8 deletions.
  1. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/ClassConfig.cs
  2. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/ConsoleLogger.cs
  3. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/Exceptions.cs
  4. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/FileLogger.cs
  5. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/ILogger.cs
  6. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/Management.Storage.MsTestLib.csproj
  7. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/MessageBuilder.cs
  8. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/MethodConfig.cs
  9. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/Properties/AssemblyInfo.cs
  10. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/Test.cs
  11. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/TestConfig.cs
  12. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/TestHelper.cs
  13. 0  WindowsAzurePowershell/src/{MsTestLib → Management.Storage.MsTestLib}/TestLogger.cs
  14. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Agent.cs
  15. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/AssemblyInitCleanup.cs
  16. +3 −0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/BVT/CLICommonBVT.cs
  17. +7 −2 ...AzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Management.Storage.ScenarioTest.csproj
  18. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/PowerShellAgent.cs
  19. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Properties/AssemblyInfo.cs
  20. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/PsTag.cs
  21. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/StorageObjectType.cs
  22. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/TestData.xml
  23. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Util/CloudBlobUtil.cs
  24. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Util/CloudQueueUtil.cs
  25. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Util/CloudTableUtil.cs
  26. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Util/FileUtil.cs
  27. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/Utility.cs
  28. 0  WindowsAzurePowershell/src/{CLITest → Management.Storage.ScenarioTest}/deploy.cmd
  29. 0  WindowsAzurePowershell/src/{StorageTestLib → Management.Storage.StorageTestLib}/Helpers.cs
  30. +1 −1  ...hell/src/{StorageTestLib → Management.Storage.StorageTestLib}/Management.Storage.StorageTestLib.csproj
  31. 0  ...owsAzurePowershell/src/{StorageTestLib → Management.Storage.StorageTestLib}/Properties/AssemblyInfo.cs
  32. 0  WindowsAzurePowershell/src/{StorageTestLib → Management.Storage.StorageTestLib}/TestConstants.cs
  33. +3 −3 WindowsAzurePowershell/src/WindowsAzurePowershell.sln
  34. +6 −2 build.proj
View
0  WindowsAzurePowershell/src/MsTestLib/ClassConfig.cs → ...l/src/Management.Storage.MsTestLib/ClassConfig.cs
File renamed without changes
View
0  ...owsAzurePowershell/src/MsTestLib/ConsoleLogger.cs → ...src/Management.Storage.MsTestLib/ConsoleLogger.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/Exceptions.cs → ...ll/src/Management.Storage.MsTestLib/Exceptions.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/FileLogger.cs → ...ll/src/Management.Storage.MsTestLib/FileLogger.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/ILogger.cs → ...shell/src/Management.Storage.MsTestLib/ILogger.cs
File renamed without changes
View
0  ...src/MsTestLib/Management.Storage.MsTestLib.csproj → ...age.MsTestLib/Management.Storage.MsTestLib.csproj
File renamed without changes
View
0  ...wsAzurePowershell/src/MsTestLib/MessageBuilder.cs → ...rc/Management.Storage.MsTestLib/MessageBuilder.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/MethodConfig.cs → .../src/Management.Storage.MsTestLib/MethodConfig.cs
File renamed without changes
View
0  ...wershell/src/MsTestLib/Properties/AssemblyInfo.cs → ...ment.Storage.MsTestLib/Properties/AssemblyInfo.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/Test.cs → ...wershell/src/Management.Storage.MsTestLib/Test.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/TestConfig.cs → ...ll/src/Management.Storage.MsTestLib/TestConfig.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/TestHelper.cs → ...ll/src/Management.Storage.MsTestLib/TestHelper.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/MsTestLib/TestLogger.cs → ...ll/src/Management.Storage.MsTestLib/TestLogger.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/Agent.cs → ...hell/src/Management.Storage.ScenarioTest/Agent.cs
File renamed without changes
View
0  ...zurePowershell/src/CLITest/AssemblyInitCleanup.cs → ...ement.Storage.ScenarioTest/AssemblyInitCleanup.cs
File renamed without changes
View
3  ...wsAzurePowershell/src/CLITest/BVT/CLICommonBVT.cs → ...nagement.Storage.ScenarioTest/BVT/CLICommonBVT.cs
@@ -25,6 +25,7 @@
using Microsoft.WindowsAzure.Storage.Table;
using MS.Test.Common.MsTestLib;
using StorageTestLib;
+using Microsoft.WindowsAzure.Management.ScenarioTest.Common;
namespace CLITest.BVT
{
@@ -224,6 +225,8 @@ public void UnitTestCleanup()
[TestMethod]
[TestCategory(Tag.BVT)]
[TestCategory(PsTag.FastEnv)]
+ [TestCategory(Category.All)]
+ [TestCategory(Category.Storage)]
public void NewContainerTest()
{
NewContainerTest(new PowerShellAgent());
View
9 ...rc/CLITest/Management.Storage.ScenarioTest.csproj → ...enarioTest/Management.Storage.ScenarioTest.csproj
@@ -68,18 +68,23 @@
<ItemGroup>
<Content Include="TestData.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ <SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
+ <ProjectReference Include="..\Management.ScenarioTest\Management.ScenarioTest.csproj">
+ <Project>{a3965b66-5a3e-4b8c-9574-28e5958d4828}</Project>
+ <Name>Management.ScenarioTest</Name>
+ </ProjectReference>
<ProjectReference Include="..\Management.Storage\Management.Storage.csproj">
<Project>{08cf7da7-0392-4a19-b79b-e1ff67cdb81a}</Project>
<Name>Management.Storage</Name>
</ProjectReference>
- <ProjectReference Include="..\MsTestLib\Management.Storage.MsTestLib.csproj">
+ <ProjectReference Include="..\Management.Storage.MsTestLib\Management.Storage.MsTestLib.csproj">
<Project>{ce97967b-7479-43b9-9561-776232ac5d47}</Project>
<Name>Management.Storage.MsTestLib</Name>
</ProjectReference>
- <ProjectReference Include="..\StorageTestLib\Management.Storage.StorageTestLib.csproj">
+ <ProjectReference Include="..\Management.Storage.StorageTestLib\Management.Storage.StorageTestLib.csproj">
<Project>{0a513849-2690-4d07-8de7-0ace39645d12}</Project>
<Name>Management.Storage.StorageTestLib</Name>
</ProjectReference>
View
0  ...owsAzurePowershell/src/CLITest/PowerShellAgent.cs → ...anagement.Storage.ScenarioTest/PowerShellAgent.cs
File renamed without changes
View
0  ...Powershell/src/CLITest/Properties/AssemblyInfo.cs → ...t.Storage.ScenarioTest/Properties/AssemblyInfo.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/PsTag.cs → ...hell/src/Management.Storage.ScenarioTest/PsTag.cs
File renamed without changes
View
0  ...sAzurePowershell/src/CLITest/StorageObjectType.cs → ...agement.Storage.ScenarioTest/StorageObjectType.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/TestData.xml → .../src/Management.Storage.ScenarioTest/TestData.xml
File renamed without changes
View
0  ...AzurePowershell/src/CLITest/Util/CloudBlobUtil.cs → ...gement.Storage.ScenarioTest/Util/CloudBlobUtil.cs
File renamed without changes
View
0  ...zurePowershell/src/CLITest/Util/CloudQueueUtil.cs → ...ement.Storage.ScenarioTest/Util/CloudQueueUtil.cs
File renamed without changes
View
0  ...zurePowershell/src/CLITest/Util/CloudTableUtil.cs → ...ement.Storage.ScenarioTest/Util/CloudTableUtil.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/Util/FileUtil.cs → .../Management.Storage.ScenarioTest/Util/FileUtil.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/Utility.cs → ...ll/src/Management.Storage.ScenarioTest/Utility.cs
File renamed without changes
View
0  WindowsAzurePowershell/src/CLITest/deploy.cmd → ...ll/src/Management.Storage.ScenarioTest/deploy.cmd
File renamed without changes
View
0  WindowsAzurePowershell/src/StorageTestLib/Helpers.cs → .../src/Management.Storage.StorageTestLib/Helpers.cs
File renamed without changes
View
2  ...eTestLib/Management.Storage.StorageTestLib.csproj → ...eTestLib/Management.Storage.StorageTestLib.csproj
@@ -46,7 +46,7 @@
<Compile Include="TestConstants.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\MsTestLib\Management.Storage.MsTestLib.csproj">
+ <ProjectReference Include="..\Management.Storage.MsTestLib\Management.Storage.MsTestLib.csproj">
<Project>{ce97967b-7479-43b9-9561-776232ac5d47}</Project>
<Name>Management.Storage.MsTestLib</Name>
</ProjectReference>
View
0  ...ell/src/StorageTestLib/Properties/AssemblyInfo.cs → ...Storage.StorageTestLib/Properties/AssemblyInfo.cs
File renamed without changes
View
0  ...urePowershell/src/StorageTestLib/TestConstants.cs → ...anagement.Storage.StorageTestLib/TestConstants.cs
File renamed without changes
View
6 WindowsAzurePowershell/src/WindowsAzurePowershell.sln
@@ -60,11 +60,11 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Store", "Managem
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Store.Test", "Management.Store.Test\Management.Store.Test.csproj", "{3958B2D7-74CF-44D5-99BA-CF280782F380}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.MsTestLib", "MsTestLib\Management.Storage.MsTestLib.csproj", "{CE97967B-7479-43B9-9561-776232AC5D47}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.MsTestLib", "Management.Storage.MsTestLib\Management.Storage.MsTestLib.csproj", "{CE97967B-7479-43B9-9561-776232AC5D47}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.StorageTestLib", "StorageTestLib\Management.Storage.StorageTestLib.csproj", "{0A513849-2690-4D07-8DE7-0ACE39645D12}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.StorageTestLib", "Management.Storage.StorageTestLib\Management.Storage.StorageTestLib.csproj", "{0A513849-2690-4D07-8DE7-0ACE39645D12}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.ScenarioTest", "CLITest\Management.Storage.ScenarioTest.csproj", "{4BC0E3D3-6EDD-43AA-8F15-DCFED8ACC93D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Management.Storage.ScenarioTest", "Management.Storage.ScenarioTest\Management.Storage.ScenarioTest.csproj", "{4BC0E3D3-6EDD-43AA-8F15-DCFED8ACC93D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
View
8 build.proj
@@ -23,6 +23,7 @@
<TestSettings>.\WindowsAzurePowershell\src\Local.testsettings</TestSettings>
<ScenarioTestDebug>.\WindowsAzurePowershell\src\Management.ScenarioTest\bin\Debug\Microsoft.WindowsAzure.Management.ScenarioTest.dll</ScenarioTestDebug>
+ <StorageScenarioTestDebug>WindowsAzurePowershell\src\Management.Storage.ScenarioTest\bin\Debug\CLITest.dll</StorageScenarioTestDebug>
<ManagementTestDebug>.\WindowsAzurePowershell\src\Management.Test\bin\Debug\Microsoft.WindowsAzure.Management.Test.dll</ManagementTestDebug>
<CloudServiceTestDebug>.\WindowsAzurePowershell\src\Management.CloudService.Test\bin\Debug\Microsoft.WindowsAzure.Management.CloudService.Test.dll</CloudServiceTestDebug>
<ServiceBusTestDebug>.\WindowsAzurePowershell\src\Management.ServiceBus.Test\bin\Debug\Microsoft.WindowsAzure.Management.ServiceBus.Test.dll</ServiceBusTestDebug>
@@ -237,14 +238,17 @@
</Target>
<!-- Run the scenario tests -->
- <Target Name="ScenarioTest" DependsOnTargets="Clean;BuildDebug">
+ <Target Name="ScenarioTest" DependsOnTargets="">
<Message Importance="high" Text="Running scenario tests..." />
<Message Importance="high" Text="You are required to have installed a version of Visual Studio with support for MSTest (and MSTest on your path)." />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<Message Importance="high" Text="Scenario tests:" />
- <Exec
+ <!--<Exec
Command="MSTest.exe /testcontainer:$(ScenarioTestDebug) /testsettings:$(TestSettings) /category:$(ScenarioTestFilter) /resultsfile:$(TestOutputDirectory)\Debug.trx"
+ ContinueOnError="false" />-->
+ <Exec
+ Command="MSTest.exe /testcontainer:$(StorageScenarioTestDebug) /testsettings:$(TestSettings) /category:$(ScenarioTestFilter) /resultsfile:$(TestOutputDirectory)\StorageScenarioDebug.trx"
ContinueOnError="false" />
</Target>
Please sign in to comment.
Something went wrong with that request. Please try again.