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

review: refactor(ArraysTest): migrate to junit 5 #4394

Merged
merged 1 commit into from
Jan 5, 2022

Conversation

MartinWitt
Copy link
Collaborator

@MartinWitt MartinWitt commented Jan 3, 2022

#3919

The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testArrayReferences
Replaced junit 4 test annotation with junit 5 test annotation in testInitializeWithNewArray
Replaced junit 4 test annotation with junit 5 test annotation in testCtNewArrayInnerCtNewArray
Replaced junit 4 test annotation with junit 5 test annotation in testCtNewArrayWitComments
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedVarargReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedArrayReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedArrayVarargReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedTypeReference
Transformed junit4 assert to junt 5 assertion in testArrayReferences
Transformed junit4 assert to junt 5 assertion in testInitializeWithNewArray
Transformed junit4 assert to junt 5 assertion in testCtNewArrayInnerCtNewArray
Transformed junit4 assert to junt 5 assertion in testCtNewArrayWitComments
Transformed junit4 assert to junt 5 assertion in testParameterizedVarargReference
Transformed junit4 assert to junt 5 assertion in testParameterizedArrayReference
Transformed junit4 assert to junt 5 assertion in testParameterizedArrayVarargReference
Transformed junit4 assert to junt 5 assertion in testParameterizedTypeReference

 The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testArrayReferences
Replaced junit 4 test annotation with junit 5 test annotation in testInitializeWithNewArray
Replaced junit 4 test annotation with junit 5 test annotation in testCtNewArrayInnerCtNewArray
Replaced junit 4 test annotation with junit 5 test annotation in testCtNewArrayWitComments
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedVarargReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedArrayReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedArrayVarargReference
Replaced junit 4 test annotation with junit 5 test annotation in testParameterizedTypeReference
Transformed junit4 assert to junt 5 assertion in testArrayReferences
Transformed junit4 assert to junt 5 assertion in testInitializeWithNewArray
Transformed junit4 assert to junt 5 assertion in testCtNewArrayInnerCtNewArray
Transformed junit4 assert to junt 5 assertion in testCtNewArrayWitComments
Transformed junit4 assert to junt 5 assertion in testParameterizedVarargReference
Transformed junit4 assert to junt 5 assertion in testParameterizedArrayReference
Transformed junit4 assert to junt 5 assertion in testParameterizedArrayVarargReference
Transformed junit4 assert to junt 5 assertion in testParameterizedTypeReference
@MartinWitt MartinWitt changed the title refactor(ArraysTest): migrate to junit 5 review: refactor(ArraysTest): migrate to junit 5 Jan 4, 2022
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @MartinWitt

@slarse
Copy link
Collaborator

slarse commented Jan 5, 2022

Don't forget to tag these with #3919

@slarse slarse merged commit cb2477e into INRIA:master Jan 5, 2022
@MartinWitt
Copy link
Collaborator Author

As I have around 100 more PRs ready, are you fine with sending them in larger batches of 10?

@algomaster99
Copy link
Contributor

@MartinWitt Did you write a script to change these import statements in each and every test class? It looks tedious otherwise.

@MartinWitt
Copy link
Collaborator Author

https://github.com/MartinWitt/laughing-train I wrote a tool for this.

@slarse
Copy link
Collaborator

slarse commented Jan 6, 2022

As I have around 100 more PRs ready, are you fine with sending them in larger batches of 10?

@MartinWitt Yes, that's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
  NODES
COMMUNITY 2
Project 3
USERS 1