LCOV - code coverage report
Current view: top level - package_resolver-1.0.2/lib/src - no_package_resolver.dart (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 0 3 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 'async_package_resolver.dart';
       6             : import 'package_resolver.dart';
       7             : import 'sync_package_resolver.dart';
       8             : import 'utils.dart';
       9             : 
      10             : /// A package resolution strategy that is unable to resolve any `package:` URIs.
      11             : class NoPackageResolver implements SyncPackageResolver {
      12             :   Map<String, Uri> get packageConfigMap => null;
      13             :   Uri get packageConfigUri => null;
      14             :   Uri get packageRoot => null;
      15             :   String get processArgument => null;
      16             : 
      17           0 :   PackageResolver get asAsync => new AsyncPackageResolver(this);
      18             : 
      19             :   Uri resolveUri(packageUri) {
      20             :     // Verify that the URI is valid.
      21           0 :     asPackageUri(packageUri, "packageUri");
      22             :     return null;
      23             :   }
      24             : 
      25             :   Uri urlFor(String package, [String path]) => null;
      26             : 
      27             :   Uri packageUriFor(url) {
      28             :     // Verify that the URI is a valid type.
      29           0 :     asUri(url, "url");
      30             :     return null;
      31             :   }
      32             : 
      33             :   String packagePath(String package) => null;
      34             : }

Generated by: LCOV version 1.13