Improve shared MAUI controls and tests
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user