Files
clide/test
jpmschweitzerandClaude Opus 4.7 eeb2ee4b82
test / unit + widget + golden + a11y (push) Failing after 30s
test / integration_test (xvfb) (push) Has been skipped
test / bundle smoke (xvfb 5s) (push) Has been skipped
test / daemon subprocess + web WASM smoke (push) Has been skipped
test / dart doc (lib API) (push) Failing after 1m2s
test sweep: mop up kernel/src/theme residuals (T-91)
10 small tests in test/kernel/src/theme/mop_up_test.dart covering the
scattered last-mile gaps across the theme subsystem:

- ClideTheme.of and ClideTheme.controllerOf inherited-widget lookups
  (both happy path + the FlutterError-throw branch when no ancestor).
- contrast._composite alpha-mix branch via a partially-transparent
  foreground in contrastRatio.
- ContrastFailure.toString format with embedded pair name / ratio /
  minimum.
- ThemeLoader.fromYamlString FormatException on a non-map root.
- ThemeLoader.fromFile happy path with a tempdir YAML.
- Palette.names and SemanticRoles.roles iterables.

Coverage: theme/controller.dart 37/42 -> 42/42; theme/contrast.dart
54/64 -> 62/64 (remaining 2 lines are the failingPairs add-to-list
path, needs a constructed-broken SurfaceTokens to fire);
theme/loader.dart 48/54 -> 53/54 (1 const-ctor phantom);
theme/palette.dart 9/10 -> 10/10; theme/semantic.dart 2/3 -> 3/3.

Total coverage 74.55% -> 74.79%.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 09:13:43 +02:00
..
2026-05-03 21:51:59 +02:00
2026-05-03 21:51:59 +02:00
2026-05-03 21:51:59 +02:00
2026-05-03 21:51:59 +02:00
2026-05-03 21:52:39 +02:00