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

Side by Side Diff: LayoutTests/fast/harness/results.html

Issue 109763007: Reland r159735 - support for test harness (text-only) tests w/o expected results. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update testharness-based baselines Created 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 html { 3 html {
4 height: 100%; 4 height: 100%;
5 } 5 }
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 font-family: Helvetica, sans-serif; 8 font-family: Helvetica, sans-serif;
9 font-size: 11pt; 9 font-size: 11pt;
10 display: -webkit-flex; 10 display: -webkit-flex;
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 row += '><tr>'; 569 row += '><tr>';
570 570
571 row += '<td>' + testLinkWithExpandButton(testObject.name) + '</td>'; 571 row += '<td>' + testLinkWithExpandButton(testObject.name) + '</td>';
572 572
573 var testPrefix = stripExtension(testObject.name); 573 var testPrefix = stripExtension(testObject.name);
574 row += '<td>'; 574 row += '<td>';
575 575
576 var actual = testObject.actual; 576 var actual = testObject.actual;
577 if (actual.indexOf('TEXT') != -1) { 577 if (actual.indexOf('TEXT') != -1) {
578 globalState().hasTextFailures = true; 578 globalState().hasTextFailures = true;
579 row += textResultLinks(testPrefix); 579 if (testObject.is_testharness_test) {
580 row += resultLink(testPrefix, '-actual.txt', 'actual');
581 } else {
582 row += textResultLinks(testPrefix);
583 }
580 } 584 }
581 585
582 if (actual.indexOf('AUDIO') != -1) { 586 if (actual.indexOf('AUDIO') != -1) {
583 row += resultLink(testPrefix, '-expected.wav', 'expected audio'); 587 row += resultLink(testPrefix, '-expected.wav', 'expected audio');
584 row += resultLink(testPrefix, '-actual.wav', 'actual audio'); 588 row += resultLink(testPrefix, '-actual.wav', 'actual audio');
585 } 589 }
586 590
587 if (actual.indexOf('MISSING') != -1) { 591 if (actual.indexOf('MISSING') != -1) {
588 if (testObject.is_missing_audio) 592 if (testObject.is_missing_audio)
589 row += resultLink(testPrefix, '-actual.wav', 'audio result'); 593 row += resultLink(testPrefix, '-actual.wav', 'audio result');
(...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after
1347 updateTestlistCounts(); 1351 updateTestlistCounts();
1348 1352
1349 TestNavigator.reset(); 1353 TestNavigator.reset();
1350 OptionWriter.apply(); 1354 OptionWriter.apply();
1351 } 1355 }
1352 </script> 1356 </script>
1353 <!-- HACK: when json_results_test.js is included, loading this page runs the tes ts. 1357 <!-- HACK: when json_results_test.js is included, loading this page runs the tes ts.
1354 It is not copied to the layout-test-results output directory. --> 1358 It is not copied to the layout-test-results output directory. -->
1355 <script src="resources/results-test.js"></script> 1359 <script src="resources/results-test.js"></script>
1356 <body onload="generatePage()"></body> 1360 <body onload="generatePage()"></body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/forms/select-value-null-expected.txt ('k') | LayoutTests/fast/html/imports/import-shared-remove-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698