Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openrewrite/rewrite-testing-frameworks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.33.0
Choose a base ref
...
head repository: openrewrite/rewrite-testing-frameworks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.34.0
Choose a head ref
  • 14 commits
  • 86 files changed
  • 12 contributors

Commits on Jan 20, 2023

  1. Added recipe for size (#302)

    * New recipe for assertj cleanup
    
    * Added unit test for the recipe and added recipe to yml
    
    * Polish
    
    * Defensive programming
    
    Co-authored-by: Jonathan Schnéider <jkschneider@gmail.com>
    pibizza and jkschneider authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    b08bed5 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2023

  1. Configuration menu
    Copy the full SHA
    60a1851 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    9c9b2c5 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    401d7f9 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Add BDDMockito methods to the MOCKITO_METHOD_NAMES so they dont get r…

    …emoved if they are in use (#307)
    rrvk authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    984985b View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Configuration menu
    Copy the full SHA
    998c012 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2023

  1. refactor: Common static analysis issues

    Co-authored-by: Moderne <team@moderne.io>
    timtebeek and TeamModerne committed Feb 7, 2023
    Configuration menu
    Copy the full SHA
    7c39895 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. PowerMockito mockStatic to Mockito

    klauerm authored and jkschneider committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    af79b7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    777908f View commit details
    Browse the repository at this point in the history
  3. refactor: Update OWASP suppression date bounds (#310)

    Co-authored-by: Moderne <team@moderne.io>
    sjungling and TeamModerne authored Feb 8, 2023
    Configuration menu
    Copy the full SHA
    18fc151 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    94deeae View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2023

  1. refactor: Change type away from Jetbrains NonNull

    Co-authored-by: Moderne <team@moderne.io>
    timtebeek and TeamModerne committed Feb 11, 2023
    Configuration menu
    Copy the full SHA
    bfa9228 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Improvement of Replace PowerMockito with Mockito static mocking (#312)

    * Unit Test for replacing mockStatic method.
    
    * Modified recipe list
    
    * Tried to use org.powermock for unit test
    
    * Update src/test/java/org/openrewrite/java/testing/mockito/ReplacePowerMockitoIntegrationTest.java
    
    Co-authored-by: Tim te Beek <timtebeek@gmail.com>
    
    * Update src/test/java/org/openrewrite/java/testing/mockito/ReplacePowerMockitoIntegrationTest.java
    
    * added unit test parser dependency to powermock
    
    * Add powermock jars for classpathFromResources
    
    * Removed additional Powermock annotations
    
    * Exclude Visual Studio Code settings from git
    
    * New Recipe PowerMockitoMockStaticToMockito
    
    - First it removes the PowerMockTestCaseConfig extension
    
    * Try to replace @PrepareForTest annotation with new MockedStatic fields
    
    * Give the test method a meaningful name
    
    * Mostly get the test cases passing. There is still a problem with the template which I think is a bug in OpenRewrite.
    
    * Get tests passing
    
    * Add missing license headers
    
    * Updated mockito.yml and IntegrationTest to reflect changes from  last commit of code review
    
    * Added tearDown() methods to the refactored tests
    
    * Refactoring and code clean up
    
    * Fixed issue with missing statements in tearDown method.
    
    - Unit tests are failing because of missing type
    
    * Tried to replace Mockito.when with MockedStatic.when
    
    - Unit tests are failing because of missing type
    
    * Specified requirements in ReplacePowerMockitoIntegrationTest
    
    - Unit tests are failing because of missing type
    
    * Fixed unit tests and 1 integration test
    
    - The testNG case is still missing
    
    - Unit tests are failing because of missing type
    
    * First version of recipe to work with TestNG
    
    * Refactor test framework information holder and fix unit test issues
    
    * Enable ReplacePowerMockitoIntegrationTest and add testng-7.7.1 to classpathFromResources
    
    * Fix annotation pattern in yml file
    
    ---------
    
    Co-authored-by: Tim te Beek <timtebeek@gmail.com>
    Co-authored-by: Sam Snyder <sam@moderne.io>
    Co-authored-by: Tim te Beek <tim@moderne.io>
    Co-authored-by: D067517 <tobias.poeppke@sap.com>
    5 people authored Feb 13, 2023
    Configuration menu
    Copy the full SHA
    594a3df View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Configuration menu
    Copy the full SHA
    898f863 View commit details
    Browse the repository at this point in the history
Loading