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

Side by Side Diff: sky/tests/harness/reftest-mismatch.sky

Issue 826343003: Minor improvements to reftests. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Move the check to TestRunner::OnTestComplete so we only assert if we're actually running a pixel/re… 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
OLDNEW
1 <foo> 1 <foo>
2 <import src="../resources/run-after-display.sky" as="runAfterDisplay" />
2 This is a mismatch reftest. Should not match. 3 This is a mismatch reftest. Should not match.
3 <script> 4 <script>
4 window.addEventListener('load', function() { 5 runAfterDisplay(function() {
5 // TODO(ojan): requestAnimationFrame once we properly pump frames. 6 internals.notifyTestComplete("");
6 // https://github.com/domokit/mojo/issues/32 7 });
7 setTimeout(function() {
8 internals.notifyTestComplete("");
9 }, 100);
10 })
11 </script> 8 </script>
12 </foo> 9 </foo>
OLDNEW
« no previous file with comments | « sky/tests/harness/reftest-expected.sky ('k') | sky/tests/harness/reftest-mismatch-expected-mismatch.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698