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

Add unit tests for JMockit Delegate to mockito migration. Also add test case for comments #557

Merged
merged 6 commits into from
Aug 4, 2024

Commits on Jul 28, 2024

  1. Add unit tests for JMockit Delegate to mockito migration. Also add on…

    …e test case for comments for JMockit Expectations proving that comments are not preserved.
    shivanisky committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    f808ed4 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Update JMockitDelegateToMockitoTest.java

    Modify test cases so that the tests fail with expected output of Delegate migration
    shivanisky committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    55bfec0 View commit details
    Browse the repository at this point in the history
  2. Update JMockitExpectationsToMockitoTest.java

    Modify test to prove that comments migration is not supported within expectations, and this may be useful for someone who is adding this feature later. Disable test.
    shivanisky committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    197e25a View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    timtebeek and github-actions[bot] authored Aug 3, 2024
    Configuration menu
    Copy the full SHA
    96fb383 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Update JMockitDelegateToMockitoTest.java

    Modify tests to account for stubbing void methods using doAnswer instead of thenAnswer. Remove unnecessary imports
    shivanisky committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    c4e8d4a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    629469c View commit details
    Browse the repository at this point in the history