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

Side by Side Diff: tests/isolate/multiple_timer_test.dart

Issue 10830230: Add Timer implementation for dart2js. Also moves tests to appropriate location. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
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 #library('multiple_timer_test');
kasperl 2012/08/09 06:15:33 Usually we have a newline between the copyright no
Siggi Cherem (dart-lang) 2012/08/09 20:37:15 Done.
4 5
5 #import("dart:isolate"); 6 #import("dart:isolate");
6 7
7 class MultipleTimerTest { 8 class MultipleTimerTest {
8 9
9 static final int TIMEOUT1 = 1000; 10 static final int TIMEOUT1 = 1000;
10 static final int TIMEOUT2 = 2000; 11 static final int TIMEOUT2 = 2000;
11 static final int TIMEOUT3 = 500; 12 static final int TIMEOUT3 = 500;
12 static final int TIMEOUT4 = 1500; 13 static final int TIMEOUT4 = 1500;
13 14
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 static int _startTime2; 67 static int _startTime2;
67 static int _startTime3; 68 static int _startTime3;
68 static int _startTime4; 69 static int _startTime4;
69 static List<int> _order; 70 static List<int> _order;
70 static int _message; 71 static int _message;
71 } 72 }
72 73
73 main() { 74 main() {
74 MultipleTimerTest.testMain(); 75 MultipleTimerTest.testMain();
75 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698