Skip to content

Commit

Permalink
dotnetUnoFrameBuffer: Add Hello Torizon for automated test
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Riesco <[email protected]>
  • Loading branch information
andreriesco authored and microhobby committed Jan 27, 2024
1 parent aa9c853 commit 4b06b56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dotnetUnoFrameBuffer/__change__.Shared/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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!");

}

/// <summary>
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -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!"
}
},
{
Expand Down

0 comments on commit 4b06b56

Please sign in to comment.