Files
Terminal.Gui/Tests/UnitTestsParallelizable/Configuration/ConfigurationMangerTests.cs
Tig fdeaa8331b Fixes #4298 - Updates test namespaces (#4299)
* Refactored test namespaces.
Moved some tests that were in wrong project.
Code cleanup

* Parrallel -> Parallel
2025-10-20 14:14:38 -06:00

22 lines
536 B
C#

#nullable enable
namespace UnitTests_Parallelizable.ConfigurationTests;
public class ConfigurationManagerTests
{
[ConfigurationProperty (Scope = typeof (CMTestsScope))]
public static bool? TestProperty { get; set; }
private class CMTestsScope : Scope<CMTestsScope>
{
}
[Fact]
public void GetConfigPropertiesByScope_Gets ()
{
var props = ConfigurationManager.GetUninitializedConfigPropertiesByScope ("CMTestsScope");
Assert.NotNull (props);
Assert.NotEmpty (props);
}
}