@@ -17,20 +17,111 @@ namespace Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests
1717 using Microsoft . WindowsAzure . Commands . ScenarioTest ;
1818 using Xunit ;
1919
20- public class EndpointTests : WatmV2TestsBase
20+ public class EndpointTests
2121 {
2222 [ Fact ]
2323 [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
2424 public void TestAddEndpoint ( )
2525 {
26- this . RunPowerShellTest ( "Test-AddEndpoint" ) ;
26+ TestController . NewInstance . RunPowerShellTest ( "Test-AddEndpoint" ) ;
2727 }
2828
2929 [ Fact ]
3030 [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
3131 public void TestDeleteEndpoint ( )
3232 {
33- this . RunPowerShellTest ( "Test-DeleteEndpoint" ) ;
33+ TestController . NewInstance . RunPowerShellTest ( "Test-DeleteEndpoint" ) ;
34+ }
35+
36+ [ Fact ]
37+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
38+ public void TestEndpointCrud ( )
39+ {
40+ TestController . NewInstance . RunPowerShellTest ( "Test-EndpointCrud" ) ;
41+ }
42+
43+ [ Fact ]
44+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
45+ public void TestEndpointCrudPiping ( )
46+ {
47+ TestController . NewInstance . RunPowerShellTest ( "Test-EndpointCrudPiping" ) ;
48+ }
49+
50+ [ Fact ]
51+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
52+ public void TestCreateExistingEndpoint ( )
53+ {
54+ TestController . NewInstance . RunPowerShellTest ( "Test-CreateExistingEndpoint" ) ;
55+ }
56+
57+ [ Fact ]
58+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
59+ public void TestCreateExistingEndpointFromNonExistingProfile ( )
60+ {
61+ TestController . NewInstance . RunPowerShellTest ( "Test-CreateExistingEndpointFromNonExistingProfile" ) ;
62+ }
63+
64+ [ Fact ]
65+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
66+ public void TestRemoveExistingEndpointFromNonExistingProfile ( )
67+ {
68+ TestController . NewInstance . RunPowerShellTest ( "Test-RemoveExistingEndpointFromNonExistingProfile" ) ;
69+ }
70+
71+ [ Fact ]
72+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
73+ public void TestGetExistingEndpointFromNonExistingProfile ( )
74+ {
75+ TestController . NewInstance . RunPowerShellTest ( "Test-GetExistingEndpointFromNonExistingProfile" ) ;
76+ }
77+
78+ [ Fact ]
79+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
80+ public void TestRemoveNonExistingEndpointFromProfile ( )
81+ {
82+ TestController . NewInstance . RunPowerShellTest ( "Test-RemoveNonExistingEndpointFromProfile" ) ;
83+ }
84+
85+ [ Fact ( Skip = "Bug" ) ]
86+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
87+ public void TestEnableEndpoint ( )
88+ {
89+ TestController . NewInstance . RunPowerShellTest ( "Test-EnableEndpoint" ) ;
90+ }
91+
92+ [ Fact ( Skip = "Bug" ) ]
93+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
94+ public void TestDisableEndpoint ( )
95+ {
96+ TestController . NewInstance . RunPowerShellTest ( "Test-DisableEndpoint" ) ;
97+ }
98+
99+ [ Fact ( Skip = "Bug" ) ]
100+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
101+ public void TestEnableEndpointUsingPiping ( )
102+ {
103+ TestController . NewInstance . RunPowerShellTest ( "Test-EnableEndpointUsingPiping" ) ;
104+ }
105+
106+ [ Fact ( Skip = "Bug" ) ]
107+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
108+ public void TestDisableEndpointUsingPiping ( )
109+ {
110+ TestController . NewInstance . RunPowerShellTest ( "Test-DisableEndpointUsingPiping" ) ;
111+ }
112+
113+ [ Fact ]
114+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
115+ public void TestEnableNonExistingEndpoint ( )
116+ {
117+ TestController . NewInstance . RunPowerShellTest ( "Test-EnableNonExistingEndpoint" ) ;
118+ }
119+
120+ [ Fact ]
121+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
122+ public void TestDisableNonExistingEndpoint ( )
123+ {
124+ TestController . NewInstance . RunPowerShellTest ( "Test-DisableNonExistingEndpoint" ) ;
34125 }
35126 }
36127}
0 commit comments