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

test: migrate ExecutableReferenceGenericTest to JUnit 5 #4472

Conversation

MartinWitt
Copy link
Collaborator

#3919

The following has changed in the code:

Junit4AnnotationsTransformation

  • Replaced @Before annotation with @beforeeach from method setUp

Junit4 @test Annotation

  • Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenConstructors
  • Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenConstructorsInOtherClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceBetweenMethodsInSameClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferenceBetweenMethodsWithGenericInSameClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferencesBetweenMethodsWithoutGenericInSameClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testMethodWithoutReferences
  • Replaced junit 4 test annotation with junit 5 test annotation in testMethodGenericWithoutReferences
  • Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceWithGenericMethodOutOfTheClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceWithMethodNotGenericOutOfTheClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferenceWithGenericMethodOutOfTheClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenMethods
  • Replaced junit 4 test annotation with junit 5 test annotation in testExecutableReferences

AssertionsTransformation

  • Transformed junit4 assert to junit 5 assertion in testReferencesBetweenConstructors
  • Transformed junit4 assert to junit 5 assertion in testReferencesBetweenConstructorsInOtherClass
  • Transformed junit4 assert to junit 5 assertion in testOneReferenceBetweenMethodsInSameClass
  • Transformed junit4 assert to junit 5 assertion in testMultiReferenceBetweenMethodsWithGenericInSameClass
  • Transformed junit4 assert to junit 5 assertion in testMultiReferencesBetweenMethodsWithoutGenericInSameClass
  • Transformed junit4 assert to junit 5 assertion in testMethodWithoutReferences
  • Transformed junit4 assert to junit 5 assertion in testMethodGenericWithoutReferences
  • Transformed junit4 assert to junit 5 assertion in testOneReferenceWithGenericMethodOutOfTheClass
  • Transformed junit4 assert to junit 5 assertion in testOneReferenceWithMethodNotGenericOutOfTheClass
  • Transformed junit4 assert to junit 5 assertion in testMultiReferenceWithGenericMethodOutOfTheClass
  • Transformed junit4 assert to junit 5 assertion in testReferencesBetweenMethods
  • Transformed junit4 assert to junit 5 assertion in testExecutableReferences

 The following has changed in the code:
Replaced @before annotation with @beforeeach from method setUp
Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenConstructors
Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenConstructorsInOtherClass
Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceBetweenMethodsInSameClass
Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferenceBetweenMethodsWithGenericInSameClass
Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferencesBetweenMethodsWithoutGenericInSameClass
Replaced junit 4 test annotation with junit 5 test annotation in testMethodWithoutReferences
Replaced junit 4 test annotation with junit 5 test annotation in testMethodGenericWithoutReferences
Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceWithGenericMethodOutOfTheClass
Replaced junit 4 test annotation with junit 5 test annotation in testOneReferenceWithMethodNotGenericOutOfTheClass
Replaced junit 4 test annotation with junit 5 test annotation in testMultiReferenceWithGenericMethodOutOfTheClass
Replaced junit 4 test annotation with junit 5 test annotation in testReferencesBetweenMethods
Replaced junit 4 test annotation with junit 5 test annotation in testExecutableReferences
Transformed junit4 assert to junit 5 assertion in testReferencesBetweenConstructors
Transformed junit4 assert to junit 5 assertion in testReferencesBetweenConstructorsInOtherClass
Transformed junit4 assert to junit 5 assertion in testOneReferenceBetweenMethodsInSameClass
Transformed junit4 assert to junit 5 assertion in testMultiReferenceBetweenMethodsWithGenericInSameClass
Transformed junit4 assert to junit 5 assertion in testMultiReferencesBetweenMethodsWithoutGenericInSameClass
Transformed junit4 assert to junit 5 assertion in testMethodWithoutReferences
Transformed junit4 assert to junit 5 assertion in testMethodGenericWithoutReferences
Transformed junit4 assert to junit 5 assertion in testOneReferenceWithGenericMethodOutOfTheClass
Transformed junit4 assert to junit 5 assertion in testOneReferenceWithMethodNotGenericOutOfTheClass
Transformed junit4 assert to junit 5 assertion in testMultiReferenceWithGenericMethodOutOfTheClass
Transformed junit4 assert to junit 5 assertion in testReferencesBetweenMethods
Transformed junit4 assert to junit 5 assertion in testExecutableReferences
@monperrus monperrus merged commit a50797a into INRIA:master Jan 12, 2022
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.

2 participants