Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: net10.0
Choose a base branch
from

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
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

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 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 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

4 participants