| Index: pkg/mock/lib/src/util.dart
|
| diff --git a/pkg/mock/lib/src/util.dart b/pkg/mock/lib/src/util.dart
|
| deleted file mode 100644
|
| index 5341b88029e6d40871d1b740d27fd12ac099ede9..0000000000000000000000000000000000000000
|
| --- a/pkg/mock/lib/src/util.dart
|
| +++ /dev/null
|
| @@ -1,28 +0,0 @@
|
| -// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE file.
|
| -
|
| -library mock.util;
|
| -
|
| -import 'package:matcher/matcher.dart';
|
| -
|
| -/** Utility function for optionally qualified method names */
|
| -String qualifiedName(owner, String method) {
|
| - if (owner == null || identical(owner, anything)) {
|
| - return method;
|
| - } else if (owner is Matcher) {
|
| - Description d = new StringDescription();
|
| - d.addDescriptionOf(owner);
|
| - d.add('.');
|
| - d.add(method);
|
| - return d.toString();
|
| - } else {
|
| - return '$owner.$method';
|
| - }
|
| -}
|
| -
|
| -/** Sentinel value for representing no argument. */
|
| -class _Sentinel {
|
| - const _Sentinel();
|
| -}
|
| -const NO_ARG = const _Sentinel();
|
|
|