Skip to content

[Apple mobile] Run System.Runtime.Serialization.Xml.ExporterTypesTests.TypesTest when DataSetXmlSerializationIsSupported is set#113084

Merged
kotlarmilos merged 5 commits into
dotnet:mainfrom
kotlarmilos:bugfix/issue-113062
Mar 20, 2025
Merged

[Apple mobile] Run System.Runtime.Serialization.Xml.ExporterTypesTests.TypesTest when DataSetXmlSerializationIsSupported is set#113084
kotlarmilos merged 5 commits into
dotnet:mainfrom
kotlarmilos:bugfix/issue-113062

Conversation

@kotlarmilos

Copy link
Copy Markdown
Member

Description

Fixes #113062

@kotlarmilos kotlarmilos added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it area-Infrastructure-mono os-ios Apple iOS labels Mar 3, 2025
@kotlarmilos kotlarmilos self-assigned this Mar 3, 2025
@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run runtime-ioslike

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@akoeplinger

Copy link
Copy Markdown
Member

another option would be to exclude the trimmed type from testing when PlatformDetection.DataSetXmlSerializationIsSupported is true

@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run runtime-extra-platforms

@kotlarmilos kotlarmilos marked this pull request as ready for review March 13, 2025 10:34
Copilot AI review requested due to automatic review settings March 13, 2025 10:34
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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

This PR adjusts test configuration for Apple mobile by enabling DataSetXmlSerialization support in the XML serialization tests.

  • Replaces [Fact] with [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.DataSetXmlSerializationIsSupported))] to conditionally run tests based on platform capabilities.

@kotlarmilos kotlarmilos changed the title [Apple mobile] Set DataSetXmlSerializationSupport to true in System.Runtime.Serialization.Xml.Tests [Apple mobile] Run System.Runtime.Serialization.Xml.ExporterTypesTests.TypesTest when DataSetXmlSerializationIsSupported is set Mar 13, 2025
@kotlarmilos kotlarmilos removed NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) NO-REVIEW Experimental/testing PR, do NOT review it labels Mar 13, 2025
@kotlarmilos kotlarmilos added this to the 10.0.0 milestone Mar 13, 2025
@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos

Copy link
Copy Markdown
Member Author

/azp run runtime-extra-platforms

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@kotlarmilos

Copy link
Copy Markdown
Member Author

/ba-g wasm timeouts

@kotlarmilos kotlarmilos merged commit f5652e4 into dotnet:main Mar 20, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[tvOS] XsdDataContractExporterTests.ExporterTypesTests.TypesTest fails

3 participants