mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
Refactor Application constants and remove unused field
Removed the internal `_forceFakeConsole` field and its associated `ClearForceFakeConsole` method from `Application.Driver.cs` to simplify internal state management. Renamed `DefaultMaximumIterationsPerSecond` to `DEFAULT_MAXIMUM_ITERATIONS_PER_SECOND` in `Application.cs` to align with updated naming conventions. Updated all references and XML documentation accordingly. Adjusted test logic in `ApplicationTests.cs` and `TestSetup.cs` to remove references to `_forceFakeConsole` and ensure alignment with the updated codebase.
This commit is contained in:
@@ -58,7 +58,6 @@ public class GlobalTestSetup : IDisposable
|
||||
Assert.False (Application.Initialized);
|
||||
Assert.Equal (Application.GetSupportedCultures (), Application.SupportedCultures);
|
||||
Assert.Equal (Application.GetAvailableCulturesFromEmbeddedResources (), Application.SupportedCultures);
|
||||
Assert.False (Application._forceFakeConsole);
|
||||
Assert.Equal (-1, Application.MainThreadId);
|
||||
Assert.Empty (Application.TopLevels);
|
||||
Assert.Empty (Application.CachedViewsUnderMouse);
|
||||
|
||||
Reference in New Issue
Block a user