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

Duit-Foundation / duit_kernel / 20897307069

11 Jan 2026 03:13PM UTC coverage: 75.211% (-1.5%) from 76.681%
20897307069

push

github

web-flow
feat: Migration to capability-based API pt3 (#52)

* feat: Add scripting and transport capabilities

* Introduced ScriptingCapabilityDelegate with methods for script evaluation and execution.
* Added TransportCapabilityDelegate for server communication and resource management.
* Updated index.dart to export new capabilities.
* Enhanced UIDriver to include new capability delegates.

* wip

* wip

* wip

* refactor: Update logging methods for consistency

* Replaced instances of `driver.error` with `driver.logError` for improved logging consistency.
* Updated logging method names in `LoggingManager` and `LoggingCapabilityDelegate` to include the `log` prefix.
* Adjusted logging calls in `DuitRegistry` to reflect the new method names.

* wip

3 of 66 new or added lines in 9 files covered. (4.55%)

2 existing lines in 2 files now uncovered.

1781 of 2368 relevant lines covered (75.21%)

4.88 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/src/capabilities/native_module_capability.dart
1
import "package:duit_kernel/duit_kernel.dart";
2
import "package:duit_kernel/src/capabilities/driver_ref.dart";
3
import "package:meta/meta.dart";
4

5
mixin NativeModuleCapabilityDelegate implements DriverRefHolder {
NEW
6
  @override
×
7
  @mustBeOverridden
8
  void linkDriver(UIDriver driver) => throw const MissingCapabilityMethodImplementation(
9
        "linkDriver",
10
        "NativeModuleCapabilityDelegate",
11
      );
12

NEW
13
  @mustBeOverridden
×
14
  Future<void> initNativeModule() => throw const MissingCapabilityMethodImplementation(
15
        "initNativeModule",
16
        "NativeModuleCapabilityDelegate",
17
      );
18
}
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

© 2026 Coveralls, Inc