Skip to content

Handle non-physical PsiFile in utbot inspections #1598

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 3 commits into from
Dec 27, 2022

Conversation

mmvpm
Copy link
Collaborator

@mmvpm mmvpm commented Dec 27, 2022

Description

In the utbot inspection may be received a non-physical file for which IDEA can't create problem descriptor. In this case we need to get somehow the corresponding physical file.

Now all is ok:

image

Fixes #1589

Type of Change

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

How Has This Been Tested?

Automated Testing

There are no unit tests for UI for now

Manual Scenario

Please, repeat the scenario from the issue #1589

Checklist:

  • 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

@mmvpm mmvpm self-assigned this Dec 27, 2022
@mmvpm mmvpm merged commit 82bfefd into main Dec 27, 2022
@mmvpm mmvpm deleted the ideaseeker/non_physical_kt_file_in_inspections branch December 27, 2022 13:42
@tyuldashev tyuldashev added ctg-bug Issue is a bug comp-sarif Issue is related to SARIF report or Problems tab labels Jan 24, 2023
@alisevych alisevych added ctg-bug-fix PR is fixing a bug and removed ctg-bug Issue is a bug labels Jan 24, 2023
@alisevych alisevych added this to the 2023.03 Release milestone Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-sarif Issue is related to SARIF report or Problems tab ctg-bug-fix PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problems view is not opened after generation Kotlin tests
4 participants