[tests] Add debug spew to track down #xamarin/maccore@2414. (#12354)

This commit is contained in:
Rolf Bjarne Kvinge 2021-08-06 09:45:55 +02:00 коммит произвёл GitHub
Родитель b06baea3c8
Коммит 6d078c2ac8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
8 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -28,6 +28,10 @@ namespace frameworktest
// //
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);

Просмотреть файл

@ -16,6 +16,10 @@ public partial class AppDelegate : UIApplicationDelegate
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);

Просмотреть файл

@ -16,6 +16,10 @@ namespace Introspection {
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
Window = new UIWindow (UIScreen.MainScreen.Bounds); Window = new UIWindow (UIScreen.MainScreen.Bounds);
Runner = new TouchRunner (Window); Runner = new TouchRunner (Window);

Просмотреть файл

@ -16,6 +16,10 @@ namespace DontLink
public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
Window = new UIWindow (UIScreen.MainScreen.Bounds); Window = new UIWindow (UIScreen.MainScreen.Bounds);
Runner = new TouchRunner (Window); Runner = new TouchRunner (Window);

Просмотреть файл

@ -28,6 +28,10 @@ namespace LinkAll
// //
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);

Просмотреть файл

@ -29,6 +29,10 @@ namespace LinkSdk
// //
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);

Просмотреть файл

@ -41,6 +41,10 @@ namespace MonoTouchFixtures {
// //
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);

Просмотреть файл

@ -28,6 +28,10 @@ namespace frameworktest
// //
public override bool FinishedLaunching (UIApplication app, NSDictionary options) public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{ {
#if __MACCATALYST__
// Debug spew to track down https://github.com/xamarin/maccore/issues/2414
Console.WriteLine ("AppDelegate.FinishedLaunching");
#endif
// create a new window instance based on the screen size // create a new window instance based on the screen size
window = new UIWindow (UIScreen.MainScreen.Bounds); window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window); runner = new TouchRunner (window);