Add runtime tests for ICU code paths in formatting functions - #1799
Open
HenrikPaetzold wants to merge 6 commits into
Open
Add runtime tests for ICU code paths in formatting functions#1799HenrikPaetzold wants to merge 6 commits into
HenrikPaetzold wants to merge 6 commits into
Conversation
QT3 Test Results - Parser:
|
| Test Suite | Passing | Failing | Errors | Skipped | Total |
|---|---|---|---|---|---|
app |
1984 | 39 | 127 | 7 | 2157 |
array |
207 | 0 | 1 | 1 | 209 |
fn |
10024 | 381 | 232 | 498 | 11135 |
map |
220 | 0 | 0 | 0 | 220 |
math |
149 | 0 | 0 | 0 | 149 |
misc |
700 | 77 | 34 | 60 | 871 |
op |
4192 | 63 | 70 | 41 | 4366 |
prod |
10344 | 569 | 465 | 829 | 12207 |
ser |
321 | 21 | 1 | 0 | 343 |
xs |
147 | 6 | 0 | 11 | 164 |
| Total | 28288 | 1156 | 930 | 1447 | 31821 |
Full analysis report: see analysis-jsoniq in artifacts.
QT3 Test Results - Parser:
|
| Test Suite | Passing | Failing | Errors | Skipped | Total |
|---|---|---|---|---|---|
app |
2024 | 38 | 88 | 7 | 2157 |
array |
207 | 0 | 1 | 1 | 209 |
fn |
10078 | 343 | 216 | 498 | 11135 |
map |
220 | 0 | 0 | 0 | 220 |
math |
149 | 0 | 0 | 0 | 149 |
misc |
719 | 64 | 28 | 60 | 871 |
op |
4284 | 14 | 27 | 41 | 4366 |
prod |
10571 | 442 | 365 | 829 | 12207 |
ser |
343 | 0 | 0 | 0 | 343 |
xs |
153 | 0 | 0 | 11 | 164 |
| Total | 28748 | 901 | 725 | 1447 | 31821 |
Full analysis report: see analysis-xquery in artifacts.
HenrikPaetzold
force-pushed
the
henrik/formatting-tests
branch
from
August 16, 2026 07:36
9b079d7 to
695a4d3
Compare
HenrikPaetzold
force-pushed
the
henrik/formatting-tests
branch
from
August 16, 2026 07:44
695a4d3 to
565d67f
Compare
HenrikPaetzold
marked this pull request as ready for review
August 16, 2026 07:47
HenrikPaetzold
force-pushed
the
henrik/formatting-tests
branch
2 times, most recently
from
August 16, 2026 08:12
ca8b779 to
978154e
Compare
HenrikPaetzold
force-pushed
the
henrik/formatting-tests
branch
from
August 16, 2026 08:57
978154e to
d0e2b50
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This Pull Request adds runtime tests for the ICU interface, built from the example tables in
the F&O 3.1 specification. Expected values are derived from the spec and from CLDR.
Several things that failed, have been fixed:
[F]and[P]ignored their default presentation modifiern, returning an abbreviationresp. a hard-coded string instead of a name.
when the full name fitted the maximum, and accepting an abbreviation below the minimum
(German
[MN,3-3]gaveJinstead ofJan).eqandstring-lengthon results that looked correct.o(...)specifier fell back to cardinals in fr/it/es but to ordinals inde/en, purely from how CLDR names its rule sets.
AHused ICU's astronomical Islamic calendar; the tabular variant matches the spec example.