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

Side by Side Diff: tools/testing/dart/browser_test.dart

Issue 11575028: Moved the testing scripts to the new import/library/part syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « tools/test.dart ('k') | tools/testing/dart/co19_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) 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 part of test_suite;
6
5 String getHtmlContents(String title, 7 String getHtmlContents(String title,
6 Path controllerScript, 8 Path controllerScript,
7 Path dartJsScript, 9 Path dartJsScript,
8 String scriptType, 10 String scriptType,
9 Path sourceScript) => 11 Path sourceScript) =>
10 """ 12 """
11 <!DOCTYPE html> 13 <!DOCTYPE html>
12 <html> 14 <html>
13 <head> 15 <head>
14 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 16 <meta http-equiv="X-UA-Compatible" content="IE=edge">
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 import '${dartHome.append('pkg/unittest/lib/unittest.dart')}' as unittest; 60 import '${dartHome.append('pkg/unittest/lib/unittest.dart')}' as unittest;
59 import '${dartHome.append('pkg/unittest/lib/html_config.dart')}' as config; 61 import '${dartHome.append('pkg/unittest/lib/html_config.dart')}' as config;
60 import '${library}' as Test; 62 import '${library}' as Test;
61 63
62 main() { 64 main() {
63 config.useHtmlConfiguration(); 65 config.useHtmlConfiguration();
64 unittest.group('', Test.main); 66 unittest.group('', Test.main);
65 } 67 }
66 """; 68 """;
67 69
OLDNEW
« no previous file with comments | « tools/test.dart ('k') | tools/testing/dart/co19_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698