LCOV - code coverage report
Current view: top level - package_resolver-1.0.2/lib/src - async_package_resolver.dart (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 0 10 0.0 %
Date: 2017-10-10 20:17:03 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_resolver.dart';
       8             : import 'sync_package_resolver.dart';
       9             : 
      10             : /// An implementation of [PackageResolver] that wraps a [SyncPackageResolver].
      11             : class AsyncPackageResolver implements PackageResolver {
      12             :   /// The wrapped [SyncPackageResolver].
      13             :   final SyncPackageResolver _inner;
      14             : 
      15           0 :   AsyncPackageResolver(this._inner);
      16             : 
      17             :   Future<Map<String, Uri>> get packageConfigMap async =>
      18           0 :       _inner.packageConfigMap;
      19             : 
      20           0 :   Future<Uri> get packageConfigUri async => _inner.packageConfigUri;
      21           0 :   Future<Uri> get packageRoot async => _inner.packageRoot;
      22           0 :   Future<SyncPackageResolver> get asSync async => _inner;
      23           0 :   Future<String> get processArgument async => _inner.processArgument;
      24             : 
      25           0 :   Future<Uri> resolveUri(packageUri) async => _inner.resolveUri(packageUri);
      26             :   Future<Uri> urlFor(String package, [String path]) async =>
      27           0 :       _inner.urlFor(package, path);
      28           0 :   Future<Uri> packageUriFor(url) async => _inner.packageUriFor(url);
      29             :   Future<String> packagePath(String package) async =>
      30           0 :       _inner.packagePath(package);
      31             : }

Generated by: LCOV version 1.13