LCOV - code coverage report
Current view: top level - test_core-0.4.9/lib/src/runner/plugin - environment.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 1 7 14.3 %
Date: 2021-11-28 14:37:50 Functions: 0 0 -

          Line data    Source code
       1             : // Copyright (c) 2016, the Dart project authors.  Please see the AUTHORS file
       2             : // for details. All rights reserved. Use of this source code is governed by a
       3             : // BSD-style license that can be found in the LICENSE file.
       4             : 
       5             : import 'dart:async';
       6             : 
       7             : import 'package:async/async.dart';
       8             : 
       9             : import '../environment.dart';
      10             : 
      11             : /// The default environment for platform plugins.
      12             : class PluginEnvironment implements Environment {
      13             :   @override
      14             :   final supportsDebugging = false;
      15           0 :   @override
      16           0 :   Stream get onRestart => StreamController.broadcast().stream;
      17             : 
      18          22 :   const PluginEnvironment();
      19             : 
      20           0 :   @override
      21             :   Uri? get observatoryUrl => null;
      22             : 
      23           0 :   @override
      24             :   Uri? get remoteDebuggerUrl => null;
      25             : 
      26           0 :   @override
      27           0 :   CancelableOperation displayPause() => throw UnsupportedError(
      28             :       'PluginEnvironment.displayPause is not supported.');
      29             : }

Generated by: LCOV version 1.14