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 support for generating mocks for generic interfaces #456

Merged
merged 5 commits into from May 24, 2022

Commits on May 24, 2022

  1. Add support for generating mocks for generic interfaces

    Paul Cruickshank authored and LandonTClipp committed May 24, 2022
    Copy the full SHA
    dc5539e View commit details
    Browse the repository at this point in the history
  2. Generics mocking fixes

    - Add support for rendering union types
    - Add support for rendering the type arguments of named types
    - Add support for rendering types embedded in interfaces
    - Test generic generation against a single more complicated interface
    - Fix package namespacing on type arguments
    Paul Cruickshank authored and LandonTClipp committed May 24, 2022
    Copy the full SHA
    33c4bf3 View commit details
    Browse the repository at this point in the history
  3. Genrics support: rename and comment methods

    Paul Cruickshank authored and LandonTClipp committed May 24, 2022
    Copy the full SHA
    a727d70 View commit details
    Browse the repository at this point in the history
  4. Update x/tools to pick up fix for golang/go#51629

    Paul Cruickshank authored and LandonTClipp committed May 24, 2022
    Copy the full SHA
    ed55a47 View commit details
    Browse the repository at this point in the history
  5. Merge conflict resolution

    Re-run mock generation
    
    Fix tests
    LandonTClipp committed May 24, 2022
    Copy the full SHA
    4c0f6c8 View commit details
    Browse the repository at this point in the history