-
-
Notifications
You must be signed in to change notification settings - Fork 356
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 TypeReferenceTest to Junit 5 #4470
Merged
monperrus
merged 1 commit into
INRIA:master
from
MartinWitt:refactor/junit5/TypeReferenceTest
Jan 13, 2022
Merged
test: migrate TypeReferenceTest to Junit 5 #4470
monperrus
merged 1 commit into
INRIA:master
from
MartinWitt:refactor/junit5/TypeReferenceTest
Jan 13, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following has changed in the code: Replaced junit 4 test annotation with junit 5 test annotation in testGetAllExecutablesForInterfaces Replaced junit 4 test annotation with junit 5 test annotation in loadReferencedClassFromClasspath Replaced junit 4 test annotation with junit 5 test annotation in doNotCloseLoader Replaced junit 4 test annotation with junit 5 test annotation in testNullReferenceSubtype Replaced junit 4 test annotation with junit 5 test annotation in unboxTest Replaced junit 4 test annotation with junit 5 test annotation in testToStringEqualityBetweenTwoGenericTypeDifferent Replaced junit 4 test annotation with junit 5 test annotation in testRecursiveTypeReference Replaced junit 4 test annotation with junit 5 test annotation in testRecursiveTypeReferenceInGenericType Replaced junit 4 test annotation with junit 5 test annotation in testUnknownSuperClassWithSameNameInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testPackageInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testTypeReferenceSpecifiedInClassDeclarationInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testTypeReferenceSpecifiedInClassDeclarationInNoClasspathWithGenerics Replaced junit 4 test annotation with junit 5 test annotation in testArgumentOfAInvocationIsNotATypeAccess Replaced junit 4 test annotation with junit 5 test annotation in testInvocationWithFieldAccessInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testAnnotationOnMethodWithPrimitiveReturnTypeInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testAnonymousClassesHaveAnEmptyStringForItsNameInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testConstructorCallInNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testShortTypeReference Replaced junit 4 test annotation with junit 5 test annotation in testClearBoundsForWildcardReference Replaced junit 4 test annotation with junit 5 test annotation in testIgnoreEnclosingClassInActualTypes Replaced junit 4 test annotation with junit 5 test annotation in testCorrectEnumParent Replaced junit 4 test annotation with junit 5 test annotation in testImproveAPIActualTypeReference Replaced junit 4 test annotation with junit 5 test annotation in testIsSubTypeSuperClassNull Replaced junit 4 test annotation with junit 5 test annotation in testSubTypeAnonymous Replaced junit 4 test annotation with junit 5 test annotation in testGetTypeDeclaration Replaced junit 4 test annotation with junit 5 test annotation in testTypeDeclarationWildcard Replaced junit 4 test annotation with junit 5 test annotation in testEqualityTypeReference Replaced junit 4 test annotation with junit 5 test annotation in testTypeReferenceWithGenerics Replaced junit 4 test annotation with junit 5 test annotation in testTypeReferenceImplicitParent Replaced junit 4 test annotation with junit 5 test annotation in testIsInTheSamePackageNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testQualifiedArrayTypeReferenceNoClasspath Replaced junit 4 test annotation with junit 5 test annotation in testUnqualifiedExternalTypeMemberAccess Replaced junit 4 test annotation with junit 5 test annotation in testTypeReferenceToChildClass Replaced junit 4 test annotation with junit 5 test annotation in testProblemTypeReferenceToChildClass Transformed junit4 assert to junit 5 assertion in testGetAllExecutablesForInterfaces Transformed junit4 assert to junit 5 assertion in loadReferencedClassFromClasspath Transformed junit4 assert to junit 5 assertion in doNotCloseLoader Transformed junit4 assert to junit 5 assertion in testNullReferenceSubtype Transformed junit4 assert to junit 5 assertion in unboxTest Transformed junit4 assert to junit 5 assertion in testToStringEqualityBetweenTwoGenericTypeDifferent Transformed junit4 assert to junit 5 assertion in testRecursiveTypeReference Transformed junit4 assert to junit 5 assertion in testRecursiveTypeReferenceInGenericType Transformed junit4 assert to junit 5 assertion in testUnknownSuperClassWithSameNameInNoClasspath Transformed junit4 assert to junit 5 assertion in testPackageInNoClasspath Transformed junit4 assert to junit 5 assertion in testTypeReferenceSpecifiedInClassDeclarationInNoClasspath Transformed junit4 assert to junit 5 assertion in testTypeReferenceSpecifiedInClassDeclarationInNoClasspathWithGenerics Transformed junit4 assert to junit 5 assertion in testArgumentOfAInvocationIsNotATypeAccess Transformed junit4 assert to junit 5 assertion in testInvocationWithFieldAccessInNoClasspath Transformed junit4 assert to junit 5 assertion in testAnnotationOnMethodWithPrimitiveReturnTypeInNoClasspath Transformed junit4 assert to junit 5 assertion in testAnonymousClassesHaveAnEmptyStringForItsNameInNoClasspath Transformed junit4 assert to junit 5 assertion in testConstructorCallInNoClasspath Transformed junit4 assert to junit 5 assertion in testShortTypeReference Transformed junit4 assert to junit 5 assertion in testClearBoundsForWildcardReference Transformed junit4 assert to junit 5 assertion in testIgnoreEnclosingClassInActualTypes Transformed junit4 assert to junit 5 assertion in testCorrectEnumParent Transformed junit4 assert to junit 5 assertion in testImproveAPIActualTypeReference Transformed junit4 assert to junit 5 assertion in testIsSubTypeSuperClassNull Transformed junit4 assert to junit 5 assertion in testSubTypeAnonymous Transformed junit4 assert to junit 5 assertion in testGetTypeDeclaration Transformed junit4 assert to junit 5 assertion in testTypeDeclarationWildcard Transformed junit4 assert to junit 5 assertion in testEqualityTypeReference Transformed junit4 assert to junit 5 assertion in testTypeReferenceWithGenerics Transformed junit4 assert to junit 5 assertion in testTypeReferenceImplicitParent Transformed junit4 assert to junit 5 assertion in testIsInTheSamePackageNoClasspath Transformed junit4 assert to junit 5 assertion in testQualifiedArrayTypeReferenceNoClasspath Transformed junit4 assert to junit 5 assertion in testUnqualifiedExternalTypeMemberAccess Transformed junit4 assert to junit 5 assertion in testTypeReferenceToChildClass Transformed junit4 assert to junit 5 assertion in testProblemTypeReferenceToChildClass
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
Junit4 @test Annotation
testGetAllExecutablesForInterfaces
loadReferencedClassFromClasspath
doNotCloseLoader
testNullReferenceSubtype
unboxTest
testToStringEqualityBetweenTwoGenericTypeDifferent
testRecursiveTypeReference
testRecursiveTypeReferenceInGenericType
testUnknownSuperClassWithSameNameInNoClasspath
testPackageInNoClasspath
testTypeReferenceSpecifiedInClassDeclarationInNoClasspath
testTypeReferenceSpecifiedInClassDeclarationInNoClasspathWithGenerics
testArgumentOfAInvocationIsNotATypeAccess
testInvocationWithFieldAccessInNoClasspath
testAnnotationOnMethodWithPrimitiveReturnTypeInNoClasspath
testAnonymousClassesHaveAnEmptyStringForItsNameInNoClasspath
testConstructorCallInNoClasspath
testShortTypeReference
testClearBoundsForWildcardReference
testIgnoreEnclosingClassInActualTypes
testCorrectEnumParent
testImproveAPIActualTypeReference
testIsSubTypeSuperClassNull
testSubTypeAnonymous
testGetTypeDeclaration
testTypeDeclarationWildcard
testEqualityTypeReference
testTypeReferenceWithGenerics
testTypeReferenceImplicitParent
testIsInTheSamePackageNoClasspath
testQualifiedArrayTypeReferenceNoClasspath
testUnqualifiedExternalTypeMemberAccess
testTypeReferenceToChildClass
testProblemTypeReferenceToChildClass
AssertionsTransformation
testGetAllExecutablesForInterfaces
loadReferencedClassFromClasspath
doNotCloseLoader
testNullReferenceSubtype
unboxTest
testToStringEqualityBetweenTwoGenericTypeDifferent
testRecursiveTypeReference
testRecursiveTypeReferenceInGenericType
testUnknownSuperClassWithSameNameInNoClasspath
testPackageInNoClasspath
testTypeReferenceSpecifiedInClassDeclarationInNoClasspath
testTypeReferenceSpecifiedInClassDeclarationInNoClasspathWithGenerics
testArgumentOfAInvocationIsNotATypeAccess
testInvocationWithFieldAccessInNoClasspath
testAnnotationOnMethodWithPrimitiveReturnTypeInNoClasspath
testAnonymousClassesHaveAnEmptyStringForItsNameInNoClasspath
testConstructorCallInNoClasspath
testShortTypeReference
testClearBoundsForWildcardReference
testIgnoreEnclosingClassInActualTypes
testCorrectEnumParent
testImproveAPIActualTypeReference
testIsSubTypeSuperClassNull
testSubTypeAnonymous
testGetTypeDeclaration
testTypeDeclarationWildcard
testEqualityTypeReference
testTypeReferenceWithGenerics
testTypeReferenceImplicitParent
testIsInTheSamePackageNoClasspath
testQualifiedArrayTypeReferenceNoClasspath
testUnqualifiedExternalTypeMemberAccess
testTypeReferenceToChildClass
testProblemTypeReferenceToChildClass