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 VariableAccessTest to Junit 5 #4469

Merged

Conversation

MartinWitt
Copy link
Collaborator

#3919

The following has changed in the code:

Junit4 @test Annotation

  • Replaced junit 4 test annotation with junit 5 test annotation in testVariableAccessDeclarationInAnonymousClass
  • Replaced junit 4 test annotation with junit 5 test annotation in testDeclarationArray
  • Replaced junit 4 test annotation with junit 5 test annotation in testParameterReferenceInConstructorNoClasspath
  • Replaced junit 4 test annotation with junit 5 test annotation in testDeclarationOfVariableReference
  • Replaced junit 4 test annotation with junit 5 test annotation in testDeclaringTypeOfALambdaReferencedByParameterReference
  • Replaced junit 4 test annotation with junit 5 test annotation in testGetDeclarationAfterClone
  • Replaced junit 4 test annotation with junit 5 test annotation in testReferences
  • Replaced junit 4 test annotation with junit 5 test annotation in testReferencesInInitExpression
  • Replaced junit 4 test annotation with junit 5 test annotation in testReferenceToLocalVariableDeclaredInLoop
  • Replaced junit 4 test annotation with junit 5 test annotation in testMultipleDeclarationsOfLocalVariable
  • Replaced junit 4 test annotation with junit 5 test annotation in testSuperAccess

AssertionsTransformation

  • Transformed junit4 assert to junit 5 assertion in testVariableAccessDeclarationInAnonymousClass
  • Transformed junit4 assert to junit 5 assertion in testDeclarationArray
  • Transformed junit4 assert to junit 5 assertion in matches
  • Transformed junit4 assert to junit 5 assertion in matches
  • Transformed junit4 assert to junit 5 assertion in testGetDeclarationAfterClone
  • Transformed junit4 assert to junit 5 assertion in testReferences
  • Transformed junit4 assert to junit 5 assertion in testReferencesInInitExpression
  • Transformed junit4 assert to junit 5 assertion in visitCtLocalVariableReference
  • Transformed junit4 assert to junit 5 assertion in visitCtLocalVariableReference
  • Transformed junit4 assert to junit 5 assertion in testSuperAccess

 The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testVariableAccessDeclarationInAnonymousClass
Replaced junit 4 test annotation with junit 5 test annotation in testDeclarationArray
Replaced junit 4 test annotation with junit 5 test annotation in testParameterReferenceInConstructorNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testDeclarationOfVariableReference
Replaced junit 4 test annotation with junit 5 test annotation in testDeclaringTypeOfALambdaReferencedByParameterReference
Replaced junit 4 test annotation with junit 5 test annotation in testGetDeclarationAfterClone
Replaced junit 4 test annotation with junit 5 test annotation in testReferences
Replaced junit 4 test annotation with junit 5 test annotation in testReferencesInInitExpression
Replaced junit 4 test annotation with junit 5 test annotation in testReferenceToLocalVariableDeclaredInLoop
Replaced junit 4 test annotation with junit 5 test annotation in testMultipleDeclarationsOfLocalVariable
Replaced junit 4 test annotation with junit 5 test annotation in testSuperAccess
Transformed junit4 assert to junit 5 assertion in testVariableAccessDeclarationInAnonymousClass
Transformed junit4 assert to junit 5 assertion in testDeclarationArray
Transformed junit4 assert to junit 5 assertion in testGetDeclarationAfterClone
Transformed junit4 assert to junit 5 assertion in testReferences
Transformed junit4 assert to junit 5 assertion in testReferencesInInitExpression
Transformed junit4 assert to junit 5 assertion in testSuperAccess
@monperrus monperrus merged commit e358833 into INRIA:master Jan 13, 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