test: migrate TargetedExpressionTest to JUnit 5 #4442
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#3919
The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testCtSuperAccess
Replaced junit 4 test annotation with junit 5 test annotation in testCtThisAccess
Replaced junit 4 test annotation with junit 5 test annotation in testTargetOfFieldAccess
Replaced junit 4 test annotation with junit 5 test annotation in testNotTargetedExpression
Replaced junit 4 test annotation with junit 5 test annotation in testCastWriteWithGenerics
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfFieldAccess
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfStaticFieldAccess
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfFieldAccessInInnerClass
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfFieldInAnonymousClass
Replaced junit 4 test annotation with junit 5 test annotation in testStaticTargetsOfFieldAccessNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testOnlyStaticTargetFieldReadNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testNestedClassAccessEnclosingTypeFieldNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfInv
Replaced junit 4 test annotation with junit 5 test annotation in testStaticTargetsOfInv
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfInvInInnerClass
Replaced junit 4 test annotation with junit 5 test annotation in testTargetsOfInvInAnonymousClass
Replaced junit 4 test annotation with junit 5 test annotation in testStaticTargetsOfInvNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testInitializeFieldAccessInNoclasspathMode
Replaced junit 4 test annotation with junit 5 test annotation in testUnqualifiedStaticMethodCallNoclasspath
Replaced junit 4 test annotation with junit 5 test annotation in testClassDeclaredInALambda
Transformed junit4 assert to junit 5 assertion in testCtSuperAccess
Transformed junit4 assert to junit 5 assertion in testCtThisAccess
Transformed junit4 assert to junit 5 assertion in testTargetOfFieldAccess
Transformed junit4 assert to junit 5 assertion in testNotTargetedExpression
Transformed junit4 assert to junit 5 assertion in testCastWriteWithGenerics
Transformed junit4 assert to junit 5 assertion in testTargetsOfFieldAccess
Transformed junit4 assert to junit 5 assertion in testTargetsOfStaticFieldAccess
Transformed junit4 assert to junit 5 assertion in testTargetsOfFieldAccessInInnerClass
Transformed junit4 assert to junit 5 assertion in testTargetsOfFieldInAnonymousClass
Transformed junit4 assert to junit 5 assertion in testStaticTargetsOfFieldAccessNoClasspath
Transformed junit4 assert to junit 5 assertion in testOnlyStaticTargetFieldReadNoClasspath
Transformed junit4 assert to junit 5 assertion in testNestedClassAccessEnclosingTypeFieldNoClasspath
Transformed junit4 assert to junit 5 assertion in testTargetsOfInv
Transformed junit4 assert to junit 5 assertion in testStaticTargetsOfInv
Transformed junit4 assert to junit 5 assertion in testTargetsOfInvInInnerClass
Transformed junit4 assert to junit 5 assertion in testTargetsOfInvInAnonymousClass
Transformed junit4 assert to junit 5 assertion in testStaticTargetsOfInvNoClasspath
Transformed junit4 assert to junit 5 assertion in testInitializeFieldAccessInNoclasspathMode
Transformed junit4 assert to junit 5 assertion in testUnqualifiedStaticMethodCallNoclasspath
Transformed junit4 assert to junit 5 assertion in testClassDeclaredInALambda
Transformed junit4 assert to junit 5 assertion in assertEqualsFieldAccess
Transformed junit4 assert to junit 5 assertion in assertEqualsInvocation