-
Notifications
You must be signed in to change notification settings - Fork 154
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
Include the optional LongName attribute in the XML encoded output. #308
Conversation
How it can merge to master? |
@lmenaria I haven't had a chance to fully review the changes yet but I have noticed there are no unit tests, Can you add some unit test please, I'll hopefully get a chance to do a proper review soon. |
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.
Also @lmenaria not sure if you saw but there are a lot of static code analysis warnings which need fixing.
@lmenaria have you seen this yet? |
yes, but how we can use parserOptions in those both methods,we need to pass or create private variable for it and assign? what do you think? |
@lmenaria I would say pass it down, have a look at how the |
@lmenaria a bunch of code style issues need fixing, see automated comments in PR. Also I feel some of the xml doc comments need updating, from the scan I did anyway. Also still no unit tests for these changes. |
Fixed this warning. |
@lmenaria hi, thanks for that, however that wasn't the only static code analysis warning, if you look through the Files Changed you will see more easy to fix warnings. Also there are still no unit tests to cover the new functionality, could you please add the appropriate unit tests. Thank you. |
Anything more need to do? |
@laxmi-lal-menaria yes please, can you add appropriate unit tests for the new functionality. |
@laxmi-lal-menaria did you notice the failed build? |
@laxmi-lal-menaria failed again. |
@laxmi-lal-menaria looks like it failed again https://github.com/nHapiNET/nHapi/runs/7677435616?check_suite_focus=true |
Testcases passed on Windows but not at ubuntu, I don't have any setup to fix that, if anyone can do it will be great help. |
@laxmi-lal-menaria I fixed the issues with your PR, not sure if we need more/better tests (better as in obviouse what the test is doing). |
@AMCN41R could you look at this? does it need anything more? |
* Port `hapi` version of `XMLParser` and `DefaultXMLParser` - `nHapi` versions of these were years behind `hapi`. * Keep old implementations as `LegacyXMLParser` and `LegacyDefaultXMLParser` for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port `hapi` version of `XMLParser` and `DefaultXMLParser` - `nHapi` versions of these were years behind `hapi`. * Keep old implementations as `LegacyXMLParser` and `LegacyDefaultXMLParser` for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
* Port hapi version of XMLParser and DefaultXMLParser - nHapi versions of these were years behind hapi. * Keep old implementations as LegacyXMLParser and LegacyDefaultXMLParser for people or depend on old imperfect behaviour * Add Unit tests for changes * Fix some code styling warnings * Improve XML Documentation * Update some Nuget packages * Unblocks #308 * Closes some Dependabot pull requests
Added a property which include the Long Name in Encoded XML
Make 'includeLongNameInEncodedXML' private. Make this field 'private' and encapsulate it in a 'public' property. Comments for ignoring error
Removed this initialization to '_includeLongNameInEncodedXML'
@laxmi-lal-menaria okay I have rebased this PR based on what is now in master (makes this PR much smaller). @AMCN41R @PhantomGrazzler could you give a quick once over - it's only a small PR. |
Moved IncludeLongNameInEncodedXml to ParserOptions, instead of public property.
Removed unused methods Added summary for new variable
change new position
Added Testcase for IncludeLongNameInEncodedXML. Test Method for Encode Test Method for Parser
Casting issue fix with new message
removed not supported property in every versions.
Added a property which include the Long Name in Encoded XML