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

Constructor dispatch #2020

Merged
merged 2 commits into from Aug 22, 2020
Merged

Constructor dispatch #2020

merged 2 commits into from Aug 22, 2020

Commits on Aug 22, 2020

  1. Add validation to MockMethodDispatcher that this class is only ever l…

    …oaded by the bootstrap class loader.
    
    This is normally assured by Mockito but other testing frameworks that work with instrumentation can interfer with this. This might be difficult to discover for those frameworks as seen with Robolectric. This explicit error should help to discover such discrepencies.
    raphw committed Aug 22, 2020
    Copy the full SHA
    42a154f View commit details
    Browse the repository at this point in the history
  2. Add validation to MockMethodDispatcher that this class is only ever l…

    …oaded by the bootstrap class loader.
    
    This is normally assured by Mockito but other testing frameworks that work with instrumentation can interfer with this. This might be difficult to discover for those frameworks as seen with Robolectric. This explicit error should help to discover such discrepencies.
    raphw committed Aug 22, 2020
    Copy the full SHA
    c5406ae View commit details
    Browse the repository at this point in the history