Skip to content

Commit

Permalink
Do not pass in null values in ReplacePowerMockito
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Aug 26, 2024
1 parent ed5d20e commit fb81b3e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/main/resources/META-INF/rewrite/powermockito.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,18 @@ recipeList:
methodPattern: org.powermock.api.mockito.PowerMockito mockStatic(..)
fullyQualifiedTargetTypeName: org.mockito.Mockito
returnType: org.mockito.MockedStatic
matchOverrides: null
matchUnknownTypes:
- org.openrewrite.java.ChangeMethodTargetToStatic:
methodPattern: org.powermock.api.mockito.PowerMockito do*(..)
fullyQualifiedTargetTypeName: org.mockito.Mockito
matchOverrides: null
matchUnknownTypes: null
- org.openrewrite.java.ChangeMethodTargetToStatic:
methodPattern: org.powermock.api.mockito.PowerMockito mock(..)
fullyQualifiedTargetTypeName: org.mockito.Mockito
matchOverrides: null
matchUnknownTypes: null
- org.openrewrite.java.ChangeMethodTargetToStatic:
methodPattern: org.powermock.api.mockito.PowerMockito spy(..)
fullyQualifiedTargetTypeName: org.mockito.Mockito
matchOverrides: null
matchUnknownTypes: null
- org.openrewrite.java.ChangeMethodTargetToStatic:
methodPattern: org.powermock.api.mockito.PowerMockito when(..)
fullyQualifiedTargetTypeName: org.mockito.Mockito
matchOverrides: null
matchUnknownTypes: null
- org.openrewrite.java.testing.mockito.PowerMockitoMockStaticToMockito
- org.openrewrite.java.dependencies.RemoveDependency:
groupId: org.powermock
Expand Down

0 comments on commit fb81b3e

Please sign in to comment.