Improve shared MAUI controls and tests

This commit is contained in:
Andy Howard
2026-10-06 14:13:28 +01:00
parent 0406adfc99
commit 5daf7ce97f
106 changed files with 2299 additions and 805 deletions
+31
View File
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="SacsMobileMauiTestHost.MainPage">
<Grid Padding="24" RowDefinitions="Auto,Auto,*" RowSpacing="16">
<Label Text="SacsMobileMaui dispatcher tests"
FontSize="24"
FontAttributes="Bold" />
<VerticalStackLayout Grid.Row="1" Spacing="8">
<Label Text="Runs the explicit NUnit dispatcher tests on a worker while this MAUI UI loop remains active." />
<Button x:Name="RunTestsButton"
Text="Run dispatcher tests"
Clicked="OnRunTestsClicked"
HorizontalOptions="Start" />
<Button x:Name="RunDialogTestsButton"
Text="Run interactive dialog tests"
Clicked="OnRunDialogTestsClicked"
HorizontalOptions="Start" />
<Button x:Name="RunDatePickerTestsButton"
Text="Run date picker tests"
Clicked="OnRunDatePickerTestsClicked"
HorizontalOptions="Start" />
<Label x:Name="StatusLabel" Text="Ready" />
</VerticalStackLayout>
<ScrollView Grid.Row="2">
<Label x:Name="ResultsLabel" FontFamily="Consolas" />
</ScrollView>
</Grid>
</ContentPage>