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

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

Issue 9677007: Fix build breakage caused from revision 5341 in Windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 case 'webdriver': 691 case 'webdriver':
692 return 'text/javascript'; 692 return 'text/javascript';
693 default: 693 default:
694 Expect.fail('Unimplemented component scriptType'); 694 Expect.fail('Unimplemented component scriptType');
695 return null; 695 return null;
696 } 696 }
697 } 697 }
698 698
699 String getHtmlName(String filename) { 699 String getHtmlName(String filename) {
700 return filename.replaceAll('/', '_').replaceAll(':', '_') 700 return filename.replaceAll('/', '_').replaceAll(':', '_')
701 + configuration['component'] + '.html'; 701 .replaceAll('\\', '_') + configuration['component'] + '.html';
Bill Hesse 2012/03/13 00:26:22 OK, but I don't know why we don't fix filename whe
Emily Fortuna 2012/03/13 00:33:51 I'm fine with fixing it initially -- it's just all
702 } 702 }
703 703
704 String get dumpRenderTreeFilename() { 704 String get dumpRenderTreeFilename() {
705 if (configuration['drt'] != '') { 705 if (configuration['drt'] != '') {
706 return configuration['drt']; 706 return configuration['drt'];
707 } 707 }
708 if (new Platform().operatingSystem() == 'macos') { 708 if (new Platform().operatingSystem() == 'macos') {
709 return '$dartDir/client/tests/drt/DumpRenderTree.app/Contents/' + 709 return '$dartDir/client/tests/drt/DumpRenderTree.app/Contents/' +
710 'MacOS/DumpRenderTree'; 710 'MacOS/DumpRenderTree';
711 } 711 }
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 * $noCrash tests are expected to be flaky but not crash 1234 * $noCrash tests are expected to be flaky but not crash
1235 * $pass tests are expected to pass 1235 * $pass tests are expected to pass
1236 * $failOk tests are expected to fail that we won't fix 1236 * $failOk tests are expected to fail that we won't fix
1237 * $fail tests are expected to fail that we should fix 1237 * $fail tests are expected to fail that we should fix
1238 * $crash tests are expected to crash that we should fix 1238 * $crash tests are expected to crash that we should fix
1239 * $timeout tests are allowed to timeout 1239 * $timeout tests are allowed to timeout
1240 """; 1240 """;
1241 print(report); 1241 print(report);
1242 } 1242 }
1243 } 1243 }
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