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

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

Issue 845793004: Update status files, replace "dartbug.com" with "Issue ". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/status_file_parser.dart ('k') | 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 executing tests. 6 * Classes and methods for executing tests.
7 * 7 *
8 * This module includes: 8 * This module includes:
9 * - Managing parallel execution of tests, including timeout checks. 9 * - Managing parallel execution of tests, including timeout checks.
10 * - Evaluating the output of each test as pass/fail/crash/timeout. 10 * - Evaluating the output of each test as pass/fail/crash/timeout.
(...skipping 1364 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 1375
1376 Expectation result(TestCase testCase) { 1376 Expectation result(TestCase testCase) {
1377 // Handle timeouts first 1377 // Handle timeouts first
1378 if (_result.didTimeout) return Expectation.TIMEOUT; 1378 if (_result.didTimeout) return Expectation.TIMEOUT;
1379 1379
1380 // Multitests are handled specially 1380 // Multitests are handled specially
1381 if (testCase.hasRuntimeError) { 1381 if (testCase.hasRuntimeError) {
1382 if (_rawOutcome == Expectation.RUNTIME_ERROR) return Expectation.PASS; 1382 if (_rawOutcome == Expectation.RUNTIME_ERROR) return Expectation.PASS;
1383 return Expectation.MISSING_RUNTIME_ERROR; 1383 return Expectation.MISSING_RUNTIME_ERROR;
1384 } 1384 }
1385 if (testCase.hasCompileError) {
1386 if (_rawOutcome == Expectation.RUNTIME_ERROR) return Expectation.PASS;
ricow1 2015/01/15 09:50:15 why?
Bill Hesse 2015/01/15 10:18:05 Change removed. The _negateOutcomeIfNegativeTest
1387 return Expectation.MISSING_COMPILETIME_ERROR ;
ricow1 2015/01/15 09:50:15 remove space before ;
1388 }
1385 1389
1386 return _negateOutcomeIfNegativeTest(_rawOutcome, testCase.isNegative); 1390 return _negateOutcomeIfNegativeTest(_rawOutcome, testCase.isNegative);
1387 } 1391 }
1388 } 1392 }
1389 1393
1390 1394
1391 class AnalysisCommandOutputImpl extends CommandOutputImpl { 1395 class AnalysisCommandOutputImpl extends CommandOutputImpl {
1392 // An error line has 8 fields that look like: 1396 // An error line has 8 fields that look like:
1393 // ERROR|COMPILER|MISSING_SOURCE|file:/tmp/t.dart|15|1|24|Missing source. 1397 // ERROR|COMPILER|MISSING_SOURCE|file:/tmp/t.dart|15|1|24|Missing source.
1394 final int ERROR_LEVEL = 0; 1398 final int ERROR_LEVEL = 0;
(...skipping 1558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2953 } 2957 }
2954 } 2958 }
2955 2959
2956 void eventAllTestsDone() { 2960 void eventAllTestsDone() {
2957 for (var listener in _eventListener) { 2961 for (var listener in _eventListener) {
2958 listener.allDone(); 2962 listener.allDone();
2959 } 2963 }
2960 _allDone(); 2964 _allDone();
2961 } 2965 }
2962 } 2966 }
OLDNEW
« no previous file with comments | « tools/testing/dart/status_file_parser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698