12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . ServiceManagement . Common . Models ;
16
15
using Microsoft . WindowsAzure . Commands . ScenarioTest ;
17
16
using Xunit ;
18
17
19
18
namespace Microsoft . Azure . Commands . Compute . Test . ScenarioTests
20
19
{
21
- public class AEMExtensionTests
20
+ public class AEMExtensionTests : ComputeTestRunner
22
21
{
23
- XunitTracingInterceptor _logger ;
24
-
25
22
public AEMExtensionTests ( Xunit . Abstractions . ITestOutputHelper output )
23
+ : base ( output )
26
24
{
27
- _logger = new XunitTracingInterceptor ( output ) ;
28
- XunitTracingInterceptor . AddToContext ( _logger ) ;
29
25
}
30
26
31
27
[ Fact ]
32
28
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
33
29
public void TestAEMExtensionBasicWindowsWAD ( )
34
30
{
35
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionBasicWindowsWAD" ) ;
31
+ TestRunner . RunTestScript ( "Test-AEMExtensionBasicWindowsWAD" ) ;
36
32
}
37
33
38
34
[ Fact ]
39
35
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
40
36
public void TestAEMExtensionBasicWindows ( )
41
37
{
42
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionBasicWindows" ) ;
38
+ TestRunner . RunTestScript ( "Test-AEMExtensionBasicWindows" ) ;
43
39
}
44
40
45
41
[ Fact ]
46
42
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
47
43
public void TestAEMExtensionBasicLinuxWAD ( )
48
44
{
49
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionBasicLinuxWAD" ) ;
45
+ TestRunner . RunTestScript ( "Test-AEMExtensionBasicLinuxWAD" ) ;
50
46
}
51
47
52
48
[ Fact ]
53
49
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
54
50
public void TestAEMExtensionBasicLinux ( )
55
51
{
56
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionBasicLinux" ) ;
52
+ TestRunner . RunTestScript ( "Test-AEMExtensionBasicLinux" ) ;
57
53
}
58
54
59
55
[ Fact ]
60
56
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
61
57
public void TestAEMExtensionAdvancedWindowsWAD ( )
62
58
{
63
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedWindowsWAD" ) ;
59
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedWindowsWAD" ) ;
64
60
}
65
61
66
62
[ Fact ]
67
63
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
68
64
public void TestAEMExtensionAdvancedWindows ( )
69
65
{
70
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedWindows" ) ;
66
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedWindows" ) ;
71
67
}
72
68
73
69
[ Fact ]
74
70
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
75
71
public void TestAEMExtensionAdvancedLinuxWAD ( )
76
72
{
77
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedLinuxWAD" ) ;
73
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedLinuxWAD" ) ;
78
74
}
79
75
80
76
[ Fact ]
81
77
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
82
78
public void TestAEMExtensionAdvancedLinux ( )
83
79
{
84
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedLinux" ) ;
80
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedLinux" ) ;
85
81
}
86
82
87
83
[ Fact ]
88
84
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
89
85
public void TestAEMExtensionAdvancedWindowsMD ( )
90
86
{
91
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedWindowsMD" ) ;
87
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedWindowsMD" ) ;
92
88
}
93
89
94
90
[ Fact ]
95
91
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
96
92
public void TestAEMExtensionAdvancedLinuxMD ( )
97
93
{
98
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedLinuxMD" ) ;
94
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedLinuxMD" ) ;
99
95
}
100
96
101
97
[ Fact ]
102
98
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
103
99
public void TestAEMExtensionAdvancedLinuxMD_ESeries ( )
104
100
{
105
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedLinuxMD_E" ) ;
101
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedLinuxMD_E" ) ;
106
102
}
107
103
108
104
[ Fact ]
109
105
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
110
106
public void TestAEMExtensionAdvancedLinuxMD_DSeries ( )
111
107
{
112
- ComputeTestController . NewInstance . RunPsTest ( _logger , "Test-AEMExtensionAdvancedLinuxMD_D" ) ;
108
+ TestRunner . RunTestScript ( "Test-AEMExtensionAdvancedLinuxMD_D" ) ;
113
109
}
114
110
}
115
111
}
0 commit comments