Skip to content

Implement assert_implements and assert_implements_optional #22699

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

Merged
merged 10 commits into from
Apr 16, 2020

Conversation

stephenmcgruer
Copy link
Contributor

@stephenmcgruer stephenmcgruer commented Apr 3, 2020

See web-platform-tests/rfcs#48 and
#21971.

Two tests are ported to the new methods to show their use.

Note that this PR does not remove the deprecated assert_precondition -
that will be done in follow-up PRs.

See web-platform-tests/rfcs#48 and
#21971.

Note that this PR only implements the new methods; it does not port any
tests to use it or remove `assert_precondition` - that will be done in
follow-up PRs.
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 3, 2020 20:40 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 3, 2020 20:48 Inactive
@stephenmcgruer
Copy link
Contributor Author

I couldn't figure out if there's a place for unittests for testharness.js that aren't expected to fail. Do we have some somewhere?

@stephenmcgruer stephenmcgruer reopened this Apr 3, 2020
@stephenmcgruer
Copy link
Contributor Author

(TaskCluster didn't pick up the moving from draft --> review, so close/open to kick it)

@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 4, 2020 01:31 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 4, 2020 02:41 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 4, 2020 21:05 Inactive
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 9, 2020 18:19 Inactive
@stephenmcgruer stephenmcgruer reopened this Apr 9, 2020
@wpt-pr-bot wpt-pr-bot temporarily deployed to wpt-preview-22699 April 9, 2020 18:36 Inactive
@stephenmcgruer
Copy link
Contributor Author

Ping @jgraham :)

@jgraham jgraham closed this Apr 16, 2020
@jgraham jgraham reopened this Apr 16, 2020
@stephenmcgruer stephenmcgruer merged commit d97d993 into master Apr 16, 2020
@stephenmcgruer stephenmcgruer deleted the smcgruer/assert_implemnts branch April 16, 2020 11:24
@stephenmcgruer
Copy link
Contributor Author

(Sigh, and I forget again that GitHub isn't Gerrit, and doesn't update the commit description with the PR description. It's only slightly inaccurate - commit claims it doesn't port any tests but it actually changes two...)

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.

3 participants