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

Side by Side Diff: samples/tests/samples/dartcombat/dartcombat_test.dart

Issue 10836241: Move unittest from lib to pkg. (Closed) Base URL: http://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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 #library('dartcombat_tests'); 6 #library('dartcombat_tests');
7 7
8 #import('dart:html'); 8 #import('dart:html');
9 #import('dart:isolate'); 9 #import('dart:isolate');
10 #import('../../../../lib/unittest/unittest.dart'); 10 #import('../../../../pkg/unittest/unittest.dart');
11 #import('../../../../lib/unittest/html_config.dart'); 11 #import('../../../../pkg/unittest/html_config.dart');
12 #import('../../../dartcombat/dartcombatlib.dart'); 12 #import('../../../dartcombat/dartcombatlib.dart');
13 13
14 ReceivePort testPort; 14 ReceivePort testPort;
15 15
16 main() { 16 main() {
17 useHtmlConfiguration(); 17 useHtmlConfiguration();
18 testPort = new ReceivePort(); 18 testPort = new ReceivePort();
19 19
20 setupUI(); 20 setupUI();
21 // add relative URL to stylesheet to the correct location. Note: The CSS is 21 // add relative URL to stylesheet to the correct location. Note: The CSS is
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 void invokeNext() { 169 void invokeNext() {
170 closures[i](); 170 closures[i]();
171 i++; 171 i++;
172 if (i < length) { 172 if (i < length) {
173 window.setTimeout(expectAsync0(invokeNext), 0); 173 window.setTimeout(expectAsync0(invokeNext), 0);
174 } 174 }
175 } 175 }
176 window.setTimeout(expectAsync0(invokeNext), 0); 176 window.setTimeout(expectAsync0(invokeNext), 0);
177 } 177 }
178 } 178 }
OLDNEW
« no previous file with comments | « samples/markdown/test/markdown_test.dart ('k') | samples/tests/samples/lib/layout/layout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698