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

Add Proximity Sensor tests and delete outdated tests #9131

Merged
merged 1 commit into from Jan 23, 2018

Conversation

xiuqijix
Copy link
Contributor

@xiuqijix xiuqijix commented Jan 23, 2018

No description provided.

@w3c-bots
Copy link

w3c-bots commented Jan 23, 2018

Build PASSED

Started: 2018-01-23 05:59:51
Finished: 2018-01-23 06:10:45

View more information about this build on:

@@ -10,7 +10,8 @@ const properties = {
'AbsoluteOrientationSensor' : ['timestamp', 'quaternion'],
'RelativeOrientationSensor' : ['timestamp', 'quaternion'],
'GeolocationSensor' : ['timestamp', 'latitude', 'longitude', 'altitude',
'accuracy', 'altitudeAccuracy', 'heading', 'speed']
'accuracy', 'altitudeAccuracy', 'heading', 'speed'],
'ProximitySensor' : ['timestamp', 'max']
Copy link
Contributor

@Honry Honry Jan 23, 2018

Choose a reason for hiding this comment

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

Did you miss the distance and near attribute?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If the physical object is outside the sensing range, the attribute distance and near must return null, it conflicts the common function assert_reading_not_null, so I will add tests for them separately.

Copy link
Contributor

@Honry Honry left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@Honry Honry merged commit 14017b1 into web-platform-tests:master Jan 23, 2018
@xiuqijix xiuqijix deleted the proximity_common branch January 23, 2018 08:40
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

4 participants