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

dart-lang / native / 16545303860
92%

Build:
DEFAULT BRANCH: main
Ran 27 Jul 2025 12:22AM UTC
Jobs 5
Files 154
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

25 Jul 2025 09:40AM UTC coverage: 77.98% (+0.03%) from 77.954%
16545303860

push

github

web-flow
[json_syntax_generator] Make `JsonReader` private (#2446)

Addressing https://github.com/dart-lang/native/pull/2445#discussion_r2230432015

We can't make `JsonObjectSyntax` private, we use it as the type for `Map<String, Object?>` to enable overriding fields with this type with a class extending `JsonObjectSyntax` in subclasses.

```dart
AssetSyntax({required JsonObjectSyntax? encoding, required String type})
```

And then `DataAssetEncodingSyntax` is a valid type to be passed to `encoding`

```dart
class DataAssetEncodingSyntax extends _JsonObjectSyntax {
```

It would be cleaner if the runtime library would be a standalone package, and all the generated files would import that. But that requires us to publish that library on pub.dev for rolling hooks_runner into flutter_tools. So maybe the simplest solution is to keep it as is for now. (If we ever decide to make the syntax generator a fully supported project we can do it the clean way.) WDYT?

12 of 12 new or added lines in 5 files covered. (100.0%)

12 existing lines in 2 files now uncovered.

9487 of 12166 relevant lines covered (77.98%)

21.22 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
94.69
0.3% pkgs/ffigen/lib/src/code_generator/objc_interface.dart
10
93.49
0.25% pkgs/ffigen/lib/src/code_generator/objc_methods.dart
Subprojects
ID Flag name Job ID Ran Files Coverage
5 objective_c 16545303860.5 27 Jul 2025 12:22AM UTC 82
80.38
GitHub Action Run
4 native_pkgs_windows 16517762869.4 25 Jul 2025 08:54AM UTC 69
73.23
GitHub Action Run
5 swiftgen 16460295419.5 23 Jul 2025 02:50AM UTC 3
93.42
GitHub Action Run
5 native_pkgs_ubuntu 16517762869.5 25 Jul 2025 08:48AM UTC 69
70.11
GitHub Action Run
3 native_pkgs_macos 16517762869.3 25 Jul 2025 08:49AM UTC 69
71.15
GitHub Action Run
Source Files on build 16545303860
  • Tree
  • List 154
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16545303860
  • 99ec5171 on github
  • Prev Build on main (#16517762869)
  • Next Build on main (#16545347150)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc