mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 09:18:01 +01:00
more testing
This commit is contained in:
@@ -85,8 +85,22 @@ namespace UICatalog {
|
||||
scenario.Init (Application.Top, _baseColorScheme);
|
||||
scenario.Setup ();
|
||||
scenario.Run ();
|
||||
|
||||
#if DEBUG
|
||||
foreach (var inst in Responder.Instances) {
|
||||
Debug.Assert (inst.WasDisposed);
|
||||
}
|
||||
Responder.Instances.Clear();
|
||||
#endif
|
||||
|
||||
scenario = GetScenarioToRun ();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
foreach (var inst in Responder.Instances) {
|
||||
Debug.Assert (inst.WasDisposed);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user