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

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

Issue 11189101: Complete renaming of ie bots to ie9, to add ie10. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: 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 | « tools/testing/dart/test_runner.dart ('k') | utils/compiler/buildbot.py » ('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 1402 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 static String jsshellFileName(Map configuration) { 1413 static String jsshellFileName(Map configuration) {
1414 var executableSuffix = executableSuffix('jsshell'); 1414 var executableSuffix = executableSuffix('jsshell');
1415 var executable = 'jsshell$executableSuffix'; 1415 var executable = 'jsshell$executableSuffix';
1416 var jsshellDir = '${dartDir()}/tools/testing/bin'; 1416 var jsshellDir = '${dartDir()}/tools/testing/bin';
1417 return '$jsshellDir/$executable'; 1417 return '$jsshellDir/$executable';
1418 } 1418 }
1419 1419
1420 static bool usesWebDriver(String runtime) => Contains( 1420 static bool usesWebDriver(String runtime) => Contains(
1421 runtime, const <String>['dartium', 1421 runtime, const <String>['dartium',
1422 'ie9', 1422 'ie9',
1423 'ie10',
1423 'safari', 1424 'safari',
1424 'opera', 1425 'opera',
1425 'chrome', 1426 'chrome',
1426 'ff']); 1427 'ff']);
1427 1428
1428 static bool isBrowserRuntime(String runtime) => 1429 static bool isBrowserRuntime(String runtime) =>
1429 runtime == 'drt' || TestUtils.usesWebDriver(runtime); 1430 runtime == 'drt' || TestUtils.usesWebDriver(runtime);
1430 1431
1431 static bool isJsCommandLineRuntime(String runtime) => 1432 static bool isJsCommandLineRuntime(String runtime) =>
1432 Contains(runtime, const <String>['d8', 'jsshell']); 1433 Contains(runtime, const <String>['d8', 'jsshell']);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 * $noCrash tests are expected to be flaky but not crash 1478 * $noCrash tests are expected to be flaky but not crash
1478 * $pass tests are expected to pass 1479 * $pass tests are expected to pass
1479 * $failOk tests are expected to fail that we won't fix 1480 * $failOk tests are expected to fail that we won't fix
1480 * $fail tests are expected to fail that we should fix 1481 * $fail tests are expected to fail that we should fix
1481 * $crash tests are expected to crash that we should fix 1482 * $crash tests are expected to crash that we should fix
1482 * $timeout tests are allowed to timeout 1483 * $timeout tests are allowed to timeout
1483 """; 1484 """;
1484 print(report); 1485 print(report);
1485 } 1486 }
1486 } 1487 }
OLDNEW
« no previous file with comments | « tools/testing/dart/test_runner.dart ('k') | utils/compiler/buildbot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698