Skip to content

Commit 332bada

Browse files
author
Hovsep
committed
Merge pull request #1821 from MSSedusch/dev
Add commandlets for installing, removing, getting and testing the Azu…
2 parents c2b149e + bdb8ff5 commit 332bada

23 files changed

+27526
-0
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" />
@@ -225,6 +226,9 @@
225226
<None Include="ScenarioTests\AddVhdTests.ps1">
226227
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
227228
</None>
229+
<None Include="ScenarioTests\AEMExtensionTests.ps1">
230+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
231+
</None>
228232
<None Include="ScenarioTests\ComputeCloudExceptionTests.ps1">
229233
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
230234
</None>
@@ -269,6 +273,18 @@
269273
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AddVhdTests\TestAddVhd.json">
270274
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
271275
</None>
276+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionAdvancedLinux.json">
277+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
278+
</None>
279+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionAdvancedWindows.json">
280+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
281+
</None>
282+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionBasicLinux.json">
283+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
284+
</None>
285+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AEMExtensionTests\TestAEMExtensionBasicWindows.json">
286+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
287+
</None>
272288
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.AvailabilitySetTests\TestAvailabilitySet.json">
273289
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
274290
</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)