From 3d18cd3b763abf763ca952512744dc2d67baae06 Mon Sep 17 00:00:00 2001 From: Joe Care Date: Sun, 12 Jan 2025 08:26:52 +0100 Subject: [PATCH 01/19] Create dependabot.yml --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..43dd42c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "nuget" # See documentation for possible values + directory: "/src/Avalonia.Samples" # Location of package manifests + schedule: + interval: "weekly" From 658ecbfdcb3eace2ba6e72860e02eaff5c2c8bac Mon Sep 17 00:00:00 2001 From: Joe Care Date: Sun, 12 Jan 2025 08:28:53 +0100 Subject: [PATCH 02/19] Update dependabot.yml --- .github/dependabot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 43dd42c..b237713 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,4 @@ updates: directory: "/src/Avalonia.Samples" # Location of package manifests schedule: interval: "weekly" + target-branch: "Dependabot" From 7b0ddbb4c6c28bbe799a52a4b1ad160406844de0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:29:06 +0000 Subject: [PATCH 03/19] Bump xunit from 2.4.2 to 2.9.3 in /src/Avalonia.Samples Bumps [xunit](https://github.com/xunit/xunit) from 2.4.2 to 2.9.3. - [Commits](https://github.com/xunit/xunit/compare/v2-2.4.2...v2-2.9.3) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../Testing/TestableApp.Appium/TestableApp.Appium.csproj | 2 +- .../TestableApp.Headless.XUnit.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj index 5b41a3f..b800931 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj @@ -12,7 +12,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index c1fdcc9..86a4961 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -11,7 +11,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From f52316b9df9a683d3a0b855bcc3a688d23759627 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:29:57 +0000 Subject: [PATCH 04/19] Bump CommunityToolkit.Mvvm from 8.2.0 to 8.4.0 in /src/Avalonia.Samples Bumps [CommunityToolkit.Mvvm](https://github.com/CommunityToolkit/dotnet) from 8.2.0 to 8.4.0. - [Release notes](https://github.com/CommunityToolkit/dotnet/releases) - [Commits](https://github.com/CommunityToolkit/dotnet/compare/v8.2.0...v8.4.0) --- updated-dependencies: - dependency-name: CommunityToolkit.Mvvm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../CompleteApps/SimpleToDoList/SimpleToDoList.csproj | 2 +- src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj | 2 +- .../DialogManagerSample/DialogManagerSample.csproj | 2 +- .../ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj index fdf49ea..124a240 100644 --- a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj +++ b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj @@ -20,6 +20,6 @@ - + diff --git a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj index 0d1e181..5ccf7ed 100644 --- a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj @@ -18,7 +18,7 @@ - + diff --git a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj index 8138bb0..59f4798 100644 --- a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj @@ -17,6 +17,6 @@ - + diff --git a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj index c345103..af7dee3 100644 --- a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj @@ -18,6 +18,6 @@ - + From 5d8bd2f5c7abf5df261b9d18477fb65ce109e12a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:30:20 +0000 Subject: [PATCH 05/19] Bump xunit.runner.visualstudio in /src/Avalonia.Samples Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.5 to 3.0.1. - [Release notes](https://github.com/xunit/visualstudio.xunit/releases) - [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.4.5...3.0.1) --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../Testing/TestableApp.Appium/TestableApp.Appium.csproj | 2 +- .../TestableApp.Headless.XUnit.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj index 5b41a3f..b69cd13 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj @@ -13,7 +13,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index c1fdcc9..3592aea 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -12,7 +12,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all From 0fd90cf5b91b7c25bfe2e7657f12d3f4169cff7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:33:08 +0000 Subject: [PATCH 06/19] Bump Avalonia and Avalonia.Desktop in /src/Avalonia.Samples Bumps [Avalonia](https://github.com/AvaloniaUI/Avalonia) and [Avalonia.Desktop](https://github.com/AvaloniaUI/Avalonia). These dependencies needed to be updated together. Updates `Avalonia` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) Updates `Avalonia.Desktop` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) --- updated-dependencies: - dependency-name: Avalonia dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Avalonia.Desktop dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../CompleteApps/SimpleToDoList/SimpleToDoList.csproj | 2 +- .../RatingControlSample/RatingControlSample.csproj | 4 ++-- .../SnowflakesControlSample/SnowflakesControlSample.csproj | 2 +- .../BasicDataTemplateSample/BasicDataTemplateSample.csproj | 4 ++-- .../FuncDataTemplateSample/FuncDataTemplateSample.csproj | 4 ++-- .../IDataTemplateSample/IDataTemplateSample.csproj | 4 ++-- src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj | 4 ++-- src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj | 4 ++-- .../MVVM/BasicMvvmSample/BasicMvvmSample.csproj | 4 ++-- src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj | 4 ++-- .../MVVM/ValidationSample/ValidationSample.csproj | 4 ++-- .../MVVM/ValueConversionSample/ValueConversionSample.csproj | 4 ++-- .../BasicViewLocatorSample/BasicViewLocatorSample.csproj | 4 ++-- src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj | 4 ++-- .../DialogManagerSample/DialogManagerSample.csproj | 4 ++-- .../ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj | 2 +- 16 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj index fdf49ea..c6845a6 100644 --- a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj +++ b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj index 5550eb0..8929e9f 100644 --- a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj index c388158..aae83f4 100644 --- a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj index 5f1a8e2..85c2300 100644 --- a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj index 5f1a8e2..85c2300 100644 --- a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj index 5f1a8e2..85c2300 100644 --- a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj b/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj index f6331a0..c43722c 100644 --- a/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj +++ b/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj @@ -7,8 +7,8 @@ - - + + diff --git a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj index a5868e8..2852783 100644 --- a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj +++ b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj index c4d67fb..234c785 100644 --- a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj +++ b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj index c4d67fb..234c785 100644 --- a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj +++ b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj index 1ee4da3..5c95222 100644 --- a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj index c4d67fb..234c785 100644 --- a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj index c4d67fb..234c785 100644 --- a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj +++ b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj @@ -20,8 +20,8 @@ - - + + diff --git a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj index 0d1e181..762fe77 100644 --- a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj index 8138bb0..62b06fc 100644 --- a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj index c345103..d774f98 100644 --- a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj @@ -12,7 +12,7 @@ - + From 9d02c6d730ce76d6f1b4f8a233446c4f27b5c18c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:35:51 +0000 Subject: [PATCH 07/19] Bump Avalonia and Avalonia.Diagnostics in /src/Avalonia.Samples Bumps [Avalonia](https://github.com/AvaloniaUI/Avalonia) and [Avalonia.Diagnostics](https://github.com/AvaloniaUI/Avalonia). These dependencies needed to be updated together. Updates `Avalonia` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) Updates `Avalonia.Diagnostics` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) --- updated-dependencies: - dependency-name: Avalonia dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Avalonia.Diagnostics dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../CompleteApps/SimpleToDoList/SimpleToDoList.csproj | 2 +- .../RatingControlSample/RatingControlSample.csproj | 4 ++-- .../SnowflakesControlSample/SnowflakesControlSample.csproj | 2 +- .../BasicDataTemplateSample/BasicDataTemplateSample.csproj | 4 ++-- .../FuncDataTemplateSample/FuncDataTemplateSample.csproj | 4 ++-- .../IDataTemplateSample/IDataTemplateSample.csproj | 4 ++-- src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj | 4 ++-- src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj | 4 ++-- .../MVVM/BasicMvvmSample/BasicMvvmSample.csproj | 4 ++-- src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj | 4 ++-- .../MVVM/ValidationSample/ValidationSample.csproj | 4 ++-- .../MVVM/ValueConversionSample/ValueConversionSample.csproj | 4 ++-- .../BasicViewLocatorSample/BasicViewLocatorSample.csproj | 4 ++-- src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj | 4 ++-- .../DialogManagerSample/DialogManagerSample.csproj | 4 ++-- .../ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj | 2 +- 16 files changed, 29 insertions(+), 29 deletions(-) diff --git a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj index fdf49ea..c6845a6 100644 --- a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj +++ b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj index 5550eb0..41377c1 100644 --- a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj @@ -18,10 +18,10 @@ - + - + diff --git a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj index c388158..aae83f4 100644 --- a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj index 5f1a8e2..1f62be2 100644 --- a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj @@ -19,10 +19,10 @@ - + - + diff --git a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj index 5f1a8e2..1f62be2 100644 --- a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj @@ -19,10 +19,10 @@ - + - + diff --git a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj index 5f1a8e2..1f62be2 100644 --- a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj @@ -19,10 +19,10 @@ - + - + diff --git a/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj b/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj index f6331a0..87ff883 100644 --- a/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj +++ b/src/Avalonia.Samples/Drawing/BattleCity/BattleCity.csproj @@ -7,9 +7,9 @@ - + - + diff --git a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj index a5868e8..4ebbee7 100644 --- a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj +++ b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj @@ -12,12 +12,12 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj index c4d67fb..75c3065 100644 --- a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj +++ b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj index c4d67fb..75c3065 100644 --- a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj +++ b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj index 1ee4da3..339a65a 100644 --- a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj index c4d67fb..75c3065 100644 --- a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj index c4d67fb..75c3065 100644 --- a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj +++ b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj @@ -20,10 +20,10 @@ - + - + diff --git a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj index 0d1e181..e990db9 100644 --- a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj @@ -12,12 +12,12 @@ - + - + diff --git a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj index 8138bb0..cd06119 100644 --- a/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/DialogManagerSample/DialogManagerSample.csproj @@ -12,10 +12,10 @@ - + - + diff --git a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj index c345103..d774f98 100644 --- a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj @@ -12,7 +12,7 @@ - + From 8156aae4a6bcc674409a16f2affdbddb5f5bfbc8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:38:42 +0000 Subject: [PATCH 08/19] Bump NUnit.Analyzers from 3.6.1 to 4.6.0 in /src/Avalonia.Samples Bumps [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers) from 3.6.1 to 4.6.0. - [Release notes](https://github.com/nunit/nunit.analyzers/releases) - [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md) - [Commits](https://github.com/nunit/nunit.analyzers/compare/3.6.1...4.6.0) --- updated-dependencies: - dependency-name: NUnit.Analyzers dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../TestableApp.Headless.NUnit.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..15af425 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -13,7 +13,7 @@ - + From c004ef5b4a68cc0a4dbcc823e187016abb468d6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:38:56 +0000 Subject: [PATCH 09/19] Bump Appium.WebDriver from 4.4.5 to 7.0.0 in /src/Avalonia.Samples Bumps [Appium.WebDriver](https://github.com/appium/dotnet-client) from 4.4.5 to 7.0.0. - [Release notes](https://github.com/appium/dotnet-client/releases) - [Changelog](https://github.com/appium/dotnet-client/blob/main/CHANGELOG.MD) - [Commits](https://github.com/appium/dotnet-client/compare/v4.4.5...v7.0.0) --- updated-dependencies: - dependency-name: Appium.WebDriver dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../Testing/TestableApp.Appium/TestableApp.Appium.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj index 5b41a3f..6b888bb 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj @@ -10,7 +10,7 @@ - + From 47f3166f79f29f4f68484b4003c4d3057d320f98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:39:11 +0000 Subject: [PATCH 10/19] Bump Avalonia.Headless.XUnit in /src/Avalonia.Samples Bumps [Avalonia.Headless.XUnit](https://github.com/AvaloniaUI/Avalonia) from 11.0.0 to 11.2.3. - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) --- updated-dependencies: - dependency-name: Avalonia.Headless.XUnit dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../TestableApp.Headless.XUnit.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index c1fdcc9..978cff1 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -9,7 +9,7 @@ - + From 037ce4dc84e557a5b2b1a1b7ecacd5817a5a7395 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:40:00 +0000 Subject: [PATCH 11/19] Bump Avalonia and Avalonia.Fonts.Inter in /src/Avalonia.Samples Bumps [Avalonia](https://github.com/AvaloniaUI/Avalonia) and [Avalonia.Fonts.Inter](https://github.com/AvaloniaUI/Avalonia). These dependencies needed to be updated together. Updates `Avalonia` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) Updates `Avalonia.Fonts.Inter` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) --- updated-dependencies: - dependency-name: Avalonia dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Avalonia.Fonts.Inter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../CompleteApps/SimpleToDoList/SimpleToDoList.csproj | 2 +- .../SnowflakesControlSample/SnowflakesControlSample.csproj | 2 +- src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj | 4 ++-- src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj index fdf49ea..c6845a6 100644 --- a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj +++ b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj index c388158..aae83f4 100644 --- a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj @@ -13,7 +13,7 @@ - + diff --git a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj index a5868e8..c3a03ce 100644 --- a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj +++ b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj @@ -12,10 +12,10 @@ - + - + diff --git a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj index 0d1e181..60bf047 100644 --- a/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp/TestableApp.csproj @@ -12,10 +12,10 @@ - + - + From d2f3c0904cba0bbb18986566600047512d4e2665 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:40:15 +0000 Subject: [PATCH 12/19] Bump NUnit3TestAdapter from 4.2.1 to 4.6.0 in /src/Avalonia.Samples Bumps [NUnit3TestAdapter](https://github.com/nunit/nunit3-vs-adapter) from 4.2.1 to 4.6.0. - [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases) - [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V4.2.1...V4.6.0) --- updated-dependencies: - dependency-name: NUnit3TestAdapter dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../TestableApp.Headless.NUnit.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..8d13c9a 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -12,7 +12,7 @@ - + From 6d0543154d36c325eb89c0a8713603a7e4cc6a18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:40:30 +0000 Subject: [PATCH 13/19] Bump NUnit from 3.13.3 to 4.3.2 in /src/Avalonia.Samples Bumps [NUnit](https://github.com/nunit/nunit) from 3.13.3 to 4.3.2. - [Release notes](https://github.com/nunit/nunit/releases) - [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md) - [Commits](https://github.com/nunit/nunit/compare/v3.13.3...4.3.2) --- updated-dependencies: - dependency-name: NUnit dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../TestableApp.Headless.NUnit.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..16a1c25 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -11,7 +11,7 @@ - + From 8cd68d04b290792f47e2c8b3525cd204b6d07265 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:40:47 +0000 Subject: [PATCH 14/19] Bump Avalonia.Headless.NUnit and NUnit in /src/Avalonia.Samples Bumps [Avalonia.Headless.NUnit](https://github.com/AvaloniaUI/Avalonia) and [NUnit](https://github.com/nunit/nunit). These dependencies needed to be updated together. Updates `Avalonia.Headless.NUnit` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) Updates `NUnit` from 3.13.3 to 3.13.0 - [Release notes](https://github.com/nunit/nunit/releases) - [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md) - [Commits](https://github.com/nunit/nunit/compare/v3.13.3...v3.13) --- updated-dependencies: - dependency-name: Avalonia.Headless.NUnit dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: NUnit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../TestableApp.Headless.NUnit.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..aab0f75 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -9,7 +9,7 @@ - + From a30f8b357f00edeb89d79478bd5b8ed6150aa737 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:41:20 +0000 Subject: [PATCH 15/19] Bump coverlet.collector from 6.0.0 to 6.0.3 in /src/Avalonia.Samples Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 6.0.0 to 6.0.3. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/compare/v6.0.0...v6.0.3) --- updated-dependencies: - dependency-name: coverlet.collector dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .../Testing/TestableApp.Appium/TestableApp.Appium.csproj | 2 +- .../TestableApp.Headless.NUnit.csproj | 2 +- .../TestableApp.Headless.XUnit.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj index 5b41a3f..5d8c9d9 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj @@ -17,7 +17,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..449b99f 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -14,7 +14,7 @@ - + diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index c1fdcc9..969e856 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -16,7 +16,7 @@ runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all From fcc0e86e454f90ac8656adecaa7d20481180d94b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:41:54 +0000 Subject: [PATCH 16/19] Bump Microsoft.NET.Test.Sdk in /src/Avalonia.Samples Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.0 to 17.12.0. - [Release notes](https://github.com/microsoft/vstest/releases) - [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md) - [Commits](https://github.com/microsoft/vstest/compare/v17.6.0...v17.12.0) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../Testing/TestableApp.Appium/TestableApp.Appium.csproj | 2 +- .../TestableApp.Headless.NUnit.csproj | 2 +- .../TestableApp.Headless.XUnit.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj index 5b41a3f..cbcd64d 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/TestableApp.Appium.csproj @@ -11,7 +11,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index 707de1d..1349251 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -10,7 +10,7 @@ - + diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index c1fdcc9..58e14d1 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -10,7 +10,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive From dc883409ef81b863865dff1efa73d5226b9959f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 12 Jan 2025 07:43:47 +0000 Subject: [PATCH 17/19] Bump Avalonia and Avalonia.ReactiveUI in /src/Avalonia.Samples Bumps [Avalonia](https://github.com/AvaloniaUI/Avalonia) and [Avalonia.ReactiveUI](https://github.com/AvaloniaUI/Avalonia). These dependencies needed to be updated together. Updates `Avalonia` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) Updates `Avalonia.ReactiveUI` from 11.0.0 to 11.2.3 - [Release notes](https://github.com/AvaloniaUI/Avalonia/releases) - [Commits](https://github.com/AvaloniaUI/Avalonia/compare/11.0.0...11.2.3) --- updated-dependencies: - dependency-name: Avalonia dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: Avalonia.ReactiveUI dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../RatingControlSample/RatingControlSample.csproj | 4 ++-- .../BasicDataTemplateSample/BasicDataTemplateSample.csproj | 4 ++-- .../FuncDataTemplateSample/FuncDataTemplateSample.csproj | 4 ++-- .../IDataTemplateSample/IDataTemplateSample.csproj | 4 ++-- src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj | 4 ++-- .../MVVM/BasicMvvmSample/BasicMvvmSample.csproj | 4 ++-- src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj | 4 ++-- .../MVVM/ValidationSample/ValidationSample.csproj | 4 ++-- .../MVVM/ValueConversionSample/ValueConversionSample.csproj | 4 ++-- .../BasicViewLocatorSample/BasicViewLocatorSample.csproj | 4 ++-- .../ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj | 2 +- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj index 5550eb0..ccda8f1 100644 --- a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj @@ -18,11 +18,11 @@ - + - + diff --git a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj index 5f1a8e2..574b8f2 100644 --- a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj @@ -19,11 +19,11 @@ - + - + diff --git a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj index 5f1a8e2..574b8f2 100644 --- a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj @@ -19,11 +19,11 @@ - + - + diff --git a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj index 5f1a8e2..574b8f2 100644 --- a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj @@ -19,11 +19,11 @@ - + - + diff --git a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj index a5868e8..663aa42 100644 --- a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj +++ b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj @@ -12,11 +12,11 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj index c4d67fb..eb8475d 100644 --- a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj +++ b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj @@ -20,11 +20,11 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj index c4d67fb..eb8475d 100644 --- a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj +++ b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj @@ -20,11 +20,11 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj index 1ee4da3..7e5b7c3 100644 --- a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj @@ -20,11 +20,11 @@ - + - + diff --git a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj index c4d67fb..eb8475d 100644 --- a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj @@ -20,11 +20,11 @@ - + - + diff --git a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj index c4d67fb..eb8475d 100644 --- a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj +++ b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj @@ -20,11 +20,11 @@ - + - + diff --git a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj index c345103..d774f98 100644 --- a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj @@ -12,7 +12,7 @@ - + From 787d9a6308c7fa025fff2fe82b3d842aad2f1435 Mon Sep 17 00:00:00 2001 From: Joe Care Date: Sun, 12 Jan 2025 09:55:52 +0100 Subject: [PATCH 18/19] Add distinct JSON package to address Security-vulnerability --- .../RatingControlSample/RatingControlSample.csproj | 1 + .../BasicDataTemplateSample/BasicDataTemplateSample.csproj | 1 + .../FuncDataTemplateSample/FuncDataTemplateSample.csproj | 1 + .../DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj | 1 + src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj | 1 + src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj | 1 + src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj | 1 + .../MVVM/ValidationSample/ValidationSample.csproj | 1 + .../MVVM/ValueConversionSample/ValueConversionSample.csproj | 1 + .../Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj | 1 + 10 files changed, 10 insertions(+) diff --git a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj index 4958478..a415dcf 100644 --- a/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/RatingControlSample/RatingControlSample.csproj @@ -24,5 +24,6 @@ + diff --git a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj index d20d65c..363ec70 100644 --- a/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/BasicDataTemplateSample/BasicDataTemplateSample.csproj @@ -25,5 +25,6 @@ + diff --git a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj index d20d65c..363ec70 100644 --- a/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/FuncDataTemplateSample/FuncDataTemplateSample.csproj @@ -25,5 +25,6 @@ + diff --git a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj index d20d65c..363ec70 100644 --- a/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj +++ b/src/Avalonia.Samples/DataTemplates/IDataTemplateSample/IDataTemplateSample.csproj @@ -25,5 +25,6 @@ + diff --git a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj index e14b778..25e42c6 100644 --- a/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj +++ b/src/Avalonia.Samples/Drawing/RectPainter/RectPainter.csproj @@ -19,5 +19,6 @@ + diff --git a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj index d11af90..4b79314 100644 --- a/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj +++ b/src/Avalonia.Samples/MVVM/BasicMvvmSample/BasicMvvmSample.csproj @@ -26,5 +26,6 @@ + diff --git a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj index d11af90..4b79314 100644 --- a/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj +++ b/src/Avalonia.Samples/MVVM/CommandSample/CommandSample.csproj @@ -26,5 +26,6 @@ + diff --git a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj index a19dbeb..3fc7b81 100644 --- a/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValidationSample/ValidationSample.csproj @@ -26,6 +26,7 @@ + $([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))=./ diff --git a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj index d11af90..4b79314 100644 --- a/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj +++ b/src/Avalonia.Samples/MVVM/ValueConversionSample/ValueConversionSample.csproj @@ -26,5 +26,6 @@ + diff --git a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj index d11af90..4b79314 100644 --- a/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj +++ b/src/Avalonia.Samples/Routing/BasicViewLocatorSample/BasicViewLocatorSample.csproj @@ -26,5 +26,6 @@ + From 393480190f6c3e0dbe0b6c11e35ec06bdaa1d426 Mon Sep 17 00:00:00 2001 From: Joe Care Date: Sun, 12 Jan 2025 12:27:54 +0100 Subject: [PATCH 19/19] Update Dependencies, Handle issue #114 --- .../SimpleToDoList/SimpleToDoList.csproj | 12 +++++------ .../SnowflakesControlSample.csproj | 14 ++++++------- .../TestableApp.Appium/CalculatorTests.cs | 20 ++++++++++--------- .../TestableApp.Appium/DefaultAppFixture.cs | 20 +++++++++---------- .../CalculatorTests.cs | 4 ++-- .../TestableApp.Headless.NUnit.csproj | 1 + .../CalculatorTests.cs | 4 ++-- .../TestableApp.Headless.XUnit.csproj | 1 + .../MvvmDialogSample/MvvmDialogSample.csproj | 9 +++++---- 9 files changed, 45 insertions(+), 40 deletions(-) diff --git a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj index a37c286..5bce12b 100644 --- a/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj +++ b/src/Avalonia.Samples/CompleteApps/SimpleToDoList/SimpleToDoList.csproj @@ -9,17 +9,17 @@ - + - - - - + + + + - + diff --git a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj index aae83f4..ef09267 100644 --- a/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj +++ b/src/Avalonia.Samples/CustomControls/SnowflakesControlSample/SnowflakesControlSample.csproj @@ -9,16 +9,16 @@ - + - - - - + + + + - - + + diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/CalculatorTests.cs b/src/Avalonia.Samples/Testing/TestableApp.Appium/CalculatorTests.cs index e882d99..2bcc1e5 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/CalculatorTests.cs +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/CalculatorTests.cs @@ -6,7 +6,7 @@ namespace TestableApp.Appium; [Collection("Default")] public class CalculatorTests { - private readonly AppiumDriver _session; + private readonly AppiumDriver _session; public CalculatorTests(DefaultAppFixture fixture) @@ -18,10 +18,11 @@ public CalculatorTests(DefaultAppFixture fixture) public void Should_Add_Numbers() { // Assert: - var firstOperandInput = _session.FindElementByAccessibilityId("FirstOperandInput")!; - var secondOperandInput = _session.FindElementByAccessibilityId("SecondOperandInput")!; - var addButton = _session.FindElementByAccessibilityId("AddButton")!; - var resultBox = _session.FindElementByAccessibilityId("ResultBox")!; + const string ByAccessibilityId = "AccessibilityId"; + var firstOperandInput = _session.FindElement(ByAccessibilityId, "FirstOperandInput")!; + var secondOperandInput = _session.FindElement(ByAccessibilityId, "SecondOperandInput")!; + var addButton = _session.FindElement(ByAccessibilityId, "AddButton")!; + var resultBox = _session.FindElement(ByAccessibilityId, "ResultBox")!; // Act: firstOperandInput.Clear(); @@ -39,10 +40,11 @@ public void Should_Add_Numbers() public void Cannot_Divide_By_Zero() { // Assert: - var firstOperandInput = _session.FindElementByAccessibilityId("FirstOperandInput")!; - var secondOperandInput = _session.FindElementByAccessibilityId("SecondOperandInput")!; - var divideButton = _session.FindElementByAccessibilityId("DivideButton")!; - var resultBox = _session.FindElementByAccessibilityId("ResultBox")!; + const string ByAccessibilityId = "AccessibilityId"; + var firstOperandInput = _session.FindElement(ByAccessibilityId, "FirstOperandInput")!; + var secondOperandInput = _session.FindElement("AccessibilityId", "SecondOperandInput")!; + var divideButton = _session.FindElement("AccessibilityId", "DivideButton")!; + var resultBox = _session.FindElement("AccessibilityId", "ResultBox")!; // Act: firstOperandInput.Clear(); diff --git a/src/Avalonia.Samples/Testing/TestableApp.Appium/DefaultAppFixture.cs b/src/Avalonia.Samples/Testing/TestableApp.Appium/DefaultAppFixture.cs index 8b65f16..2710706 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Appium/DefaultAppFixture.cs +++ b/src/Avalonia.Samples/Testing/TestableApp.Appium/DefaultAppFixture.cs @@ -28,7 +28,7 @@ public DefaultAppFixture() if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { ConfigureWin32Options(options); - Session = new WindowsDriver( + Session = new WindowsDriver( new Uri("http://127.0.0.1:4723"), options); @@ -40,7 +40,7 @@ public DefaultAppFixture() else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) { ConfigureMacOptions(options); - Session = new MacDriver( + Session = new MacDriver( new Uri("http://127.0.0.1:4723/wd/hub"), options); } @@ -53,22 +53,22 @@ public DefaultAppFixture() protected virtual void ConfigureWin32Options(AppiumOptions options) { var path = Path.GetFullPath(TestAppPath); - options.AddAdditionalCapability(MobileCapabilityType.App, path); - options.AddAdditionalCapability(MobileCapabilityType.PlatformName, MobilePlatform.Windows); - options.AddAdditionalCapability(MobileCapabilityType.DeviceName, "WindowsPC"); + options.App = path; + options.PlatformName = MobilePlatform.Windows; + options.DeviceName= "WindowsPC"; // options.AddAdditionalCapability("appArguments", "--customArg"); } protected virtual void ConfigureMacOptions(AppiumOptions options) { - options.AddAdditionalCapability("appium:bundleId", TestAppBundleId); - options.AddAdditionalCapability(MobileCapabilityType.PlatformName, MobilePlatform.MacOS); - options.AddAdditionalCapability(MobileCapabilityType.AutomationName, "mac2"); - options.AddAdditionalCapability("appium:showServerLogs", true); + options.AddAdditionalOption("appium:bundleId", TestAppBundleId); + options.PlatformName = MobilePlatform.MacOS; + options.AutomationName = "mac2"; + options.AddAdditionalOption("appium:showServerLogs", true); // options.AddAdditionalCapability("appium:arguments", new[] { "--customArg" }); } - public AppiumDriver Session { get; } + public AppiumDriver Session { get; } public void Dispose() { diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/CalculatorTests.cs b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/CalculatorTests.cs index fb885eb..f5bd484 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/CalculatorTests.cs +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/CalculatorTests.cs @@ -28,7 +28,7 @@ public void Should_Add_Numbers() // Raise click event on the button: window.AddButton.Focus(); - window.KeyPress(Key.Enter, RawInputModifiers.None); + window.KeyPressQwerty(PhysicalKey.Enter, RawInputModifiers.None); Assert.That(window.ResultBox.Text, Is.EqualTo("30")); } @@ -49,7 +49,7 @@ public void Cannot_Divide_By_Zero() // Raise click event on the button: window.DivideButton.Focus(); - window.KeyPress(Key.Enter, RawInputModifiers.None); + window.KeyPressQwerty(PhysicalKey.Enter, RawInputModifiers.None); Assert.That(window.ResultBox.Text, Is.EqualTo("Cannot divide by zero!")); } diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj index caccdd3..fdf5a38 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.NUnit/TestableApp.Headless.NUnit.csproj @@ -9,6 +9,7 @@ + diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/CalculatorTests.cs b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/CalculatorTests.cs index 62ba5fe..db36745 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/CalculatorTests.cs +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/CalculatorTests.cs @@ -28,7 +28,7 @@ public void Should_Add_Numbers() // Raise click event on the button: window.AddButton.Focus(); - window.KeyPress(Key.Enter, RawInputModifiers.None); + window.KeyPressQwerty(PhysicalKey.Enter, RawInputModifiers.None); Assert.Equal("30", window.ResultBox.Text); } @@ -49,7 +49,7 @@ public void Cannot_Divide_By_Zero() // Raise click event on the button: window.DivideButton.Focus(); - window.KeyPress(Key.Enter, RawInputModifiers.None); + window.KeyPressQwerty(PhysicalKey.Enter, RawInputModifiers.None); Assert.Equal("Cannot divide by zero!", window.ResultBox.Text); } diff --git a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj index a74778b..271d96f 100644 --- a/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj +++ b/src/Avalonia.Samples/Testing/TestableApp.Headless.XUnit/TestableApp.Headless.XUnit.csproj @@ -9,6 +9,7 @@ + diff --git a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj index eb1e53e..637b326 100644 --- a/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj +++ b/src/Avalonia.Samples/ViewInteraction/MvvmDialogSample/MvvmDialogSample.csproj @@ -13,11 +13,12 @@ - + - - - + + + +