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

Side by Side Diff: dart/pkg/unittest/config.dart

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month 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 | « dart/pkg/unittest/collection_matchers.dart ('k') | dart/pkg/unittest/core_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 part of unittest;
2
3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 // 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
5 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
6 4
7 /** This file is sourced by unitest.dart. */ 5 /** This file is sourced by unitest.dart. */
8 6
9 /** 7 /**
10 * Hooks to configure the unittest library for different platforms. This class 8 * Hooks to configure the unittest library for different platforms. This class
11 * implements the API in a platform-independent way. Tests that want to take 9 * implements the API in a platform-independent way. Tests that want to take
12 * advantage of the platform can create a subclass and override methods from 10 * advantage of the platform can create a subclass and override methods from
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Currently e.message works in dartium, but not in dartc. 142 // Currently e.message works in dartium, but not in dartc.
145 handleExternalError(e, String message) => 143 handleExternalError(e, String message) =>
146 _reportTestError('$message\nCaught $e', ''); 144 _reportTestError('$message\nCaught $e', '');
147 145
148 _postMessage(String message) { 146 _postMessage(String message) {
149 // In dart2js browser tests, the JavaScript-based test controller 147 // In dart2js browser tests, the JavaScript-based test controller
150 // intercepts calls to print and listens for "secret" messages. 148 // intercepts calls to print and listens for "secret" messages.
151 print(message); 149 print(message);
152 } 150 }
153 } 151 }
OLDNEW
« no previous file with comments | « dart/pkg/unittest/collection_matchers.dart ('k') | dart/pkg/unittest/core_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698