Commit df3ca59
Vincent Potucek
[junit] add
- https://docs.openrewrite.org/recipes/java/testing/junit/jupiterbestpractices
Signed-off-by: Vincent Potucek <vpotucek@me.com>
...
> Task :platform-tests:rewriteRun
There were problems parsing platform-tests/platform-tests.gradle.kts
All sources parsed, running active recipes: org.junit.openrewrite.SanityCheck
Changes have been made to platform-tests/src/test/java/org/junit/platform/reporting/legacy/xml/LegacyXmlReportGeneratingListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/reporting/open/xml/OpenTestReportGeneratingListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/reporting/open/xml/JUnitContributorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/DefaultLauncherTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.AssertThrowsOnLastStatement
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/LauncherFactoryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/StreamInterceptorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/HierarchicalOutputDirectoryCreatorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/ExecutionListenerAdapterTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/ListenerRegistryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/core/InternalTestPlanTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/listeners/UniqueIdTrackingListenerIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/listeners/SummaryGenerationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/listeners/discovery/LoggingLauncherDiscoveryListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/listeners/LoggingListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/launcher/listeners/session/CompositeLauncherSessionListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/util/ReflectionUtilsWithGenericTypeHierarchiesTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/util/pkg1/SuperclassWithStaticPackagePrivateBeforeMethod.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/util/DefaultClasspathScannerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/annotation/TestableAnnotationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/function/TryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/commons/support/ResourceInteroperabilityTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/testkit/engine/NestedContainerEventConditionTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/DiscoveryIssueTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/hierarchical/ParallelExecutionIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/hierarchical/ForkJoinDeadLockTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/hierarchical/SameThreadExecutionIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/discovery/EngineDiscoveryRequestResolverTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/descriptor/ClassSourceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/support/store/NamespaceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/engine/TestTagTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
Changes have been made to platform-tests/src/test/java/org/junit/platform/StackTracePruningTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
Changes have been made to platform-tests/src/test/java/org/junit/platform/console/output/TestFeedPrintingListenerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to platform-tests/src/test/java/org/junit/platform/console/ConsoleLauncherIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to platform-tests/src/jmh/java/org/junit/jupiter/jmh/AssertionBenchmarks.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Please review and commit the results.
Estimate time saved: 1h 58m
> Task :jupiter-tests:rewriteRun
Validating active recipes
Scanning sources in project :jupiter-tests
Using active styles []
There were problems parsing some source files, run with --info to see full stack traces
There were problems parsing jupiter-tests/src/test/java/org/junit/jupiter/params/provider/MethodArgumentsProviderTests.java
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/converter/TypedArgumentConverterKotlinTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/aggregator/DisplayNameTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/aggregator/ArgumentsAccessorKotlinTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/ParameterizedTestKotlinSequenceIntegrationTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/ParameterizedInvocationNameFormatterIntegrationTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/params/ParameterizedClassKotlinIntegrationTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/api/kotlin/KotlinAssertionsTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/api/kotlin/KotlinFailAssertionsTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/api/kotlin/KotlinDynamicTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/api/kotlin/KotlinAssertTimeoutAssertionsTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/api/kotlin/KotlinSuspendFunctionsTests.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/InstancePerMethodKotlinTestCase.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/KotlinInterfaceTestCase.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/KotlinInterfaceImplementationTestCase.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/KotlinDefaultImplsTestCase.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/ArbitraryNamingKotlinTestCase.kt
There were problems parsing jupiter-tests/src/test/kotlin/org/junit/jupiter/engine/kotlin/InstancePerClassKotlinTestCase.kt
There were problems parsing jupiter-tests/jupiter-tests.gradle.kts
All sources parsed, running active recipes: org.junit.openrewrite.SanityCheck
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/migrationsupport/rules/AbstractTestRuleAdapterTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/migrationsupport/rules/VerifierSupportForMixedMethodAndFieldRulesTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/migrationsupport/rules/WrongExtendWithForVerifierMethodTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/migrationsupport/rules/WrongExtendWithForVerifierFieldTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/params/ParameterizedTestIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CsvSourceToValueSource
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/params/support/AnnotationConsumerInitializerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CsvSourceToValueSource
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
org.openrewrite.java.testing.junit5.AddParameterizedTestAnnotation
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/params/ParameterizedClassIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/AssertNotSameAssertionsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/parallel/ResourceLockAnnotationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/extension/ExecutableInvokerIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/extension/CloseableResourceIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/DynamicTestTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/AssertFalseAssertionsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes$WithMessageRecipe
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes$WithoutMessageRecipe
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/subpackage/SubclassedAssertionsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes$WithoutMessageRecipe
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/EnabledIfIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/DisabledIfIntegrationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/DisabledIfConditionTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/EnabledIfConditionTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/JRETests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/EnabledIfConditionClassLoaderTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/condition/DisabledIfConditionClassLoaderTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/DisplayNameGenerationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/api/AssertTrueAssertionsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes$WithMessageRecipe
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipes$WithoutMessageRecipe
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/FailedAssumptionsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/ClassTemplateInvocationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestInstanceFactoryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/RepeatedTestTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/LifecycleMethodExecutionExceptionHandlerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/BeforeAndAfterAllTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/CloseablePathTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestInstancePostProcessorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TempDirectoryCleanupTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TempDirectoryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestInstancePreDestroyCallbackUtilityMethodTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestInstancePostProcessorAndPreDestroyCallbackTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/BeforeAndAfterTestExecutionCallbackTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/ParameterResolverTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TimeoutExtensionTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/InvocationInterceptorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/ExecutionConditionTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestInstancePreDestroyCallbackTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/BeforeAndAfterEachTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/TestExecutionExceptionHandlerTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/ExtensionRegistrationViaParametersAndFieldsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/extension/PreInterruptCallbackTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/NestedWithInheritanceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/bridge/ChildWithBridgeMethods.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/bridge/ChildWithoutBridgeMethods.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/bridge/AbstractNonGenericTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/bridge/PackagePrivateParent.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/NestedWithSeparateInheritanceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/ExecutionCancellationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/MultipleTestableAnnotationsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.junit5.RemoveDuplicateTestTemplates
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/discovery/predicates/IsTestMethodTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
org.openrewrite.java.testing.cleanup.TestMethodsShouldBeVoid
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/discovery/predicates/IsTestTemplateMethodTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.TestMethodsShouldBeVoid
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/discovery/DiscoveryTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
org.openrewrite.java.testing.cleanup.TestMethodsShouldBeVoid
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/discovery/DiscoverySelectorResolverTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/ExceptionHandlingTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
org.openrewrite.java.testing.cleanup.SimplifyTestThrows
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/TestClassInheritanceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/StandardTestClassTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/execution/ParameterResolutionUtilsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.AssertThrowsOnLastStatement
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/SealedClassTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/TestTemplateInvocationTestDescriptorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/ExtensionContextTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/JupiterTestDescriptorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/TestTemplateTestDescriptorTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/subpackage/ClassWithStaticInnerTestCases.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/subpackage/Class2WithTestCases.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/subpackage/Class1WithTestCases.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/NamespaceTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor/LifecycleMethodUtilsTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.LifecycleNonPrivate
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/TestTemplateInvocationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.RemoveTestPrefix
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/NestedTestClassesTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.StaticImports
org.openrewrite.java.UseStaticImport: {methodPattern=org.junit.jupiter.api.Assertions *(..)}
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/LifecycleMethodOverridingTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/JupiterTestEngineTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/RecordTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.cleanup.AssertLiteralBooleanRemovedRecipe
Changes have been made to jupiter-tests/src/test/java/org/junit/jupiter/engine/TestInstanceLifecycleConfigurationTests.java by:
org.openrewrite.java.testing.junit.JupiterBestPractices
org.openrewrite.java.testing.junit5.CleanupAssertions
org.openrewrite.java.testing.cleanup.AssertionsArgumentOrder
Please review and commit the results.
Estimate time saved: 4h 25mJupiterBestPractices
1 parent 8429a08 commit df3ca59
File tree
72 files changed
+248
-229
lines changed- .github/workflows
- gradle
- config
- plugins/common/src/main/kotlin
- jupiter-tests/src/test/java/org/junit/jupiter
- api
- condition
- extension
- parallel
- engine
- descriptor
- execution
- extension
- migrationsupport/rules
- params
- platform-tests/src
- jmh/java/org/junit/jupiter/jmh
- test/java/org/junit/platform
- commons
- annotation
- function
- support
- util
- console
- output
- engine
- support
- descriptor
- discovery
- hierarchical
- store
- launcher
- core
- listeners
- discovery
- session
- reporting
- legacy/xml
- open/xml
- platform-tooling-support-tests/src/test/java/platform/tooling/support/tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
72 files changed
+248
-229
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | 12 | | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
| 15 | + | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
22 | 19 | | |
23 | | - | |
| 20 | + | |
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
28 | | - | |
| 24 | + | |
29 | 25 | | |
30 | 26 | | |
31 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
17 | 15 | | |
Lines changed: 48 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
12 | 56 | | |
13 | 57 | | |
14 | 58 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments