Skip to content

Fixed mocking fields in another classes in concrete execution #2106

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 4 commits into from
Apr 7, 2023

Conversation

Damtev
Copy link
Member

@Damtev Damtev commented Apr 6, 2023

Description

Allows to mock fields of another class in the concrete execution.

Fixes #2105.

How to test

Automated tests

org.utbot.examples.mock.fields.ClassUsingClassWithRandomFieldTest.

Manual tests

The test mentioned in the issue.

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@Damtev Damtev added comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug labels Apr 6, 2023
@Damtev Damtev marked this pull request as ready for review April 6, 2023 15:08
@Damtev Damtev requested review from sergeypospelov and mmvpm April 6, 2023 16:00
@Damtev Damtev merged commit 7b5463c into main Apr 7, 2023
@Damtev Damtev deleted the damtev/concrete_mocks_in_init branch April 7, 2023 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-instrumented-process Issue is related to Instrumented process ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong mocking for fields in Concrete Execution
2 participants