more testing

This commit is contained in:
Charlie Kindel
2020-06-14 09:12:05 -07:00
parent 85f7818796
commit af88f610b0

View File

@@ -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>