Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Disabled tests for autogenerated functions #457#505

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@volivan239
Copy link
Collaborator

@volivan239volivan239 commentedJul 12, 2022
edited
Loading

Description

Disabled tests for autogenerated methods (values, valueOf) for enum classes.
Fixes#457

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Automated Testing

No new tests currently added (in progress)

Manual Scenario

  • Launch plugin on empty enum class -- it will suppose no methods to generate test, as expected
  • Launch contest estimator oncom.google.common.base.CaseFormat.* -- it will no more generate tests forvalues andvalueOf.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • New documentation is provided or existed one is altered
  • No new warnings
  • Tests that prove my change is effective
  • All tests pass locally with my changes

@volivan239volivan239 requested a review fromdtimJuly 12, 2022 15:29
Copy link
Collaborator

@dtimdtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Please see the comments.

@volivan239volivan239 changed the titleDisabled tests for autogenerated functionsDisabled tests for autogenerated functions #457Jul 15, 2022
@volivan239volivan239 requested a review fromdtimJuly 15, 2022 08:24
@volivan239volivan239 marked this pull request as ready for reviewJuly 15, 2022 08:25
Copy link
Collaborator

@dtimdtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Algorithmically and conceptually the PR is good, but there are some issues with the code organization. I would like also suggest some stylistic changes.

volivan239 pushed a commit that referenced this pull requestJul 18, 2022
@volivan239volivan239 requested a review fromdtimJuly 18, 2022 12:05
@volivan239volivan239force-pushed thevolivan239/disable-tests-for-autogenerated branch fromdc010f6 toa245bc6CompareJuly 18, 2022 12:59
Copy link
Collaborator

@dtimdtim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM. If possible, it would be nice to have some unit tests in CLI.

@volivan239volivan239 merged commitff1ea73 intomainJul 18, 2022
@volivan239volivan239 deleted the volivan239/disable-tests-for-autogenerated branchJuly 18, 2022 16:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dtimdtimdtim approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Archived in project

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Unexpected tests for some inherited methods on enums

3 participants

@volivan239@dtim

[8]ページ先頭

©2009-2025 Movatter.jp