-
Notifications
You must be signed in to change notification settings - Fork 77
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
Upgrading JSON IO tests to the new API, and removing the deprecated API #2104
Open
jurgenvinju
wants to merge
25
commits into
main
Choose a base branch
from
fortify-json-tests
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
94dd242
removed 8 year old deprecated functions from JSON IO and switched the…
jurgenvinju 8c04832
squashing bugs in testing the JSON IO functions
jurgenvinju 91fcd88
fixed the datetime NYIs and bugs
jurgenvinju e5d3b2a
fixed bugs with tuples and nodes
jurgenvinju 0f2e799
improving tests and fixing bugs
jurgenvinju 67329e2
added empty tuple to syntax without adding a type syntax for the empt…
jurgenvinju 172e9cf
removed strange duplicated
jurgenvinju 2a7c533
also added empty tuple to Pattern syntax
jurgenvinju 349d4ee
more fixes. not there yet
jurgenvinju b1b59cc
normalized datetime output for testing purposes
jurgenvinju 6e230e2
added normalization of rationals
jurgenvinju e3b3065
more progress on getting the tests right
jurgenvinju 322e830
more bug squashing
jurgenvinju 9fb3493
testing ignores orders in lists when testing value and node categories
jurgenvinju 69dfc60
added docs and fixed the last bug
jurgenvinju 437c892
comment
jurgenvinju 083d129
added missing positional parameters to normalization
jurgenvinju 3fb9b23
fixed compilation errors due to changes in AST API
jurgenvinju ab9b274
removed deprecated labels from elementAt and reducer functions
jurgenvinju 8c4e2a7
fixed some weird layout
jurgenvinju 4bbed9f
Update pom.xml
jurgenvinju ae54d3e
trying to cover more branches
jurgenvinju dea3dd5
increasing JSON IO tests branch and line coverage
jurgenvinju 8dba998
fixed corner cases with very large numbers
jurgenvinju 6af770b
fixed reals
jurgenvinju 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
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 was deleted.
Oops, something went wrong.
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.
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.
why is it undeprecated? don't we want to reduce the API size?
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.
I received feedback that people want to keep this function. I was trying to make this PR have fewer warnings in the stdlib so that's why this snuck in there.
It's still strange to me that the declaration of a deprecated function leads to a warning on the declaration side btw. There is nothing wrong with a deprecated declaration. It's the uses which need a warning.