-
Notifications
You must be signed in to change notification settings - Fork 45
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
Bug/unit tests #460
Merged
Merged
Bug/unit tests #460
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
8e6d775
JUnit update and dependencies addition to allow tests to run through …
payneBrandon 0c873ff
Adding settings.json file for executig tests locally
payneBrandon 1628bf3
Finish migrating to Jackson from Gson
payneBrandon f0f3701
Unit test updates
payneBrandon dda0b92
Bug fix with pivotOffset text to numeric
payneBrandon 2af3812
Removing invalid test. We now specify localhost if missing docker host
payneBrandon 0c9853d
JSON property order update
payneBrandon 8a27638
Setting private property visibility on object mapper
payneBrandon eaeb021
Metadata JSON property orderings
payneBrandon a0ee99e
JSON property order update
payneBrandon 215bd4c
JsonProperty additions to alleviate naming convention
payneBrandon 2047917
JsonProperty updates
payneBrandon 0a76808
Property name updates for JSON
payneBrandon aec8652
Adding empty string enum handling
payneBrandon 95d0359
Error adjust for Jackson
payneBrandon d5b23de
Adding proper RSU dummyy object to test with
payneBrandon 3359adf
Fixing expected times for submit call after updates
payneBrandon 9d8b616
JsonProperty updates
payneBrandon 05fd533
Adding default ttl value, as it is now set.
payneBrandon eb25828
Removing dead code, unit test updates
payneBrandon 7a4a5b1
Static mocking updatge
payneBrandon 861282d
Testing authentication protocal addition
payneBrandon 5152714
Merge pull request #6 from CDOT-CV/bug/snmp
payneBrandon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"java.configuration.updateBuildConfiguration": "automatic", | ||
"java.test.config": { | ||
"name": "testConfig", | ||
"vmArgs": ["-javaagent:/root/.m2/repository/org/jmockit/jmockit/1.49/jmockit-1.49.jar"] | ||
}, | ||
"java.test.defaultConfig": "testConfig" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not sure why we need this update. It does the same thing as the existing code.
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.
This swaps over to using the Jackson library. There was an odd mixture using both the Gson and Jackson libraries, and they did not always mix. When I got the unit tests to run, large numbers of them were failing and many were due to this mismatch of serializations. You are correct that the new code performs the same as previous in this instance and that was intentional - this update ensures compatibility and chooses a single serializer (Jackson) over the current duality.
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.
Thanks!