Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sensor] Upstream sensor layout tests to wpt #18886

Merged
merged 1 commit into from Sep 18, 2019

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 6, 2019

Rewrote /external/wpt/resources/chromium/generic_sensor_mocks.js to align with
/http/tests/resources/sensor-helpers.js, but excluded those functions specific
for device orientation.

Merged tests from /sensor/resources/generic-sensor-tests.js to
/external/wpt/generic-sensor/generic-sensor-tests.js

Moved common utils into /external/wpt/generic-sensor/resources/generic-sensor-helpers.js

Merged tests from /sensor/*.html to corresponding test folders under /external/wpt/,
e.g. sensor/orientation-sensor.html -> external/wpt/orientation-sensor/OrientationSensor.https.html

Updated all sensor tests under external/wpt/ to adapt to sensor mojom mocks

Deleted folder web_tests/sensor/

Bug: 816462
Change-Id: I614ce82b7c90530b7a268d8f6a0f72cc96ea3d6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1770158
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695905}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already reviewed downstream.

Rewrote /external/wpt/resources/chromium/generic_sensor_mocks.js to align with
/http/tests/resources/sensor-helpers.js, but excluded those functions specific
for device orientation.

Merged tests from /sensor/resources/generic-sensor-tests.js to
/external/wpt/generic-sensor/generic-sensor-tests.js

Moved common utils into /external/wpt/generic-sensor/resources/generic-sensor-helpers.js

Merged tests from /sensor/*.html to corresponding test folders under /external/wpt/,
e.g. sensor/orientation-sensor.html  -> external/wpt/orientation-sensor/OrientationSensor.https.html

Updated all sensor tests under external/wpt/ to adapt to sensor mojom mocks

Deleted folder web_tests/sensor/

Bug: 816462
Change-Id: I614ce82b7c90530b7a268d8f6a0f72cc96ea3d6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1770158
Commit-Queue: Wanming Lin <wanming.lin@intel.com>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695905}
@Honry
Copy link
Contributor

Honry commented Sep 17, 2019

@rakuco, any idea that this is still open while the CL has been landed in Chromium?

Honry added a commit to Honry/web-platform-tests that referenced this pull request Sep 17, 2019
@Honry
Copy link
Contributor

Honry commented Sep 17, 2019

This may be caused by lint error: "MISSING DEPENDENCY", I just try to fix the error via #19116.

@Hexcles, this is an another example of #16455, could you pls. take a look at this issue?

jgraham pushed a commit that referenced this pull request Sep 18, 2019
@Honry
Copy link
Contributor

Honry commented Sep 18, 2019

Close and reopen to restart the CI.

@Honry Honry closed this Sep 18, 2019
@Honry Honry reopened this Sep 18, 2019
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit db7bad0 into master Sep 18, 2019
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-1770158 branch September 18, 2019 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants