Skip to content

test: migrate TryCatchTest to JUnit 5 #4441

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

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

MartinWitt
Copy link
Collaborator

@MartinWitt MartinWitt commented Jan 10, 2022

#3919
The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testModelBuildingInitializer
Replaced junit 4 test annotation with junit 5 test annotation in testFullyQualifiedException
Replaced junit 4 test annotation with junit 5 test annotation in testCatchOrder
Replaced junit 4 test annotation with junit 5 test annotation in testExceptionJava7
Replaced junit 4 test annotation with junit 5 test annotation in testRethrowingExceptionsJava7
Replaced junit 4 test annotation with junit 5 test annotation in testTryWithOneResource
Replaced junit 4 test annotation with junit 5 test annotation in testTryWithResources
Replaced junit 4 test annotation with junit 5 test annotation in testMultiTryCatchWithCustomExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testCompileMultiTryCatchWithCustomExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testTryCatchVariableGetType
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithExplicitFinalVariable
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithUnknownExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testCatchQualifiedReferenceNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testCatchUnqualifiedReferenceIsMarkedSimplyQualified
Replaced junit 4 test annotation with junit 5 test annotation in testCatchUnqualifiedReferenceMarkedSimplyQualifiedWhenMultipleTypesAreSpecified
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithQualifiedAndUnqualifiedTypeReferencesInSameCatcher
Replaced junit 4 test annotation with junit 5 test annotation in testNonCloseableGenericTypeInTryWithResources
Transformed junit4 assert to junit 5 assertion in testModelBuildingInitializer
Transformed junit4 assert to junit 5 assertion in testFullyQualifiedException
Transformed junit4 assert to junit 5 assertion in testCatchOrder
Transformed junit4 assert to junit 5 assertion in testExceptionJava7
Transformed junit4 assert to junit 5 assertion in testRethrowingExceptionsJava7
Transformed junit4 assert to junit 5 assertion in testTryWithOneResource
Transformed junit4 assert to junit 5 assertion in testTryWithResources
Transformed junit4 assert to junit 5 assertion in testMultiTryCatchWithCustomExceptions
Transformed junit4 assert to junit 5 assertion in testCompileMultiTryCatchWithCustomExceptions
Transformed junit4 assert to junit 5 assertion in testTryCatchVariableGetType
Transformed junit4 assert to junit 5 assertion in testCatchWithExplicitFinalVariable
Transformed junit4 assert to junit 5 assertion in testCatchWithUnknownExceptions
Transformed junit4 assert to junit 5 assertion in testCatchQualifiedReferenceNoClasspath
Transformed junit4 assert to junit 5 assertion in testCatchUnqualifiedReferenceIsMarkedSimplyQualified
Transformed junit4 assert to junit 5 assertion in testCatchUnqualifiedReferenceMarkedSimplyQualifiedWhenMultipleTypesAreSpecified
Transformed junit4 assert to junit 5 assertion in testCatchWithQualifiedAndUnqualifiedTypeReferencesInSameCatcher

 The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testModelBuildingInitializer
Replaced junit 4 test annotation with junit 5 test annotation in testFullyQualifiedException
Replaced junit 4 test annotation with junit 5 test annotation in testCatchOrder
Replaced junit 4 test annotation with junit 5 test annotation in testExceptionJava7
Replaced junit 4 test annotation with junit 5 test annotation in testRethrowingExceptionsJava7
Replaced junit 4 test annotation with junit 5 test annotation in testTryWithOneResource
Replaced junit 4 test annotation with junit 5 test annotation in testTryWithResources
Replaced junit 4 test annotation with junit 5 test annotation in testMultiTryCatchWithCustomExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testCompileMultiTryCatchWithCustomExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testTryCatchVariableGetType
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithExplicitFinalVariable
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithUnknownExceptions
Replaced junit 4 test annotation with junit 5 test annotation in testCatchQualifiedReferenceNoClasspath
Replaced junit 4 test annotation with junit 5 test annotation in testCatchUnqualifiedReferenceIsMarkedSimplyQualified
Replaced junit 4 test annotation with junit 5 test annotation in testCatchUnqualifiedReferenceMarkedSimplyQualifiedWhenMultipleTypesAreSpecified
Replaced junit 4 test annotation with junit 5 test annotation in testCatchWithQualifiedAndUnqualifiedTypeReferencesInSameCatcher
Replaced junit 4 test annotation with junit 5 test annotation in testNonCloseableGenericTypeInTryWithResources
Transformed junit4 assert to junit 5 assertion in testModelBuildingInitializer
Transformed junit4 assert to junit 5 assertion in testFullyQualifiedException
Transformed junit4 assert to junit 5 assertion in testCatchOrder
Transformed junit4 assert to junit 5 assertion in testExceptionJava7
Transformed junit4 assert to junit 5 assertion in testRethrowingExceptionsJava7
Transformed junit4 assert to junit 5 assertion in testTryWithOneResource
Transformed junit4 assert to junit 5 assertion in testTryWithResources
Transformed junit4 assert to junit 5 assertion in testMultiTryCatchWithCustomExceptions
Transformed junit4 assert to junit 5 assertion in testCompileMultiTryCatchWithCustomExceptions
Transformed junit4 assert to junit 5 assertion in testTryCatchVariableGetType
Transformed junit4 assert to junit 5 assertion in testCatchWithExplicitFinalVariable
Transformed junit4 assert to junit 5 assertion in testCatchWithUnknownExceptions
Transformed junit4 assert to junit 5 assertion in testCatchQualifiedReferenceNoClasspath
Transformed junit4 assert to junit 5 assertion in testCatchUnqualifiedReferenceIsMarkedSimplyQualified
Transformed junit4 assert to junit 5 assertion in testCatchUnqualifiedReferenceMarkedSimplyQualifiedWhenMultipleTypesAreSpecified
Transformed junit4 assert to junit 5 assertion in testCatchWithQualifiedAndUnqualifiedTypeReferencesInSameCatcher
@monperrus monperrus merged commit 8b6d105 into INRIA:master Jan 11, 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