Color schemes - unit test fixes

This commit is contained in:
Tig
2024-09-22 15:33:06 -06:00
parent c33736dfa6
commit 5861277b65
24 changed files with 389 additions and 261 deletions

View File

@@ -224,6 +224,9 @@ public class DimTests
[AutoInitShutdown]
public void Only_DimAbsolute_And_DimFactor_As_A_Different_Procedure_For_Assigning_Value_To_Width_Or_Height ()
{
// Override CM
Button.DefaultShadow = ShadowStyle.None;
// Testing with the Button because it properly handles the Dim class.
Toplevel t = new ();

View File

@@ -177,6 +177,9 @@ public class PosAnchorEndTests (ITestOutputHelper output)
{
((FakeDriver)Application.Driver!).SetBufferSize (20, 5);
// Override CM
Button.DefaultShadow = ShadowStyle.None;
var b = $"{CM.Glyphs.LeftBracket} Ok {CM.Glyphs.RightBracket}";
var frame = new FrameView { Width = 18, Height = 3 };