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

Updates for the usage of Zonemaster::Engine::Translator #1221

Merged
merged 1 commit into from
May 15, 2023

Conversation

tgreenx
Copy link
Contributor

@tgreenx tgreenx commented May 11, 2023

Purpose

This PR proposes updates to the usage of Zonemaster::Engine::Translator. It updates its documentation, adds unitary tests, and harmonizes message tags in each Test Case modules.

Context

#1144 mentions missing unitary tests and unneeded parameters.

Changes

lib/Zonemaster/Engine/Translator.pm

  • Update documentation

t/translator.t

  • Update unitary tests to check that a message tag exists for each implemented Test Case

lib/Zonemaster/Engine/Test/[ Address ... Zone ].pm

  • Remove useless parameter in Test Case ID message tags in each Test Case module

How to test this PR

Tests should pass.

@tgreenx tgreenx added A-Translation Area: Documentation of, implementation of or actual translation of text V-Patch Versioning: The change gives an update of patch in version. labels May 11, 2023
@tgreenx tgreenx added this to the v2023.1 milestone May 11, 2023
matsduf
matsduf previously approved these changes May 12, 2023
Copy link
Contributor

@marc-vanderwal marc-vanderwal left a comment

Choose a reason for hiding this comment

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

I saw just one teeny tiny typo.

lib/Zonemaster/Engine/Test/Delegation.pm Outdated Show resolved Hide resolved
- Update documentation in Zonemaster::Engine::Translator
- Update unitary tests in t/translator.t to check that a message tag exists for each implemented Test Case
- Remove useless parameter in Test Case ID message tags in each Test Case module
@tgreenx
Copy link
Contributor Author

tgreenx commented May 15, 2023

@matsduf @marc-vanderwal please re-approve

@tgreenx tgreenx merged commit d2a5f12 into zonemaster:develop May 15, 2023
@tgreenx tgreenx deleted the update-translator-testing branch May 15, 2023 08:38
@hannaeko hannaeko self-assigned this Jun 1, 2023
@hannaeko
Copy link
Member

hannaeko commented Jun 1, 2023

Unit tests are passing, translation of test case is working.

@hannaeko hannaeko added the S-ReleaseTested Status: The PR has been successfully tested in release testing label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Translation Area: Documentation of, implementation of or actual translation of text S-ReleaseTested Status: The PR has been successfully tested in release testing V-Patch Versioning: The change gives an update of patch in version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants