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 APITest to Junit 5 #4420

Merged
merged 1 commit into from
Jan 8, 2022

Conversation

MartinWitt
Copy link
Collaborator

#3919
The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testBasicAPIUsage
Replaced junit 4 test annotation with junit 5 test annotation in testOverrideOutputWriter
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateEntry
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateFolder
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateFilePlusFolder
Replaced junit 4 test annotation with junit 5 test annotation in testAddProcessorMethodInSpoonAPI
Replaced junit 4 test annotation with junit 5 test annotation in testOutputOfSpoon
Replaced junit 4 test annotation with junit 5 test annotation in testDestinationOfSpoon
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesWithFilter
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesWithNames
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesInCommandLine
Replaced junit 4 test annotation with junit 5 test annotation in testInvalidateCacheOfCompiler
Replaced junit 4 test annotation with junit 5 test annotation in testSetterInNodes
Replaced junit 4 test annotation with junit 5 test annotation in testOneLinerIntro
Replaced junit 4 test annotation with junit 5 test annotation in testSourceClasspathDoesNotAcceptDotClass
Replaced junit 4 test annotation with junit 5 test annotation in testOutputDestinationHandler
Replaced junit 4 test annotation with junit 5 test annotation in testOutputDestinationHandlerWithCUFactory
Replaced junit 4 test annotation with junit 5 test annotation in testOutputWithNoOutputProduceNoFolder
Replaced junit 4 test annotation with junit 5 test annotation in testGetOneLinerMainClassFromCU
Replaced junit 4 test annotation with junit 5 test annotation in testLauncherDefaultValues
Replaced junit 4 test annotation with junit 5 test annotation in testBuildModelReturnThatTheModelIsBuilt
Replaced junit 4 test annotation with junit 5 test annotation in testProcessModelsTwice
Removed expected annotation from test method testNotValidInput
Transformed junit4 assert to junit 5 assertion in testOverrideOutputWriter
Transformed junit4 assert to junit 5 assertion in testDuplicateEntry
Transformed junit4 assert to junit 5 assertion in testDuplicateFolder
Transformed junit4 assert to junit 5 assertion in testDuplicateFilePlusFolder
Transformed junit4 assert to junit 5 assertion in testAddProcessorMethodInSpoonAPI
Transformed junit4 assert to junit 5 assertion in testOutputOfSpoon
Transformed junit4 assert to junit 5 assertion in testDestinationOfSpoon
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesWithFilter
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesWithNames
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesInCommandLine
Transformed junit4 assert to junit 5 assertion in testInvalidateCacheOfCompiler
Transformed junit4 assert to junit 5 assertion in testSetterInNodes
Transformed junit4 assert to junit 5 assertion in testOneLinerIntro
Transformed junit4 assert to junit 5 assertion in testSourceClasspathDoesNotAcceptDotClass
Transformed junit4 assert to junit 5 assertion in testOutputDestinationHandler
Transformed junit4 assert to junit 5 assertion in testOutputDestinationHandlerWithCUFactory
Transformed junit4 assert to junit 5 assertion in testOutputWithNoOutputProduceNoFolder
Transformed junit4 assert to junit 5 assertion in testGetOneLinerMainClassFromCU
Transformed junit4 assert to junit 5 assertion in testLauncherDefaultValues
Transformed junit4 assert to junit 5 assertion in testBuildModelReturnThatTheModelIsBuilt
Transformed junit4 assert to junit 5 assertion in testProcessModelsTwice
Replaced assertTrue checking equals with assertEquals
Replaced junit 4 test annotation with junit 5 test annotation in testNotValidInput

 The following has changed in the code:
Replaced junit 4 test annotation with junit 5 test annotation in testBasicAPIUsage
Replaced junit 4 test annotation with junit 5 test annotation in testOverrideOutputWriter
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateEntry
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateFolder
Replaced junit 4 test annotation with junit 5 test annotation in testDuplicateFilePlusFolder
Replaced junit 4 test annotation with junit 5 test annotation in testAddProcessorMethodInSpoonAPI
Replaced junit 4 test annotation with junit 5 test annotation in testOutputOfSpoon
Replaced junit 4 test annotation with junit 5 test annotation in testDestinationOfSpoon
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesWithFilter
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesWithNames
Replaced junit 4 test annotation with junit 5 test annotation in testPrintNotAllSourcesInCommandLine
Replaced junit 4 test annotation with junit 5 test annotation in testInvalidateCacheOfCompiler
Replaced junit 4 test annotation with junit 5 test annotation in testSetterInNodes
Replaced junit 4 test annotation with junit 5 test annotation in testOneLinerIntro
Replaced junit 4 test annotation with junit 5 test annotation in testSourceClasspathDoesNotAcceptDotClass
Replaced junit 4 test annotation with junit 5 test annotation in testOutputDestinationHandler
Replaced junit 4 test annotation with junit 5 test annotation in testOutputDestinationHandlerWithCUFactory
Replaced junit 4 test annotation with junit 5 test annotation in testOutputWithNoOutputProduceNoFolder
Replaced junit 4 test annotation with junit 5 test annotation in testGetOneLinerMainClassFromCU
Replaced junit 4 test annotation with junit 5 test annotation in testLauncherDefaultValues
Replaced junit 4 test annotation with junit 5 test annotation in testBuildModelReturnThatTheModelIsBuilt
Replaced junit 4 test annotation with junit 5 test annotation in testProcessModelsTwice
Removed expected annotation from test method testNotValidInput
Transformed junit4 assert to junit 5 assertion in testOverrideOutputWriter
Transformed junit4 assert to junit 5 assertion in testDuplicateEntry
Transformed junit4 assert to junit 5 assertion in testDuplicateFolder
Transformed junit4 assert to junit 5 assertion in testDuplicateFilePlusFolder
Transformed junit4 assert to junit 5 assertion in testAddProcessorMethodInSpoonAPI
Transformed junit4 assert to junit 5 assertion in testOutputOfSpoon
Transformed junit4 assert to junit 5 assertion in testDestinationOfSpoon
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesWithFilter
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesWithNames
Transformed junit4 assert to junit 5 assertion in testPrintNotAllSourcesInCommandLine
Transformed junit4 assert to junit 5 assertion in testInvalidateCacheOfCompiler
Transformed junit4 assert to junit 5 assertion in testSetterInNodes
Transformed junit4 assert to junit 5 assertion in testOneLinerIntro
Transformed junit4 assert to junit 5 assertion in testSourceClasspathDoesNotAcceptDotClass
Transformed junit4 assert to junit 5 assertion in testOutputDestinationHandler
Transformed junit4 assert to junit 5 assertion in testOutputDestinationHandlerWithCUFactory
Transformed junit4 assert to junit 5 assertion in testOutputWithNoOutputProduceNoFolder
Transformed junit4 assert to junit 5 assertion in testGetOneLinerMainClassFromCU
Transformed junit4 assert to junit 5 assertion in testLauncherDefaultValues
Transformed junit4 assert to junit 5 assertion in testBuildModelReturnThatTheModelIsBuilt
Transformed junit4 assert to junit 5 assertion in testProcessModelsTwice
Replaced assertTrue checking equals with assertEquals
Replaced junit 4 test annotation with junit 5 test annotation in testNotValidInput
Copy link
Collaborator

@slarse slarse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, will merge.

@slarse slarse merged commit 7afcfa5 into INRIA:master Jan 8, 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