Skip to content

Conversation

@Mingun
Copy link
Collaborator

@Mingun Mingun commented Nov 1, 2025

Removed old tests, borrowed from (as it seems) xml-rs, that have equivalents in our testset.

Remove the same ignored test from serde-migrated

That was fixed in tafia#865
Input                                  tested by
-----------------------------------------------------------------
                                    serde-se
<bla>This is a String</bla>            with_root::str_non_escaped
<bla></bla>                            with_root::str_empty
<bla>     </bla>                       with_root::str_spaces_only
<bla>&lt;boom/&gt;</bla>               with_root::str_escaped

The following inputs tested only for deserialization and have a rough
equivalent in existing tests:
                                    reader-references
<bla>&#9835;</bla>                     character_reference::dec::text
<bla>&#x266B;</bla>                    character_reference::hex::text
                                    --lib
<bla>♫<![CDATA[<cookies/>]]>♫</bla>    de::tests::triples::text::cdata::text
@Mingun Mingun added the serde Issues related to mapping from Rust types to XML label Nov 1, 2025
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.17%. Comparing base (38b44d4) to head (bee9a7a).
⚠️ Report is 46 commits behind head on master.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #910      +/-   ##
==========================================
+ Coverage   55.52%   58.17%   +2.65%     
==========================================
  Files          42       42              
  Lines       15511    15547      +36     
==========================================
+ Hits         8613     9045     +432     
+ Misses       6898     6502     -396     
Flag Coverage Δ
unittests 58.17% <ø> (+2.65%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…e-de`

`test_namespaces` equivalent to `struct_::namespaces`.
`test_forwarded_namespace` has no equivalent, but it was ignored anyway.

New tests will be written during solving tafia#218
@dralley dralley merged commit 71406f4 into tafia:master Nov 2, 2025
7 checks passed
@Mingun Mingun deleted the cleanup branch November 3, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

serde Issues related to mapping from Rust types to XML

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants