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

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
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/isolate/timer_cancel1_test.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 #library('multiple_timer_test');
6
5 #import("dart:isolate"); 7 #import("dart:isolate");
6 8
7 class MultipleTimerTest { 9 class MultipleTimerTest {
8 10
9 static final int TIMEOUT1 = 1000; 11 static final int TIMEOUT1 = 1000;
10 static final int TIMEOUT2 = 2000; 12 static final int TIMEOUT2 = 2000;
11 static final int TIMEOUT3 = 500; 13 static final int TIMEOUT3 = 500;
12 static final int TIMEOUT4 = 1500; 14 static final int TIMEOUT4 = 1500;
13 15
14 static void testMultipleTimer() { 16 static void testMultipleTimer() {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 static int _startTime2; 68 static int _startTime2;
67 static int _startTime3; 69 static int _startTime3;
68 static int _startTime4; 70 static int _startTime4;
69 static List<int> _order; 71 static List<int> _order;
70 static int _message; 72 static int _message;
71 } 73 }
72 74
73 main() { 75 main() {
74 MultipleTimerTest.testMain(); 76 MultipleTimerTest.testMain();
75 } 77 }
OLDNEW
« no previous file with comments | « tests/isolate/isolate.status ('k') | tests/isolate/timer_cancel1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698