Skip to content

Removed enum constants from meaningful static fields #1561

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

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

Damtev
Copy link
Member

@Damtev Damtev commented Dec 21, 2022

Description

Removed enum constants from meaningful static fields - previously enum constants were explicitly set in the generated tests.

Fixes #618.

Type of Change

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

How Has This Been Tested?

Regression and integration tests

Not applicable

Automated Testing

Existing enum tests from the org.utbot.examples.enums package.

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
  • All tests pass locally with my changes

@Damtev Damtev requested a review from CaelmBleidd December 21, 2022 03:23
@Damtev Damtev merged commit 295ede5 into main Dec 21, 2022
@Damtev Damtev deleted the damtev/removed_meaningful_enum_constants branch December 21, 2022 04:25
denis-fokin pushed a commit that referenced this pull request Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Useless assignment of enum values to corresponding static fields in generated tests
2 participants