Skip to content

Commit 9bb8821

Browse files
committed
Merge pull request #23 from AsrOneSdk/sanjkuma-dev
New tests.
2 parents 586626d + 7384ec7 commit 9bb8821

File tree

4 files changed

+485
-12
lines changed

4 files changed

+485
-12
lines changed

src/ServiceManagement/RecoveryServices/Commands.RecoveryServices.Test/ScenarioTests/RecoveryServicesTests.cs

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ public void RecoveryServicesFailbackTest()
8282
this.RunPowerShellTest("Test-Failback -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
8383
}
8484

85+
[Fact]
86+
[Trait(Category.AcceptanceType, Category.CheckIn)]
87+
public void RecoveryServicesRRAfterFailoverTest()
88+
{
89+
this.RunPowerShellTest("Test-RRAfterFailover -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
90+
}
91+
8592
[Fact]
8693
[Trait(Category.AcceptanceType, Category.CheckIn)]
8794
public void RecoveryServicesRRAfterFailbackTest()
@@ -96,6 +103,13 @@ public void RecoveryServicesCommitPFOTest()
96103
this.RunPowerShellTest("Test-CommitPFO -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
97104
}
98105

106+
[Fact]
107+
[Trait(Category.AcceptanceType, Category.CheckIn)]
108+
public void RecoveryServicesCommitAfterFailbackTest()
109+
{
110+
this.RunPowerShellTest("Test-CommitAfterFailback -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
111+
}
112+
99113
[Fact]
100114
[Trait(Category.AcceptanceType, Category.CheckIn)]
101115
public void RecoveryServicesPFOTest()
@@ -130,5 +144,61 @@ public void RecoveryServicesDisableProtectionTest()
130144
{
131145
this.RunPowerShellTest("Test-DisableProtection -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
132146
}
147+
148+
[Fact]
149+
[Trait(Category.AcceptanceType, Category.CheckIn)]
150+
public void RecoveryServicesE2E_DeleteAndDissociateTest()
151+
{
152+
this.RunPowerShellTest("Test-E2E_DeleteAndDissociate -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
153+
}
154+
155+
[Fact]
156+
[Trait(Category.AcceptanceType, Category.CheckIn)]
157+
public void RecoveryServicesE2E_CreateAndAssociateTest()
158+
{
159+
this.RunPowerShellTest("Test-E2E_CreateAndAssociate -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
160+
}
161+
162+
[Fact]
163+
[Trait(Category.AcceptanceType, Category.CheckIn)]
164+
public void RecoveryServicesPFORPTest()
165+
{
166+
this.RunPowerShellTest("Test-PFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
167+
}
168+
169+
[Fact]
170+
[Trait(Category.AcceptanceType, Category.CheckIn)]
171+
public void RecoveryServicesTFORPTest()
172+
{
173+
this.RunPowerShellTest("Test-TFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
174+
}
175+
176+
[Fact]
177+
[Trait(Category.AcceptanceType, Category.CheckIn)]
178+
public void RecoveryServicesUFORPTest()
179+
{
180+
this.RunPowerShellTest("Test-UFORP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
181+
}
182+
183+
[Fact]
184+
[Trait(Category.AcceptanceType, Category.CheckIn)]
185+
public void RecoveryServicesFailbackRPTest()
186+
{
187+
this.RunPowerShellTest("Test-FailbackRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
188+
}
189+
190+
[Fact]
191+
[Trait(Category.AcceptanceType, Category.CheckIn)]
192+
public void RecoveryServicesRRRPTest()
193+
{
194+
this.RunPowerShellTest("Test-RRRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
195+
}
196+
197+
[Fact]
198+
[Trait(Category.AcceptanceType, Category.CheckIn)]
199+
public void RecoveryServicesCommitRPTest()
200+
{
201+
this.RunPowerShellTest("Test-CommitRP -vaultSettingsFilePath \"" + vaultSettingsFilePath + "\"");
202+
}
133203
}
134204
}

0 commit comments

Comments
 (0)