File tree Expand file tree Collapse file tree 15 files changed +29
-65
lines changed
src/Automation/Automation.Test/ScenarioTests Expand file tree Collapse file tree 15 files changed +29
-65
lines changed Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
16
15
using Microsoft . WindowsAzure . Commands . ScenarioTest ;
17
16
using Xunit ;
18
17
Original file line number Diff line number Diff line change 1
- using System ;
2
- using System . Collections . Generic ;
3
- using System . Linq ;
4
- using System . Text ;
5
- using System . Threading . Tasks ;
6
- using Microsoft . Azure . Commands . TestFx ;
7
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
1
+ using Microsoft . Azure . Commands . TestFx ;
8
2
using Xunit . Abstractions ;
9
3
10
- namespace Microsoft . Azure . Commands . Network . Test . ScenarioTests
4
+ namespace Commands . Automation . Test
11
5
{
12
6
public class AutomationTestRunner
13
7
{
14
8
protected readonly ITestRunner TestRunner ;
15
9
16
10
protected AutomationTestRunner ( ITestOutputHelper output )
17
11
{
18
- TestRunner = TestFx . TestManager . CreateInstance ( output )
12
+ TestRunner = TestManager . CreateInstance ( output )
19
13
. WithNewPsScriptFilename ( $ "{ GetType ( ) . Name } .ps1")
20
14
. WithProjectSubfolderForTests ( "ScenarioTests" )
21
15
. WithCommonPsScripts ( new [ ]
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
16
15
using Microsoft . WindowsAzure . Commands . ScenarioTest ;
17
16
using Xunit ;
18
17
19
- namespace Microsoft . Azure . Commands . Automation . Test
18
+ namespace Commands . Automation . Test
20
19
{
21
20
public class AutomationTests : AutomationTestRunner
22
21
{
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
15
17
16
18
namespace Commands . Automation . Test
17
19
{
18
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class CertificateTests : AutomationTestRunner
23
21
{
24
22
public CertificateTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
15
17
16
18
namespace Commands . Automation . Test
17
19
{
18
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class ConnectionTests : AutomationTestRunner
23
21
{
24
22
public ConnectionTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . Azure . ServiceManagement . Common . Models ;
20
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
21
- using Xunit ;
22
-
23
20
public class CredentialTests : AutomationTestRunner
24
21
{
25
22
public CredentialTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class HybridWorkerGroupTests : AutomationTestRunner
23
21
{
24
22
public HybridWorkerGroupTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class JobScheduleTests : AutomationTestRunner
23
21
{
24
22
public JobScheduleTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class ModuleTests : AutomationTestRunner
23
21
{
24
22
public ModuleTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using System . IO ;
17
+ using Xunit ;
16
18
17
19
namespace Commands . Automation . Test
18
20
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using System . IO ;
21
- using Xunit ;
22
-
23
21
public class RunbookJobTests : AutomationTestRunner
24
22
{
25
23
public RunbookJobTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . Azure . ServiceManagement . Common . Models ;
20
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
21
- using Xunit ;
22
-
23
20
public class ScheduleTests : AutomationTestRunner
24
21
{
25
- public XunitTracingInterceptor logger ;
26
-
27
22
public ScheduleTests ( Xunit . Abstractions . ITestOutputHelper output )
28
23
: base ( output )
29
24
{
Original file line number Diff line number Diff line change 24
24
are recorded. See example in SourceControlTests.ps1 where $testReposInfo is defined.
25
25
*/
26
26
27
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
27
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
28
+ using Xunit ;
28
29
29
30
namespace Commands . Automation . Test
30
31
{
31
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
32
- using Xunit ;
33
-
34
32
public class SourceControlTests : AutomationTestRunner
35
33
{
36
34
public SourceControlTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class UpdateManagementTests : AutomationTestRunner
23
21
{
24
22
public UpdateManagementTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class VariableTests : AutomationTestRunner
23
21
{
24
22
public VariableTests ( Xunit . Abstractions . ITestOutputHelper output )
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using Microsoft . Azure . Commands . Network . Test . ScenarioTests ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
+ using Xunit ;
16
17
17
18
namespace Commands . Automation . Test
18
19
{
19
- using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
- using Xunit ;
21
-
22
20
public class WebhookTests : AutomationTestRunner
23
21
{
24
22
public WebhookTests ( Xunit . Abstractions . ITestOutputHelper output )
You can’t perform that action at this time.
0 commit comments