From df1826ae17ac758c70c64b323a0f45aaa435ae22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Strehovsk=C3=BD?= Date: Wed, 1 Feb 2023 15:48:43 +0900 Subject: [PATCH] Do not remove resource messages in Xml tests Addresses first bullet of #81455. Addresses 211 test failures to the tune of: ``` [FAIL] System.Xml.XmlSchemaValidatorApiTests.TCValidateWhitespace_String.WhitespaceInsideElement System.Xml.Tests.VerifyException : GetManifestResourceStream() failed at System.Xml.Tests.ExceptionVerifier..ctor(String assemblyName, ExceptionVerificationFlags flags, ITestOutputHelper output) + 0x4c9 at System.Xml.XmlSchemaValidatorApiTests.TCValidateWhitespace_String..ctor(ITestOutputHelper output) + 0x48 ``` --- .../tests/System.Private.Xml.Tests.csproj | 4 ++++ .../System.Private.Xml/tests/default.rd.xml | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src/libraries/System.Private.Xml/tests/default.rd.xml diff --git a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj index 2b7df4833a7f8..f0765630d8d63 100644 --- a/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj +++ b/src/libraries/System.Private.Xml/tests/System.Private.Xml.Tests.csproj @@ -7,6 +7,10 @@ false + + + + WasmTestOnBrowser diff --git a/src/libraries/System.Private.Xml/tests/default.rd.xml b/src/libraries/System.Private.Xml/tests/default.rd.xml new file mode 100644 index 0000000000000..8177c40e1996c --- /dev/null +++ b/src/libraries/System.Private.Xml/tests/default.rd.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + +