Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Side by Side Diff: pkg/analysis_server/test/mocks.dart

Issue 137853026: Basic communication protocol for server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2014, 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 library mocks;
6
7 import '../lib/src/channel.dart';
devoncarew 2014/01/20 22:35:01 You can also use a self-reference here: import 'p
Brian Wilkerson 2014/01/21 03:21:20 That does seem somewhat cleaner, though. What's th
devoncarew 2014/01/21 04:16:08 Within lib, I've only ever used relative file refe
8
9 /**
10 * Instances of the class [MockChannel] implement a [CommunicationChannel] that
11 * does nothing in response to every method invoked on it.
12 */
13 class MockChannel implements CommunicationChannel {
14 dynamic noSuchMethod(Invocation invocation) {
15 // Do nothing
16 }
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698