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

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

Issue 12940007: Workaround issue 8080: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | 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 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 if (hasDynamicTypeError) { 1496 if (hasDynamicTypeError) {
1497 // TODO(ahe): Remove this warning when co19 no longer uses this tag. 1497 // TODO(ahe): Remove this warning when co19 no longer uses this tag.
1498 1498
1499 // @dynamic-type-error has been replaced by tests that use 1499 // @dynamic-type-error has been replaced by tests that use
1500 // tests/co19/src/Utils/dynamic_check.dart to dynamically detect 1500 // tests/co19/src/Utils/dynamic_check.dart to dynamically detect
1501 // if a test is running in checked mode or not and change its 1501 // if a test is running in checked mode or not and change its
1502 // expectations accordingly. 1502 // expectations accordingly.
1503 1503
1504 // Using stderr.writeString to avoid breaking dartc/junit_tests 1504 // Using stderr.writeString to avoid breaking dartc/junit_tests
1505 // which parses the output of the --list option. 1505 // which parses the output of the --list option.
1506 stderr.writeln( 1506
1507 "Warning: deprecated @dynamic-type-error tag used in $filePath"); 1507 // Removed the print below. Tracking of this should be done in the bug
1508 // and not in the developer's terminals.
1509 // stderr.writeln(
1510 // "Warning: deprecated @dynamic-type-error tag used in $filePath");
1508 } 1511 }
1509 1512
1510 return { 1513 return {
1511 "vmOptions": <List>[[]], 1514 "vmOptions": <List>[[]],
1512 "dartOptions": null, 1515 "dartOptions": null,
1513 "packageRoot": null, 1516 "packageRoot": null,
1514 "hasCompileError": hasCompileError, 1517 "hasCompileError": hasCompileError,
1515 "hasRuntimeError": hasRuntimeError, 1518 "hasRuntimeError": hasRuntimeError,
1516 "isStaticClean" : !hasStaticWarning, 1519 "isStaticClean" : !hasStaticWarning,
1517 "otherScripts": <String>[], 1520 "otherScripts": <String>[],
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
1960 * $pass tests are expected to pass 1963 * $pass tests are expected to pass
1961 * $failOk tests are expected to fail that we won't fix 1964 * $failOk tests are expected to fail that we won't fix
1962 * $fail tests are expected to fail that we should fix 1965 * $fail tests are expected to fail that we should fix
1963 * $crash tests are expected to crash that we should fix 1966 * $crash tests are expected to crash that we should fix
1964 * $timeout tests are allowed to timeout 1967 * $timeout tests are allowed to timeout
1965 * $compileErrorSkip tests are skipped on browsers due to compile-time error 1968 * $compileErrorSkip tests are skipped on browsers due to compile-time error
1966 """; 1969 """;
1967 print(report); 1970 print(report);
1968 } 1971 }
1969 } 1972 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698