| Index: pkg/analysis_server/test/index/store/single_source_container.dart
|
| diff --git a/pkg/analysis_server/test/index/store/single_source_container.dart b/pkg/analysis_server/test/index/store/single_source_container.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4968217698834d7cbb02a626417b86ff5c889f17
|
| --- /dev/null
|
| +++ b/pkg/analysis_server/test/index/store/single_source_container.dart
|
| @@ -0,0 +1,20 @@
|
| +// 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 test.index.store_single_source_container;
|
| +
|
| +import 'package:analyzer/src/generated/source.dart';
|
| +
|
| +
|
| +/**
|
| + * A [SourceContainer] with a single [Source].
|
| + */
|
| +class SingleSourceContainer implements SourceContainer {
|
| + final Source _source;
|
| +
|
| + SingleSourceContainer(this._source);
|
| +
|
| + @override
|
| + bool contains(Source source) => source == _source;
|
| +}
|
|
|