Skip to content

Commit

Permalink
Add tests for additional Network api versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed May 25, 2016
1 parent 4268976 commit 1d34f9e
Show file tree
Hide file tree
Showing 6 changed files with 22,139 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,19 @@ public static void Dns_2016_04_01()
}

[Fact]
public static void Network()
public static void Network_2015_05_01_preview()
{
RunSwaggerTest("Network", "2015-05-01-preview", "network.json");
}

[Fact]
public static void Network_2015_06_15()
{
RunSwaggerTest("Network", "2015-06-15", "network.json");
}

[Fact]
public static void Network_2016_03_30()
{
RunSwaggerTest("Network", "2016-03-30", "network.json");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@
<Content Include="Expected\Compute\2015-06-15\Microsoft.Compute.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Expected\Network\2015-05-01-preview\Microsoft.Network.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Expected\Network\2015-06-15\Microsoft.Network.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="packages.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand All @@ -135,7 +141,7 @@
<Content Include="Swagger\Compute\2016-03-30\compute.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Swagger\Network\2016-03-30\network.json">
<Content Include="Swagger\Network\2015-05-01-preview\network.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Swagger\Web\2015-08-01\web.json">
Expand All @@ -159,6 +165,12 @@
<Content Include="Swagger\Compute\2015-06-15\compute.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Swagger\Network\2015-06-15\network.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Swagger\Network\2016-03-30\network.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Modelers\Swagger.Tests\AutoRest.Modeler.Swagger.Tests.csproj">
Expand Down
Loading

0 comments on commit 1d34f9e

Please sign in to comment.