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

wai-aria: Fix bug in test generator and regenerate tests #7540

Merged
merged 2 commits into from
Oct 2, 2017
Merged

wai-aria: Fix bug in test generator and regenerate tests #7540

merged 2 commits into from
Oct 2, 2017

Conversation

joanmarie
Copy link
Contributor

@joanmarie joanmarie commented Oct 2, 2017

No description provided.

make_tests.pl assumed that a row count would proceed each accessibility API in
the assertion table. Because it is not necessary to specify the row count when
there is only one row, some test writers failed to do so. As a result, we were
winding up with one API's assertions becoming part of the previous API's. In
order to make generation a bit more reliable, match on the presence of the API
name at the end of the string and then look for a row count, defaulting to 1.
@w3c-bots
Copy link

w3c-bots commented Oct 2, 2017

Build PASSED

Started: 2017-10-02 14:02:22
Finished: 2017-10-02 14:14:49

View more information about this build on:

Copy link
Contributor

@halindrome halindrome left a comment

Choose a reason for hiding this comment

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

Nice fix to make_tests.pl - sorry that code is such a mess!

@halindrome halindrome merged commit ffa20bd into web-platform-tests:master Oct 2, 2017
jakearchibald pushed a commit to jakearchibald/web-platform-tests that referenced this pull request Nov 16, 2017
…m-tests#7540)

* wai-aria/tools Handle unspecified API row count in make_tests.pl

make_tests.pl assumed that a row count would proceed each accessibility API in
the assertion table. Because it is not necessary to specify the row count when
there is only one row, some test writers failed to do so. As a result, we were
winding up with one API's assertions becoming part of the previous API's. In
order to make generation a bit more reliable, match on the presence of the API
name at the end of the string and then look for a row count, defaulting to 1.

* wai-aria: Fix errors in tests for IAccessible2 and MSAA
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.

4 participants