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

Side by Side Diff: dart/frog/leg/lib/mockimpl.dart

Issue 9426037: Source in string_buffer from runtime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 | « dart/frog/leg/lib/coreimpl.dart ('k') | dart/tests/co19/co19-leg.status » ('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 // Mocks of classes and interfaces that Leg cannot read directly. 5 // Mocks of classes and interfaces that Leg cannot read directly.
6 6
7 // TODO(ahe): Remove this file. 7 // TODO(ahe): Remove this file.
8 8
9 class JSSyntaxRegExp implements RegExp { 9 class JSSyntaxRegExp implements RegExp {
10 JSSyntaxRegExp(String pattern, 10 JSSyntaxRegExp(String pattern,
11 [bool multiLine = false, 11 [bool multiLine = false,
12 bool ignoreCase = false]) { 12 bool ignoreCase = false]) {
13 throw 'JSSyntaxRegExp is not implemented'; 13 throw 'JSSyntaxRegExp is not implemented';
14 } 14 }
15 } 15 }
16 16
17 class StringBufferImpl {
18 StringBufferImpl([content]) {
19 throw 'StringBufferImpl is not implemented';
20 }
21 }
22
23 class ReceivePortFactory { 17 class ReceivePortFactory {
24 factory ReceivePort() { 18 factory ReceivePort() {
25 throw 'factory ReceivePort is not implemented'; 19 throw 'factory ReceivePort is not implemented';
26 } 20 }
27 21
28 factory ReceivePort.singleShot() { 22 factory ReceivePort.singleShot() {
29 throw 'factory ReceivePort.singleShot is not implemented'; 23 throw 'factory ReceivePort.singleShot is not implemented';
30 } 24 }
31 } 25 }
32 26
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } 266 }
273 String twoDigitMinutes = 267 String twoDigitMinutes =
274 twoDigits(inMinutes.remainder(Duration.MINUTES_PER_HOUR)); 268 twoDigits(inMinutes.remainder(Duration.MINUTES_PER_HOUR));
275 String twoDigitSeconds = 269 String twoDigitSeconds =
276 twoDigits(inSeconds.remainder(Duration.SECONDS_PER_MINUTE)); 270 twoDigits(inSeconds.remainder(Duration.SECONDS_PER_MINUTE));
277 String threeDigitMs = 271 String threeDigitMs =
278 threeDigits(inMilliseconds.remainder(Duration.MILLISECONDS_PER_SECOND)); 272 threeDigits(inMilliseconds.remainder(Duration.MILLISECONDS_PER_SECOND));
279 return "${inHours}:${twoDigitMinutes}:${twoDigitSeconds}.${threeDigitMs}"; 273 return "${inHours}:${twoDigitMinutes}:${twoDigitSeconds}.${threeDigitMs}";
280 } 274 }
281 } 275 }
OLDNEW
« no previous file with comments | « dart/frog/leg/lib/coreimpl.dart ('k') | dart/tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698