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

Strict mode unit tests #938

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Simulant87
Copy link
Contributor

@Simulant87 Simulant87 commented Jan 11, 2025

Taken the changes from #937 preserving an attribution history of the authors commits:

fixes #935
fixes #933
resolves #927

In addition:

this can be taken as a discussion baseline, or merged instead or after #937 and makes #934 and #936 obsolete

@stleary
Copy link
Owner

stleary commented Jan 15, 2025

@Simulant87 Please remove JSONArray, JSONObject, and JSONTokener as these have been merged in #937. The new unit tests may be kept.

@Simulant87
Copy link
Contributor Author

I updated the branch, and it only contains missing JavaDoc and the new test cases now.

@stleary
Copy link
Owner

stleary commented Jan 16, 2025

What problem does this code solve?
Add unit tests for strict mode. Also, clean up JSONTokener javadocs

Does the code still compile with Java6?
Yes

Risks
Low

Changes to the API?
No

Will this require a new release?
No

Should the documentation be updated?
No

Does it break the unit tests?
No. New unit tests were added.

Was any code refactored in this commit?
javadoc cleanup

Review status
APPROVED Starting 3-day comment window

@stleary stleary changed the title Remove references and add tests Strict mode unit tests Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment