-
Notifications
You must be signed in to change notification settings - Fork 11
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 including data object names in error messages and enhance test suite with additional table types #640
Conversation
* add unit test first Seems the problem is already fixed
* add unit test * cleanup test data
In both Array and Tables if a name is given then that will be used as well as the index to identify it. Not sure that matches what is really desired, but it seems more meaningful than just the name or just the index value. I had seen them many of times and had no idea that it was the index in the XML file.
src/main/java/gov/nasa/pds/tools/validate/content/table/TableContentProblem.java
Outdated
Show resolved
Hide resolved
src/main/java/gov/nasa/pds/tools/validate/content/table/TableContentProblem.java
Outdated
Show resolved
Hide resolved
src/main/java/gov/nasa/pds/tools/validate/content/array/ArrayContentProblem.java
Outdated
Show resolved
Hide resolved
src/main/java/gov/nasa/pds/tools/validate/content/array/ArrayLocation.java
Outdated
Show resolved
Hide resolved
🛠 Lift Auto-fixSome of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1 # Download the patch
curl https://lift.sonatype.com/api/patch/github.com/NASA-PDS/validate/640.diff -o lift-autofixes.diff
# Apply the patch with git
git apply lift-autofixes.diff
# Review the changes
git diff Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command: curl https://lift.sonatype.com/api/patch/github.com/NASA-PDS/validate/640.diff | git apply Once you're satisfied, commit and push your changes in your project. Footnotes |
…ontentProblem.java Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
…ontentProblem.java Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
…ontentProblem.java Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
…ocation.java Co-authored-by: sonatype-lift[bot] <37194012+sonatype-lift[bot]@users.noreply.github.com>
Repaired what sonatype automatically fixed but got wrong. Not much, but still requires manual cleanup.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See requested change to validate.feature
… validated (#642) * add unit tests * update unit test --------- Co-authored-by: Al Niessner <Al.Niessner@xxx.xxx>
🗒️ Summary
Brief summary of changes if not sufficiently described by commit messages.
⚙️ Test Data and/or Report
One of the following should be included here:
♻️ Related Issues
#534
#343
#217
#190