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

Side by Side Diff: pkg/unittest/lib/src/interfaces.dart

Issue 10917275: Update unittest to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « pkg/unittest/lib/src/html_print.dart ('k') | pkg/unittest/lib/src/map_matchers.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // To decouple the reporting of errors, and allow for extensibility of 5 // To decouple the reporting of errors, and allow for extensibility of
6 // matchers, we make use of some interfaces. 6 // matchers, we make use of some interfaces.
7 7
8 /** 8 /**
9 * The ErrorFormatter type is used for functions that 9 * The ErrorFormatter type is used for functions that
10 * can be used to build up error reports upon [expect] failures. 10 * can be used to build up error reports upon [expect] failures.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 * the [reason] (argument from [expect]), some additonal [matchState] 90 * the [reason] (argument from [expect]), some additonal [matchState]
91 * generated by the [matcher], and a verbose flag which controls in 91 * generated by the [matcher], and a verbose flag which controls in
92 * some cases how much [matchState] information is used. It will use 92 * some cases how much [matchState] information is used. It will use
93 * these to create a detailed error message (typically by calling 93 * these to create a detailed error message (typically by calling
94 * an [ErrorFormatter]) and then call [fail] with this message. 94 * an [ErrorFormatter]) and then call [fail] with this message.
95 */ 95 */
96 void failMatch(actual, Matcher matcher, String reason, 96 void failMatch(actual, Matcher matcher, String reason,
97 MatchState matchState, bool verbose); 97 MatchState matchState, bool verbose);
98 } 98 }
99 99
OLDNEW
« no previous file with comments | « pkg/unittest/lib/src/html_print.dart ('k') | pkg/unittest/lib/src/map_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698