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

deprecated reflect mode has been replaced with package mode #207

Merged
merged 18 commits into from
Oct 3, 2024

Commits on Aug 9, 2024

  1. deprecated reflect mode has been replaced with import mode. benefits:

    * generation mocks for generic interfaces
    * generation mocks for aliases to interfaces
    * correct names for method arguments
    tulzke committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    3075423 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. tests has been reworked

    tulzke committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    2b8cc4c View commit details
    Browse the repository at this point in the history
  2. review changes:

    * added detailed parsing error
    * error more succinct
    * removed call of iface.Complete()
    * renamed checkInterfaceIsNotConstraint -> isConstraint
    * reduced nesting at parse named segment
    * add_generate_directive test fixed after I accidentally changed it early
    tulzke committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0643be9 View commit details
    Browse the repository at this point in the history
  3. fixed misprint in the error

    tulzke committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    703a35f View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. added types.Unalias call

    tulzke committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    02bca6a View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. review:

    * go updated up to 1.23 for correct aliases support
    * loading of package was changed from fake package to direct load by pattern
    * types.Alias added to same case as types.Named
    * added test case for interface containing aliases in parameters and returns
    tulzke committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    07d869b View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/main'

    # Conflicts:
    #	mockgen/reflect.go
    tulzke committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    2cb45fb View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

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

Commits on Sep 24, 2024

  1. review changes:

    * changed errors formatting with less details
    * regenerated mocks
    tulzke committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c630751 View commit details
    Browse the repository at this point in the history
  2. regenerated mock

    tulzke committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    c5cd86f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    08f7db9 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. review changes:

    * fixed type conversion for support go1.22
    * simplified loops by using range
    * removed unused method "generateSalt"
    * renamed method of test interface: GiveBirth -> AddHumans
    tulzke committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    5b309e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    6fc5cf5 View commit details
    Browse the repository at this point in the history
  2. import mode renamed to package mode in:

    * tests
    * help message
    * README.md
    tulzke committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    69210e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cbd7843 View commit details
    Browse the repository at this point in the history
  4. regenerated forgotten mock

    tulzke committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b14e7ad View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

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

Commits on Oct 3, 2024

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