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

valkyrjaio / sindri-java / 30375996612 / 1
100%
26.x: 100%

Build:
DEFAULT BRANCH: 26.x
Ran 28 Jul 2026 03:59PM UTC
Files 90
Run time 2s
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

28 Jul 2026 03:58PM UTC coverage: 99.951%. Remained the same
30375996612.1

push

github

web-flow
[Http] Use the Java-native anchored regex form in the imperative route fixture (#56)

# Description

`GenerateDataFromConfigCommandTest`'s imperative-`getRoutes()` fixture
declares a
hand-written `DynamicRoute` regex, `/^\/manual\/(?<id>\d+)$/`. Sindri
passes a
hand-written regex through verbatim (`GenerateDataFromAst` reads
argument 2 and
emits it unchanged), so the fixture is modelling what a developer would
actually
type in a provider's `getRoutes()`.

Since v26.4.0 the framework stores dynamic route regexes as Java-native
anchored
patterns — `Regex.START` / `Regex.END` are now `^` / `$`, and `Matcher`
compiles
the stored regex directly instead of stripping PCRE delimiters first. A
regex
still carrying the `/…/` framing would no longer match anything at
runtime, so
no Java app would write one. The fixture is the only place in the repo
still
spelling it that way, which makes it read as the supported form.

Nothing asserts this value, so this is purely a fidelity fix to the
fixture; the
pass-through behaviour it exercises is unchanged. `./gradlew ci` passes.

## Types of changes

- [x] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`GenerateDataFromConfigCommandTest.java`** — the `manual.show`
fixture route
  now carries `^\/manual\/(?<id>\d+)$` instead of the PCRE-delimited
`/^\/manual\/(?<id>\d+)$/`, with a comment noting that a hand-written
regex is
emitted verbatim and so must use the form the framework itself now
produces.

526 of 527 branches covered (99.81%)

Branch coverage included in aggregate %.

1515 of 1515 relevant lines covered (100.0%)

4.39 hits per line

Source Files on job 30375996612.1
  • Tree
  • List 90
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30375996612
  • 6d59a16f on github
  • Prev Job for on 26.x (#30375967437.1)
  • Next Job for on 26.x (#30376190615.1)
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