-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[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
base: net10.0
Are you sure you want to change the base?
[net10.0, Testing] Disabling the Graphics IImage related test cases on Android platform #30577
Conversation
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. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this 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 ofmac
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 ofmac
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
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30006.cs
Outdated
Show resolved
Hide resolved
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Resize.cs
Outdated
Show resolved
Hide resolved
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Downsize.cs
Outdated
Show resolved
Hide resolved
…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>
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:
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Downsize.cs
: Modified the#if
directive to includeTEST_FAILS_ON_ANDROID
and added a reference to GitHub issue [net10.0, Testing] Re-enable the Graphics IImage related test cases on Android platform #30576 for Android-specific failures.src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue16767_Resize.cs
: Updated the#if
directive to includeTEST_FAILS_ON_ANDROID
and appended the corresponding GitHub issue reference ([net10.0, Testing] Re-enable the Graphics IImage related test cases on Android platform #30576) for Android failures.src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30006.cs
: Adjusted the#if
directive to includeTEST_FAILS_ON_ANDROID
and added a reference to GitHub issue [net10.0, Testing] Re-enable the Graphics IImage related test cases on Android platform #30576 for Android-specific issues.