Skip to content

[tests] Fix Xamarin.Android-Tests solution#12009

Merged
simonrozsival merged 3 commits into
mainfrom
android-fixup-xamarin-android-tests-sln
Jul 7, 2026
Merged

[tests] Fix Xamarin.Android-Tests solution#12009
simonrozsival merged 3 commits into
mainfrom
android-fixup-xamarin-android-tests-sln

Conversation

@simonrozsival

@simonrozsival simonrozsival commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • replace Xamarin.Android-Tests.sln with Xamarin.Android-Tests.slnx generated by dotnet sln Xamarin.Android-Tests.sln migrate
  • update the test solution to current .NET test/sample projects and remove stale legacy Mono test metadata
  • refresh docs, package-name references, IVTs, TPN skill metadata, and obsolete APK-size CSV baselines

Testing

  • dotnet sln Xamarin.Android-Tests.slnx list
  • git diff --check
  • probed dotnet build Xamarin.Android-Tests.slnx -c Debug --no-restore /v:minimal; stale missing-project and CodeBehind placeholder failures are gone, remaining failures require prepared local SDK/restored assets

Update Xamarin.Android-Tests.sln to reference current .NET test projects and remove stale legacy Mono test metadata.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the Xamarin.Android-Tests.sln and related references with the current .NET-based test/sample projects, while removing stale legacy test artifacts and updating documentation accordingly.

Changes:

  • Refresh Xamarin.Android-Tests.sln to reference current .NET test/sample projects and drop legacy solution entries.
  • Update remaining test assets/docs to use the Mono.Android.NET_Tests package / Mono.Android.NET-Tests assembly naming.
  • Remove obsolete APK-size CSV reference baselines and stale TPN skill metadata.
Show a summary per file
File Description
Xamarin.Android-Tests.sln Updates solution contents and organization to current test/sample projects.
tests/Mono.Android-Tests/Mono.Android-Tests/Resources/layout/FragmentFixup.axml Updates fragment assembly qualification to Mono.Android.NET-Tests.
tests/apk-sizes-reference/TestResult-Mono.Android_TestsMultiDex-values-Release.csv Removes obsolete APK-size CSV reference baseline.
tests/apk-sizes-reference/TestResult-Mono.Android_TestsMultiDex-values-Debug.csv Removes obsolete APK-size CSV reference baseline.
tests/apk-sizes-reference/TestResult-Mono.Android_Tests-values-Release.csv Removes obsolete APK-size CSV reference baseline.
tests/apk-sizes-reference/TestResult-Mono.Android_Tests-values-Debug.csv Removes obsolete APK-size CSV reference baseline.
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/GetDependenciesTests.cs Updates manifest package name used by the test.
src/Mono.Android/Properties/AssemblyInfo.cs.in Removes IVTs for legacy test assemblies; keeps current test IVT.
Documentation/workflow/UnitTests.md Updates guidance for Layout CodeBehind testing location/approach.
Documentation/workflow/DevelopmentTips.md Updates package name and referenced test project path.
Documentation/guides/vscode-support.md Updates default sample project path to HelloWorld.DotNet.
Documentation/guides/profiling.md Updates example paths to *.DotNet.csproj sample projects.
build-tools/Xamarin.Android.Tools.BootstrapTasks/Xamarin.Android.Tools.BootstrapTasks/RenameTestCases.cs Refreshes example paths to the current test naming.
.github/skills/update-tpn/SKILL.md Removes stale NUnitLite/ TPN entry.

Copilot's findings

  • Files reviewed: 14/14 changed files
  • Comments generated: 2

Comment thread Xamarin.Android-Tests.sln Outdated
Comment thread Xamarin.Android-Tests.sln Outdated
Comment thread Xamarin.Android-Tests.sln Outdated
simonrozsival and others added 2 commits July 7, 2026 18:51
Rename nested solution folders to avoid duplicate names in Solution Explorer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the legacy solution file with the SDK-generated .slnx format and update the Windows build instructions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@simonrozsival simonrozsival added the ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable). label Jul 7, 2026
@simonrozsival simonrozsival enabled auto-merge (squash) July 7, 2026 20:05
@simonrozsival simonrozsival merged commit afcc753 into main Jul 7, 2026
42 checks passed
@simonrozsival simonrozsival deleted the android-fixup-xamarin-android-tests-sln branch July 7, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-review This PR is ready to review/merge, I think any CI failures are just flaky (ignorable).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants