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

Unified Diff: pkg/mock/lib/src/responder.dart

Issue 1115483002: remove pkg/mock (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/mock/lib/src/mock.dart ('k') | pkg/mock/lib/src/result_matcher.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/mock/lib/src/responder.dart
diff --git a/pkg/mock/lib/src/responder.dart b/pkg/mock/lib/src/responder.dart
deleted file mode 100644
index ef0dd716838cae0a5ec7db86bca81e01465f01d8..0000000000000000000000000000000000000000
--- a/pkg/mock/lib/src/responder.dart
+++ /dev/null
@@ -1,21 +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.responder;
-
-import 'action.dart';
-
-/**
- * The behavior of a method call in the mock library is specified
- * with [Responder]s. A [Responder] has a [value] to throw
- * or return (depending on the type of [action]),
- * and can either be one-shot, multi-shot, or infinitely repeating,
- * depending on the value of [count (1, greater than 1, or 0 respectively).
- */
-class Responder {
- final Object value;
- final Action action;
- int count;
- Responder(this.value, [this.count = 1, this.action = Action.RETURN]);
-}
« no previous file with comments | « pkg/mock/lib/src/mock.dart ('k') | pkg/mock/lib/src/result_matcher.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698