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

Unified Diff: LayoutTests/fast/harness/resources/results-test.js

Issue 303223008: Overlay expected and actual repaint rects for LayoutTests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add several small features Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/harness/results.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/harness/resources/results-test.js
diff --git a/LayoutTests/fast/harness/resources/results-test.js b/LayoutTests/fast/harness/resources/results-test.js
index b2d14aaf344368f5bd1f0ffa4f84205d2af0d882..83123de3d620012bb588281e9ab980a542d67b84 100644
--- a/LayoutTests/fast/harness/resources/results-test.js
+++ b/LayoutTests/fast/harness/resources/results-test.js
@@ -799,6 +799,13 @@ function runTests()
assertTrue(document.querySelector('#flaky-tests-table td:nth-child(3) a').getAttribute('href') == 'retries/foo/bar-image-diffs.html');
});
+ results = mockResults();
+ results.tests['foo'] = mockExpectation('PASS', 'TEXT');
+ results.tests['foo'].has_repaint_overlay = true;
+ runTest(results, function() {
+ assertTrue(document.querySelector('tbody td:nth-child(2)').textContent.indexOf('overlay') != -1);
+ })
+
document.body.innerHTML = '<pre>' + g_log.join('\n') + '</pre>';
}
« no previous file with comments | « no previous file | LayoutTests/fast/harness/results.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698