test: migrate TryCatchTest to JUnit 5 #4441
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 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