• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

eclipse-aascw / aas-core-codegen / 35359897208
90%

Build:
DEFAULT BRANCH: main
Ran 18 Sep 2026 03:09PM UTC
Jobs 3
Files 264
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

18 Sep 2026 03:01PM UTC coverage: 85.887% (+0.07%) from 85.821%
35359897208

push

github

web-flow
Test the XSD edge cases of the primitive types (#728)

We add tests to pin down compatibility among the SDKs and their precise
shared behavior.

A recorded example under `Xml/Expected` has to serialize back to itself.
That rules out every interesting double, as
the six targets do not agree on how to write one -- the largest double
goes out as `1.7976931348623157E308` from Java and as
`1.7976931348623157e+308` from the others, and even 100.0 is `100` in
TypeScript -- and it rules out a value which is read in one form and
written in another: `1` for a boolean comes back as `true`, and
a base64 with whitespace between its characters comes back without it.
Those are asserted in code instead, by the generated tests: each target
reads the first recorded example with the content of one element
replaced, and asserts the *value*, never the text. That covers `1e400`
and `-1e400` rounding to an infinity, `1e-400` rounding to zero,
the three named literals, the four literals of `xs:boolean`, and
a `xs:base64Binary` both with whitespace inside it and empty.

We cover with additional test data the spellings which are not
`INF`, `-INF` or `NaN`; numerals which are no numerals, such as `0x10`,
`1.0abc` and `1.0e`; an internal space, which survives the collapsing as
a single space and leaves `2  3` no number; both ends of the `xs:long`
range; the four literals of `xs:boolean` against `TRUE`, `True`, `yes`
and `2`; and one per rule of the `xs:base64Binary` production -- a length
which is no multiple of four, a character outside the alphabet, an equals
sign in the middle, and a `SG==` whose dropped bits are not zero.

XSD 1.1 accepts `+INF`, while XSD 1.0 rejects it. For the sake of
robustness, we also accept `+INF`.

One thing could not be covered, and is left alone deliberately.
A non-finite JSON literal can not be a fixture at all, as every target
parses the file as JSON before handing it over, so `NaN` breaks
the harness instead of reaching the reader.

222 of 222 new or added lines in 8 files covered. (100.0%)

34975 of 40722 relevant lines covered (85.89%)

2.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3.10 - 35359897208.1 18 Sep 2026 03:09PM UTC 264
85.89
GitHub Action Run
2 3.11 - 35359897208.2 18 Sep 2026 03:09PM UTC 264
85.89
GitHub Action Run
3 3.12 - 35359897208.3 18 Sep 2026 03:09PM UTC 264
85.89
GitHub Action Run
Source Files on build 35359897208
  • Tree
  • List 264
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • baa03b9a on github
  • Prev Build on main (#35355683695)
  • Next Build on main (#35374092898)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc