From a17aebe31b9bbee5840a1fe3486968376817f73e Mon Sep 17 00:00:00 2001 From: Andre Riesco Date: Fri, 26 Jan 2024 20:51:01 -0300 Subject: [PATCH] dotnetUnoFrameBuffer: Add Hello Torizon for automated test Signed-off-by: Andre Riesco --- dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs | 6 +++++- templates.json | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs b/dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs index 23f48c2e0..f15e79661 100644 --- a/dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs +++ b/dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs @@ -85,6 +85,10 @@ protected override void OnLaunched(LaunchActivatedEventArgs args) // Ensure the current window is active _window.Activate(); } + + // for the Torizon automated tests + Console.WriteLine("Hello Torizon!"); + } /// @@ -119,7 +123,7 @@ private static void InitializeLogging() #if DEBUG // Logging is disabled by default for release builds, as it incurs a significant // initialization cost from Microsoft.Extensions.Logging setup. If startup performance - // is a concern for your application, keep this disabled. If you're running on web or + // is a concern for your application, keep this disabled. If you're running on web or // desktop targets, you can use url or command line parameters to enable it. // // For more performance documentation: https://platform.uno/docs/articles/Uno-UI-Performance.html diff --git a/templates.json b/templates.json index a2e9e59c8..861f5c757 100644 --- a/templates.json +++ b/templates.json @@ -164,8 +164,8 @@ }, "debuggerConsole": "run-torizon", "mainFile": "__change__.Shared/App.xaml.cs", - "mainFileBreakpointLine": 28, - "successDebugMessage": "Uno.UI.RemoteControl.RemoteControlClient" + "mainFileBreakpointLine": 90, + "successDebugMessage": "Hello Torizon!" } }, {