-
Notifications
You must be signed in to change notification settings - Fork 319
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
Updated the java tests to use the new test framework #1204
Conversation
@tsaglam Could you take a look at this? One of the java tests fails, because the similarity is slightly different. This is probably, because I changed the order of the try-catch tokens. I think that discrepancy fine, but I would like you to judge that. |
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.
Looks good, but could you try to preserve the documentation? Makes it easier to read. Se comments below.
Test values seem fine. As discussed, adapt the expected values in another commit.
…597d0fc In that commit the order of the tokens for try-catch statements was adjusted, that for the similarities are slightly different.
[JPlag Plagiarism Detector] Kudos, SonarCloud Quality Gate passed! |
This PR updates the java tests to use the new test framework and also adds a new tests using the CLI class from jplag, to have a more complex test case.
I also fixed a small bug in the language framework, where the TRY_END token was added to early.