File tree Expand file tree Collapse file tree
src/main/resources/META-INF/rewrite Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,6 +253,8 @@ description: Replace JUnit 4's `junit.framework.AssertionFailedError` and `org.j
253253tags :
254254 - testing
255255 - junit
256+ preconditions :
257+ - org.openrewrite.Singleton
256258recipeList :
257259 - org.openrewrite.java.ChangeType :
258260 oldFullyQualifiedTypeName : junit.framework.AssertionFailedError
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ preconditions:
221221 groupIdPattern : org.mockito
222222 artifactIdPattern : " *"
223223 version : " (,3.0)"
224+ - org.openrewrite.Singleton
224225recipeList :
225226 - org.openrewrite.java.testing.mockito.AddMockitoSettingsWithWarnStrictness
226227---
@@ -234,6 +235,7 @@ preconditions:
234235 - org.openrewrite.java.dependencies.search.ModuleHasDependency :
235236 groupIdPattern : org.junit.jupiter
236237 artifactIdPattern : junit-jupiter*
238+ - org.openrewrite.Singleton
237239recipeList :
238240 - org.openrewrite.java.testing.mockito.ReplaceMockitoTestExecutionListener :
239241 targetFramework : jupiter
@@ -248,6 +250,7 @@ preconditions:
248250 - org.openrewrite.java.dependencies.search.ModuleHasDependency :
249251 groupIdPattern : junit
250252 artifactIdPattern : junit
253+ - org.openrewrite.Singleton
251254recipeList :
252255 - org.openrewrite.java.testing.mockito.ReplaceMockitoTestExecutionListener :
253256 targetFramework : junit4
@@ -262,6 +265,7 @@ preconditions:
262265 - org.openrewrite.java.dependencies.search.ModuleHasDependency :
263266 groupIdPattern : org.testng
264267 artifactIdPattern : testng*
268+ - org.openrewrite.Singleton
265269recipeList :
266270 - org.openrewrite.java.testing.mockito.ReplaceMockitoTestExecutionListener :
267271 targetFramework : testng
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ displayName: Migrate from `oracle-xe` to `oracle-free`
2121description : >-
2222 Oracle Database Free is the successor of Oracle XE.
2323 Migrate from `org.testcontainers:oracle-xe` to `org.testcontainers:oracle-free`.
24+ preconditions :
25+ - org.openrewrite.Singleton
2426recipeList :
2527 - org.openrewrite.java.testing.testcontainers.ReplaceContainerImageName :
2628 containerClass : org.testcontainers.containers.OracleContainer
@@ -40,6 +42,8 @@ displayName: Migrate to Apache Kafka Native container
4042description : >-
4143 Replace `confluentinc/cp-kafka` with the much faster `apache/kafka-native` image
4244 and migrate from `org.testcontainers.containers.KafkaContainer` to `org.testcontainers.kafka.KafkaContainer`.
45+ preconditions :
46+ - org.openrewrite.Singleton
4347recipeList :
4448 - org.openrewrite.java.testing.testcontainers.ReplaceContainerImageName :
4549 containerClass : org.testcontainers.containers.KafkaContainer
You can’t perform that action at this time.
0 commit comments