File tree Expand file tree Collapse file tree 13 files changed +91
-16
lines changed
src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/ScenarioTests Expand file tree Collapse file tree 13 files changed +91
-16
lines changed Original file line number Diff line number Diff line change 13
13
// ----------------------------------------------------------------------------------
14
14
15
15
using Microsoft . WindowsAzure . Commands . ScenarioTest ;
16
- using System ;
17
- using System . Collections . Generic ;
18
- using System . Configuration ;
19
- using System . Linq ;
20
- using System . Text ;
21
- using System . Threading . Tasks ;
22
16
using Xunit ;
23
17
24
18
namespace Microsoft . Azure . Commands . AzureBackup . Test . ScenarioTests
Original file line number Diff line number Diff line change @@ -20,18 +20,21 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
20
20
public class AzureBackupItemTestCases : AzureBackupTestsBase
21
21
{
22
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
23
24
public void ListAzureBackupItemTests ( )
24
25
{
25
26
this . RunPowerShellTest ( "Test-GetAzureBackupItemTests" ) ;
26
27
}
27
28
28
29
[ Fact ]
30
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
29
31
public void EnableAzureBackupProtectionTest ( )
30
32
{
31
33
this . RunPowerShellTest ( "Test-EnableAzureBackupProtection" ) ;
32
34
}
33
35
34
36
[ Fact ]
37
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
35
38
public void DisableAzureBackupProtectionTest ( )
36
39
{
37
40
this . RunPowerShellTest ( "Test-DisableAzureBackupProtection" ) ;
Original file line number Diff line number Diff line change 1
- $ResourceGroupName = " backuprg"
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
+ $ResourceGroupName = " backuprg"
2
16
$ResourceName = " backuprn"
3
17
$ContainerName = " iaasvmcontainer;hydrarecordvm;hydrarecordvm"
4
18
$ContainerType = " IaasVMContainer"
Original file line number Diff line number Diff line change @@ -21,12 +21,14 @@ public class AzureBackupJobTests : AzureBackupTestsBase
21
21
{
22
22
23
23
[ Fact ]
24
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
24
25
public void GetAzureRMBackupJobTests ( )
25
26
{
26
27
this . RunPowerShellTest ( "Test-GetAzureRMBackupJob" ) ;
27
28
}
28
29
29
30
[ Fact ]
31
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
30
32
public void StopAzureRMBackupJobTests ( )
31
33
{
32
34
this . RunPowerShellTest ( "Test-StopAzureRMBackupJob" ) ;
Original file line number Diff line number Diff line change 1
- $ResourceGroupName = " backuprg"
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
+ $ResourceGroupName = " backuprg"
2
16
$ResourceName = " backuprn"
3
17
$ContainerName = " iaasvmcontainer;hydrarecordvm;hydrarecordvm"
4
18
$ContainerType = " IaasVMContainer"
Original file line number Diff line number Diff line change @@ -20,30 +20,35 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
20
20
public class AzureBackupPolicyTests : AzureBackupTestsBase
21
21
{
22
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
23
24
public void ListProtectionPolicyTests ( )
24
25
{
25
26
this . RunPowerShellTest ( "Test-GetAzureBackupProtectionPolicyTests" ) ;
26
27
}
27
28
28
29
[ Fact ]
30
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
29
31
public void NewProtectionPolicyTests ( )
30
32
{
31
33
this . RunPowerShellTest ( "Test-NewAzureBackupProtectionPolicyTests" ) ;
32
34
}
33
35
34
36
[ Fact ]
37
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
35
38
public void ListProtectionPolicyByNameTests ( )
36
39
{
37
40
this . RunPowerShellTest ( "Test-GetAzureBackupProtectionPolicyByNameTests" ) ;
38
41
}
39
42
40
43
[ Fact ]
44
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
41
45
public void SetProtectionPolicyTests ( )
42
46
{
43
47
this . RunPowerShellTest ( "Test-SetAzureBackupProtectionPolicyTests" ) ;
44
48
}
45
49
46
50
[ Fact ]
51
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
47
52
public void RemoveProtectionPolicyTests ( )
48
53
{
49
54
this . RunPowerShellTest ( "Test-RemoveAzureBackupProtectionPolicyTests" ) ;
Original file line number Diff line number Diff line change 12
12
// limitations under the License.
13
13
// ----------------------------------------------------------------------------------
14
14
15
- using System ;
16
- using System . Collections . Generic ;
17
- using System . Linq ;
18
- using System . Text ;
19
- using System . Threading . Tasks ;
15
+ using Microsoft . WindowsAzure . Commands . ScenarioTest ;
20
16
using Xunit ;
21
17
22
18
namespace Microsoft . Azure . Commands . AzureBackup . Test . ScenarioTests
23
19
{
24
20
public class AzureBackupScenarioTests : AzureBackupTestsBase
25
21
{
26
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
27
24
public void AzureBackupEndToEndTests ( )
28
25
{
29
26
//this.RunPowerShellTest("Test-AzureBackupEndToEnd");
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
20
20
public class BackupItemTests : AzureBackupTestsBase
21
21
{
22
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
23
24
public void BackUpAzureBackUpItem ( )
24
25
{
25
26
this . RunPowerShellTest ( "Test-BackUpAzureBackUpItem" ) ;
Original file line number Diff line number Diff line change 1
- $ResourceGroupName = " backuprg"
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
+ $ResourceGroupName = " backuprg"
2
16
$ResourceName = " backuprn"
3
17
$ContainerName = " iaasvmcontainer;hydrarecordvm;hydrarecordvm"
4
18
$ContainerType = " IaasVMContainer"
Original file line number Diff line number Diff line change @@ -20,12 +20,14 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
20
20
public class RecoveryPointTests : AzureBackupTestsBase
21
21
{
22
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
23
24
public void GetRecoveryPointsTests ( )
24
25
{
25
26
this . RunPowerShellTest ( "Test-GetAzureRecoveryPoints" ) ;
26
27
}
27
28
28
29
[ Fact ]
30
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
29
31
public void GetRecoveryPointTests ( )
30
32
{
31
33
this . RunPowerShellTest ( "Test-GetAzureRecoveryPoint" ) ;
Original file line number Diff line number Diff line change 1
- $ResourceGroupName = " backuprg"
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
+ $ResourceGroupName = " backuprg"
2
16
$ResourceName = " backuprn"
3
17
$ContainerName = " iaasvmcontainer;hydrarecordvm;hydrarecordvm"
4
18
$ContainerType = " IaasVMContainer"
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ namespace Microsoft.Azure.Commands.AzureBackup.Test.ScenarioTests
20
20
public class RestoreItemTests : AzureBackupTestsBase
21
21
{
22
22
[ Fact ]
23
+ [ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
23
24
public void RestoreAzureBackUpItem ( )
24
25
{
25
26
this . RunPowerShellTest ( "Test-RestoreAzureBackUpItem" ) ;
Original file line number Diff line number Diff line change 1
- $ResourceGroupName = " backuprg"
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
+ $ResourceGroupName = " backuprg"
2
16
$ResourceName = " backuprn"
3
17
$ContainerName = " iaasvmcontainer;hydrarecordvm;hydrarecordvm"
4
18
$ContainerType = " IaasVMContainer"
You can’t perform that action at this time.
0 commit comments