Add support for hybrid VM/browser tests. (#509)
This adds `spawnHybridUri()` and `spawnHybridCode()` methods that spawn VM isolates even when called from the browser. It still needs some additional work to close the isolates when the test ends by default. See #109
Showing
- CHANGELOG.md 5 additions, 0 deletionsCHANGELOG.md
- README.md 76 additions, 1 deletionREADME.md
- image/hybrid.png 0 additions, 0 deletionsimage/hybrid.png
- lib/src/frontend/spawn_hybrid.dart 172 additions, 0 deletionslib/src/frontend/spawn_hybrid.dart
- lib/src/runner/hybrid_listener.dart 88 additions, 0 deletionslib/src/runner/hybrid_listener.dart
- lib/src/runner/plugin/platform_helpers.dart 1 addition, 0 deletionslib/src/runner/plugin/platform_helpers.dart
- lib/src/runner/remote_listener.dart 5 additions, 2 deletionslib/src/runner/remote_listener.dart
- lib/src/runner/runner_test.dart 32 additions, 17 deletionslib/src/runner/runner_test.dart
- lib/src/runner/spawn_hybrid.dart 65 additions, 0 deletionslib/src/runner/spawn_hybrid.dart
- lib/src/util/dart.dart 6 additions, 3 deletionslib/src/util/dart.dart
- lib/src/utils.dart 22 additions, 0 deletionslib/src/utils.dart
- lib/test.dart 1 addition, 0 deletionslib/test.dart
- pubspec.yaml 2 additions, 1 deletionpubspec.yaml
- test/runner/hybrid_test.dart 511 additions, 0 deletionstest/runner/hybrid_test.dart
Loading
Please register or sign in to comment