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

Issue 2676873002: Convert Panner Audit tsets to testharness (Closed)

Created:
3 years, 10 months ago by Raymond Toy
Modified:
3 years, 10 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert Panner Audit tsets to testharness Converted using the script for f in `grep -l Audit *.html` do # Replace js-test with testharness and add testharnessreport.js sed -i 's;\(.*\)\(<script.*\)js-test.js\(.*\);\1\2testharness.js\3\ \1\2testharnessreport.js\3 ;' $f # Remove old js-test methods that no longer exist. sed -i '/^[ ]*\(description(.*)\|finishJSTest()\);[ ]*$/d' $f # Remove jsTestIsAsync stuff sed -i '/^[ ]*window.jsTestIsAsync *= *true;[ ]*$/d' $f # Remove expected results file. base=`basename $f .html` git rm $base-expected.txt done Had to adjust the result manually to replace testPassed/testFailed with Should().summarize(). BUG=688456 TEST=panner-automation-basic.html, panner-automation-position.html, pannernode-basic.html Review-Url: https://codereview.chromium.org/2676873002 Cr-Commit-Position: refs/heads/master@{#451366} Committed: https://chromium.googlesource.com/chromium/src/+/6bab2561839d0c280b5490bfbfff6fc1ed4b88eb

Patch Set 1 #

Patch Set 2 : Remove finish task and some extra blank lines #

Messages

Total messages: 8 (4 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-02-14 20:19:11 UTC) #2
hongchan
lgtm
3 years, 10 months ago (2017-02-17 18:32:08 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676873002/20001
3 years, 10 months ago (2017-02-17 19:11:40 UTC) #5
commit-bot: I haz the power
3 years, 10 months ago (2017-02-17 20:10:57 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6bab2561839d0c280b5490bfbfff...

Powered by Google App Engine
This is Rietveld 408576698