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

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

Issue 9017006: Fix Mac path to DumpRenderTree in dart test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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 | « 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) 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 #library("test_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 } 403 }
404 404
405 static String get scriptType() => 'application/dart'; 405 static String get scriptType() => 'application/dart';
406 406
407 String getHtmlName(String filename) { 407 String getHtmlName(String filename) {
408 return filename.replaceAll(pathSeparator, '_') + 'dartium.html'; 408 return filename.replaceAll(pathSeparator, '_') + 'dartium.html';
409 } 409 }
410 410
411 static String get dumpRenderTreeFilename() { 411 static String get dumpRenderTreeFilename() {
412 if (new Platform().operatingSystem() == 'macos') { 412 if (new Platform().operatingSystem() == 'macos') {
413 return 'client/tests/drt/.app/Contents/MacOS/DumpRenderTree'; 413 return 'client/tests/drt/DumpRenderTree.app/Contents/' +
414 'MacOS/DumpRenderTree';
414 } 415 }
415 return 'client/tests/drt/DumpRenderTree'; 416 return 'client/tests/drt/DumpRenderTree';
416 } 417 }
417 418
418 419
419 void testGeneratorStarted() { 420 void testGeneratorStarted() {
420 ++activeTestGenerators; 421 ++activeTestGenerators;
421 } 422 }
422 423
423 void testGeneratorDone() { 424 void testGeneratorDone() {
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 * $noCrash tests are expected to be flaky but not crash 724 * $noCrash tests are expected to be flaky but not crash
724 * $pass tests are expected to pass 725 * $pass tests are expected to pass
725 * $failOk tests are expected to fail that we won't fix 726 * $failOk tests are expected to fail that we won't fix
726 * $fail tests are expected to fail that we should fix 727 * $fail tests are expected to fail that we should fix
727 * $crash tests are expected to crash that we should fix 728 * $crash tests are expected to crash that we should fix
728 * $timeout tests are allowed to timeout\ 729 * $timeout tests are allowed to timeout\
729 """; 730 """;
730 print(report); 731 print(report);
731 } 732 }
732 } 733 }
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