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

test(developer): add test for ERROR_DescriptionIsMissing to kmc-keyboard-info #12804

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Dec 8, 2024

Originally reported in #12202. Check was added in #12204, backported to 17.0.329 in #12207, but #12597 reports this for 17.0.331. So added test to verify that it is working as expected (it is).

Note that this only applies when using the --for-publishing build flag in kmc, because it is checked in the kmc-keyboard-info stage. Guessing this is where the confusion arose.

Consolidated tests which used a common pattern for kmc-keyboard-info calls. The remaining tests do stubs or calls into internal functions, so they cannot be easily deduped.

Fixes: #12597

@keymanapp-test-bot skip

…ard-info

Originally reported in #12202. Check was added in #12204, backported to
17.0.329 in #12207, but #12597 reports this for 17.0.331. So added test
to verify that it is working as expected (it is).

Note that this only applies when using the `--for-publishing` build flag
in kmc, because it is checked in the kmc-keyboard-info stage. Guessing
this is where the confusion arose.

Consolidated tests which used a common pattern for kmc-keyboard-info
calls. The remaining tests do stubs or calls into internal functions, so
they cannot be easily deduped.

Fixes: #12597
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Dec 8, 2024

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@keymanapp-test-bot keymanapp-test-bot bot added this to the A18S17 milestone Dec 8, 2024
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

@mcdurdin mcdurdin merged commit f1a073b into master Dec 9, 2024
7 checks passed
@mcdurdin mcdurdin deleted the test/developer/12597-add-tests-for-ERROR_DescriptionIsMissing branch December 9, 2024 02:21
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 18.0.156-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat(developer): Warn when there is no description in .kps
3 participants