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

Opt in to Localization Validation - Fixes #206 #208

Merged
merged 11 commits into from
Jul 6, 2019

Conversation

PlagueHO
Copy link
Member

@PlagueHO PlagueHO commented Jul 5, 2019

Pull Request (PR) description

  • Removed suppression of PSUseShouldProcessForStateChangingFunctions PSSA rule
    because it is no longer required.
  • Combined all StorageDsc.ResourceHelper module functions into
    StorageDsc.Common module and renamed to StorageDsc.CommonHelper
    module.
  • Opted into Common Tests 'Common Tests - Validate Localization' -
    fixes Issue #206.
  • Refactored tests for StorageDsc.Common to meet latest standards.
  • Minor style corrections.
  • Removed unused localization strings from resources.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in README.md in the resource folder.
  • Resource parameter descriptions added/updated in schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
  • New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

@johlju - would you mind reviewing this one when you have time?


This change is Reviewable

Copy link
Member

@johlju johlju left a comment

Choose a reason for hiding this comment

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

Reviewed 19 of 19 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @PlagueHO)


CHANGELOG.md, line 8 at r1 (raw file):

`StorageDsc.CommonHelper`

.Common (not Helper)?

@codecov-io
Copy link

Codecov Report

Merging #208 into dev will increase coverage by 1%.
The diff coverage is 96%.

Impacted file tree graph

@@        Coverage Diff         @@
##           dev   #208   +/-   ##
==================================
+ Coverage   94%    95%   +1%     
==================================
  Files        8      7    -1     
  Lines      890    958   +68     
==================================
+ Hits       838    917   +79     
+ Misses      52     41   -11

Copy link
Member Author

@PlagueHO PlagueHO left a comment

Choose a reason for hiding this comment

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

Should be good to go! Thanks @johlju

Reviewable status: 17 of 19 files reviewed, 1 unresolved discussion (waiting on @johlju)


CHANGELOG.md, line 8 at r1 (raw file):

Previously, johlju (Johan Ljunggren) wrote…
`StorageDsc.CommonHelper`

.Common (not Helper)?

Fixed properly - good catch!

Copy link
Member

@johlju johlju left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@PlagueHO PlagueHO merged commit 5fea933 into dsccommunity:dev Jul 6, 2019
@PlagueHO PlagueHO deleted the Issue-206 branch July 6, 2019 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Common Tests - Validating Localization
3 participants