Skip to content

[net10.0, Testing] Disabling the Graphics IImage related test cases on Android platform#30577

Merged
rmarinho merged 4 commits intonet10.0from
unknown repository
Jul 14, 2025
Merged

[net10.0, Testing] Disabling the Graphics IImage related test cases on Android platform#30577
rmarinho merged 4 commits intonet10.0from
unknown repository

Conversation

@HarishKumarSF4517
Copy link
Contributor

This pull request updates preprocessor directives in several test files to reflect that certain tests also fail on Android, in addition to the previously noted platforms. The updates include references to the relevant GitHub issues for better traceability.

Updates to preprocessor directives:

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jul 11, 2025
@dotnet-policy-service
Copy link
Contributor

Hey there @@HarishKumarSF4517! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jul 11, 2025
@rmarinho
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@sheiksyedm sheiksyedm added the area-testing Unit tests, device tests label Jul 11, 2025
@HarishKumarSF4517 HarishKumarSF4517 marked this pull request as ready for review July 11, 2025 14:34
Copilot AI review requested due to automatic review settings July 11, 2025 14:34
@HarishKumarSF4517 HarishKumarSF4517 requested a review from a team as a code owner July 11, 2025 14:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds the TEST_FAILS_ON_ANDROID symbol to existing preprocessor directives on three test files, ensuring those tests are also disabled on Android and linking to the relevant GitHub issue (#30576).

  • Include TEST_FAILS_ON_ANDROID in preprocessor conditions for three Shared.Tests files
  • Append Android-specific issue references (#30576) in comments for traceability

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30006.cs Added Android to #if directive and linked issue #30576
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Resize.cs Added Android to #if directive and linked issue #30576
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Downsize.cs Added Android to #if directive and linked issue #30576
Comments suppressed due to low confidence (2)

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Resize.cs:1

  • [nitpick] Use macOS instead of mac when referring to the platform for clarity and consistency with platform naming conventions.
#if TEST_FAILS_ON_CATALYST && TEST_FAILS_ON_IOS && TEST_FAILS_ON_ANDROID //NullReferenceException throws on iOS and mac Issue link - https://github.com/dotnet/maui/issues/19642 and for Android : https://github.com/dotnet/maui/issues/30576

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Downsize.cs:1

  • [nitpick] Use macOS instead of mac to refer to the platform consistently with other references.
#if TEST_FAILS_ON_CATALYST && TEST_FAILS_ON_IOS && TEST_FAILS_ON_ANDROID //NullReferenceException throws on iOS and mac Issue link - https://github.com/dotnet/maui/issues/19642 and For Android: https://github.com/dotnet/maui/issues/30576

Anandhan Rajagopal and others added 3 commits July 12, 2025 08:47
…006.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…767_Resize.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…767_Downsize.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jsuarezruiz
Copy link
Contributor

/azp run MAUI-UITests-public

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rmarinho rmarinho merged commit ec68aab into dotnet:net10.0 Jul 14, 2025
75 of 78 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants