Skip to content

Commit 19202bf

Browse files
committed
Add tests for application parameter registration
Implemented two new test methods in `RegisterParameterTests.cs`: - `RegisterApplicationParameterTest`: Verifies correct registration of application parameters with specific environment names. - `RegisterApplicationEncryptedParameterTest`: Ensures encrypted application parameters are registered correctly. Both methods are marked with `[DoNotParallelize]` for test execution control.
1 parent 46225fd commit 19202bf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/G4.UnitTests/Plugins.Common/RegisterParameterTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public override void ManifestComplianceTest()
4444
AssertManifest<RegisterParameter>();
4545
}
4646

47+
[DoNotParallelize]
4748
[TestMethod(displayName: "Verify that the application parameter is registered " +
4849
"correctly with a specific environment name.")]
4950
public void RegisterApplicationParameterTest()
@@ -75,6 +76,7 @@ public void RegisterApplicationParameterTest()
7576
Assert.IsTrue("Bar Foo".Equals(actual.ConvertFromBase64(), Comparison));
7677
}
7778

79+
[DoNotParallelize]
7880
[TestMethod(displayName: "Verify that the encrypted application parameter is registered " +
7981
"correctly with a specific environment name.")]
8082
public void RegisterApplicationEncryptedParameterTest()

0 commit comments

Comments
 (0)