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 including data object names in error messages and enhance test suite with additional table types #640

Merged
merged 11 commits into from
May 11, 2023

Conversation

al-niessner
Copy link
Contributor

@al-niessner al-niessner commented May 10, 2023

🗒️ 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:

  • Reference to regression test included in code (preferred wherever reasonable)
  • Attach test data here + outputs of tests

♻️ Related Issues

#534
#343
#217
#190

* add unit test first

Seems the problem is already fixed
al-niessner and others added 3 commits May 10, 2023 09:40
* 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.
@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented May 10, 2023

🛠 Lift Auto-fix

Some 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

  1. You can preview the patch by opening the patch URL in the browser.

al-niessner and others added 6 commits May 10, 2023 13:23
…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.
@nutjob4life nutjob4life removed their request for review May 10, 2023 20:54
@jordanpadams jordanpadams marked this pull request as ready for review May 11, 2023 23:00
Copy link
Member

@jordanpadams jordanpadams left a 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

@jordanpadams jordanpadams changed the title issue 534: Epic of seemingly simple and straight foward improvements Updates for including data object names in error messages and enhance test suite with additional table types May 11, 2023
… validated (#642)

* add unit tests

* update unit test

---------

Co-authored-by: Al Niessner <Al.Niessner@xxx.xxx>
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.

2 participants