-
Notifications
You must be signed in to change notification settings - Fork 7
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
Validate input references (CDs, sections, channels) #107
Conversation
…alidation. Finished out the test for section validation.
…(by GUID, as Name is not constant)
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
Added 2-in 2-out Validate functions to simplify call sites Changed all reference ID checks to use generic BaseNode .Net calls (Name and GUID properties) Added case structure for validate functions
validate CD reference, Endpoint Conifiguation reference updated tests
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. The following VIs could not be diffed:
|
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. The following VIs could not be diffed:
|
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
Use Validate Endpoint Configuration Reference in Get All Endpoint Configurations.vi
Scrub scripting libraries for duplicated code #109 |
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
Bleep bloop! LabVIEW Diff Robot here with some diffs served up hot for your pull request. Notice something funny? Help fix me on my GitHub repo. |
What does this Pull Request accomplish?
Fixes #45
All section IDs are now being validated. If not the correct section name, we return a useful error message with the expected section name.
The expected SLSC Switch and Routing and Faulting custom device ID is also validated. The RaF custom device Name is validated and the expected name is returned in the error message. For SLSC Switch, the Name can change so instead we check using the expected GUID.
Fixes #29
Simple cleanup to remove unnecessary .NET object instantiation (and Close).
Why should this Pull Request be merged?
This will reduce the headache of misusing section and custom device IDs, easily done with LV mis-wiring.
What testing has been done?
Added an automated test. Re-ran all existing tests.