Skip to content

Static methods mocking fix #2054

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
Mar 28, 2023
Merged

Conversation

EgorkaKulikov
Copy link
Collaborator

@EgorkaKulikov EgorkaKulikov commented Mar 28, 2023

Description

Fixes #456

Add a check to skip concrete execution if we have any static methods mocks.

How to test

Manual tests

Examples from #456 passes.

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.

@sergeypospelov sergeypospelov self-requested a review March 28, 2023 09:31
@sergeypospelov sergeypospelov added the comp-symbolic-engine Issue is related to the symbolic execution engine label Mar 28, 2023
@EgorkaKulikov EgorkaKulikov added the ctg-bug-fix PR is fixing a bug label Mar 28, 2023
@sergeypospelov sergeypospelov added the comp-instrumented-process Issue is related to Instrumented process label Mar 28, 2023
@EgorkaKulikov EgorkaKulikov merged commit 585c62d into main Mar 28, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/fix_mocking_static_methods branch March 28, 2023 10:29
Vassiliy-Kudryashov pushed a commit that referenced this pull request Mar 28, 2023
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 comp-symbolic-engine Issue is related to the symbolic execution engine ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No field $__is_mock_null in class org.utbot.api.mock.UtMock
2 participants