mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Color schemes - unit test fixes
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Terminal.Gui.ViewsTests;
|
||||
public class ProgressBarTests
|
||||
{
|
||||
[Fact]
|
||||
[AutoInitShutdown]
|
||||
[AutoInitShutdown (configLocation: ConfigurationManager.ConfigLocations.None)]
|
||||
public void Default_Constructor ()
|
||||
{
|
||||
var pb = new ProgressBar ();
|
||||
@@ -15,11 +15,6 @@ public class ProgressBarTests
|
||||
Assert.False (pb.CanFocus);
|
||||
Assert.Equal (0, pb.Fraction);
|
||||
|
||||
//Assert.Equal (
|
||||
// new Attribute (Color.BrightGreen, Color.Gray),
|
||||
// new Attribute (pb.ColorScheme.HotNormal.Foreground, pb.ColorScheme.HotNormal.Background)
|
||||
// );
|
||||
Assert.Equal (Colors.ColorSchemes ["Base"].Normal, pb.ColorScheme.Normal);
|
||||
Assert.Equal (1, pb.Frame.Height);
|
||||
Assert.Equal (ProgressBarStyle.Blocks, pb.ProgressBarStyle);
|
||||
Assert.Equal (ProgressBarFormat.Simple, pb.ProgressBarFormat);
|
||||
|
||||
Reference in New Issue
Block a user