Skip to content

Commit a895008

Browse files
committed
Merge pull request #145 from huangpf/vmss
Vmss
2 parents faa71ef + a74c0cc commit a895008

24 files changed

+27527
-1
lines changed

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@
165165
<ItemGroup>
166166
<Compile Include="Common\ComputeTestController.cs" />
167167
<Compile Include="ScenarioTests\AddVhdTests.cs" />
168+
<Compile Include="ScenarioTests\AEMExtensionTests.cs" />
168169
<Compile Include="ScenarioTests\ComputeCloudExceptionTests.cs" />
169170
<Compile Include="ScenarioTests\DiagnosticsExtensionTests.cs" />
170171
<Compile Include="ScenarioTests\DscExtensionTests.cs" />
@@ -226,6 +227,9 @@
226227
<None Include="ScenarioTests\AddVhdTests.ps1">
227228
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
228229
</None>
230+
<None Include="ScenarioTests\AEMExtensionTests.ps1">
231+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
232+
</None>
229233
<None Include="ScenarioTests\ComputeCloudExceptionTests.ps1">
230234
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
231235
</None>
@@ -273,6 +277,18 @@
273277
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AddVhdTests\TestAddVhd.json">
274278
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
275279
</None>
280+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionAdvancedLinux.json">
281+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
282+
</None>
283+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionAdvancedWindows.json">
284+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
285+
</None>
286+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionBasicLinux.json">
287+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
288+
</None>
289+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionBasicWindows.json">
290+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
291+
</None>
276292
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AvailabilitySetTests\TestAvailabilitySet.json">
277293
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
278294
</None>
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
16+
using Xunit;
17+
18+
namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests
19+
{
20+
public class AEMExtensionTests
21+
{
22+
[Fact]
23+
[Trait(Category.AcceptanceType, Category.CheckIn)]
24+
public void TestAEMExtensionBasicWindows()
25+
{
26+
ComputeTestController.NewInstance.RunPsTest("Test-AEMExtensionBasicWindows");
27+
}
28+
29+
[Fact]
30+
[Trait(Category.AcceptanceType, Category.CheckIn)]
31+
public void TestAEMExtensionBasicLinux()
32+
{
33+
ComputeTestController.NewInstance.RunPsTest("Test-AEMExtensionBasicLinux");
34+
}
35+
36+
[Fact]
37+
[Trait(Category.AcceptanceType, Category.CheckIn)]
38+
public void TestAEMExtensionAdvancedWindows()
39+
{
40+
ComputeTestController.NewInstance.RunPsTest("Test-AEMExtensionAdvancedWindows");
41+
}
42+
43+
[Fact]
44+
[Trait(Category.AcceptanceType, Category.CheckIn)]
45+
public void TestAEMExtensionAdvancedLinux()
46+
{
47+
ComputeTestController.NewInstance.RunPsTest("Test-AEMExtensionAdvancedLinux");
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)