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

Side by Side Diff: mojo/dart/testing/lib/expect.dart

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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
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 /** 5 /**
6 * This library contains an Expect class with static methods that can be used 6 * This library contains an Expect class with static methods that can be used
7 * for simple unit-tests. 7 * for simple unit-tests.
8 */ 8 */
9 library expect; 9 library expect;
10 10
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 bool _identical(a, b) => identical(a, b); 372 bool _identical(a, b) => identical(a, b);
373 373
374 typedef bool _CheckExceptionFn(exception); 374 typedef bool _CheckExceptionFn(exception);
375 375
376 class ExpectException implements Exception { 376 class ExpectException implements Exception {
377 ExpectException(this.message); 377 ExpectException(this.message);
378 String toString() => message; 378 String toString() => message;
379 String message; 379 String message;
380 } 380 }
OLDNEW
« no previous file with comments | « mojo/dart/testing/lib/async_helper.dart ('k') | mojo/dart/testing/lib/validation_test_input_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698