mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* Refactored test namespaces. Moved some tests that were in wrong project. Code cleanup * Parrallel -> Parallel
22 lines
536 B
C#
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);
|
|
}
|
|
}
|