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

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

Issue 10977027: Update all occurrences of raw strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Don't disable just yet. Created 8 years, 2 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/standalone/io/path_test.dart ('k') | utils/template/uitest.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 /** 5 /**
6 * Classes and methods for enumerating and preparing tests. 6 * Classes and methods for enumerating and preparing tests.
7 * 7 *
8 * This library includes: 8 * This library includes:
9 * 9 *
10 * - Creating tests by listing all the Dart files in certain directories, 10 * - Creating tests by listing all the Dart files in certain directories,
(...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 } 680 }
681 681
682 var extraCommand = optionsFromFile['extraCommand']; 682 var extraCommand = optionsFromFile['extraCommand'];
683 if (extraCommand != null) { 683 if (extraCommand != null) {
684 var args = optionsFromFile['extraCommandArgs']; 684 var args = optionsFromFile['extraCommandArgs'];
685 // As a special case, a command of "dart" should run with the 685 // As a special case, a command of "dart" should run with the
686 // dart VM that we are testing. 686 // dart VM that we are testing.
687 if (extraCommand == 'dart') { 687 if (extraCommand == 'dart') {
688 extraCommand = TestUtils.vmFileName(configuration); 688 extraCommand = TestUtils.vmFileName(configuration);
689 } 689 }
690 args= args.map((arg)=>arg.replaceAll(@"$dartDir", dartDir.toString())); 690 args= args.map((arg)=>arg.replaceAll(r"$dartDir", dartDir.toString()));
Lasse Reichstein Nielsen 2012/09/26 06:18:43 While you are here: space before '='.
691 commands.add(new Command(extraCommand, args)); 691 commands.add(new Command(extraCommand, args));
692 } 692 }
693 693
694 // Construct the command that executes the browser test 694 // Construct the command that executes the browser test
695 List<String> args; 695 List<String> args;
696 if (runtime == 'ie' || runtime == 'ff' || runtime == 'chrome' || 696 if (runtime == 'ie' || runtime == 'ff' || runtime == 'chrome' ||
697 runtime == 'safari' || runtime == 'opera' || runtime == 'dartium') { 697 runtime == 'safari' || runtime == 'opera' || runtime == 'dartium') {
698 args = [dartDir.append('tools/testing/run_selenium.py').toNativePath(), 698 args = [dartDir.append('tools/testing/run_selenium.py').toNativePath(),
699 '--browser=$runtime', 699 '--browser=$runtime',
700 '--timeout=${configuration["timeout"] - 2}', 700 '--timeout=${configuration["timeout"] - 2}',
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 * $noCrash tests are expected to be flaky but not crash 1469 * $noCrash tests are expected to be flaky but not crash
1470 * $pass tests are expected to pass 1470 * $pass tests are expected to pass
1471 * $failOk tests are expected to fail that we won't fix 1471 * $failOk tests are expected to fail that we won't fix
1472 * $fail tests are expected to fail that we should fix 1472 * $fail tests are expected to fail that we should fix
1473 * $crash tests are expected to crash that we should fix 1473 * $crash tests are expected to crash that we should fix
1474 * $timeout tests are allowed to timeout 1474 * $timeout tests are allowed to timeout
1475 """; 1475 """;
1476 print(report); 1476 print(report);
1477 } 1477 }
1478 } 1478 }
OLDNEW
« no previous file with comments | « tests/standalone/io/path_test.dart ('k') | utils/template/uitest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698