Title: Get PsiClass' package by declaration in containingFile and not by its directory #1081 by volivan239 · Pull Request #1111 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Get PsiClass' package by declaration in containingFile and not by its directory #1081 by volivan239 · Pull Request #1111 · UnitTestBot/UTBotJava
X Title: Get PsiClass' package by declaration in containingFile and not by its directory #1081 by volivan239 · Pull Request #1111 · UnitTestBot/UTBotJava
Description: Description If package in which class was put doesn't match its directory, we should use packageName of containing PsiFile as packageName for class (and not the directory of containing file). Fixes #1081 Type of Change Bug fix (non-breaking change which fixes an issue) Manual Scenario Checked on scenario from #1081 (both when we launch action on misplaced class and when we launch action on method in other class where misplaced class is used) -- tests are generated correctly (although, IDEA can't always correctly handle wrong 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 New tests have been added All tests pass locally with my changes
Open Graph Description: Description If package in which class was put doesn't match its directory, we should use packageName of containing PsiFile as packageName for class (and not the directory of containing file). F...
X Description: Description If package in which class was put doesn't match its directory, we should use packageName of containing PsiFile as packageName for class (and not the directory of containing file...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1111
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:a8a95ad9-90df-9840-100d-6ba6841da4e8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9954:1203A0:100FF96:15F80CB:698DC73C |
| html-safe-nonce | 2659a7bb02149602c4c75f39392b1f16ab03e2ab0a3bdd0fa1b119e6a2ae3bc4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTU0OjEyMDNBMDoxMDBGRjk2OjE1RjgwQ0I6Njk4REM3M0MiLCJ2aXNpdG9yX2lkIjoiMTE5OTMwNzA3MTU3MDE2NzYxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be95160e5d1ca89ee1d6ef170fe5c468b28bf3703b8274d6ddf55de59c965fa4 |
| hovercard-subject-tag | pull_request:1080070952 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/UnitTestBot/UTBotJava/pull/1111/checks |
| twitter:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65076429?s=400&v=4 |
| og:image:alt | Description If package in which class was put doesn't match its directory, we should use packageName of containing PsiFile as packageName for class (and not the directory of containing file). F... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2457fd9a1b17ca7f38c3c2653895ccb2e0dd04f18f77446a21354e9bc4b7902f |
| turbo-cache-control | no-preview |
| go-import | github.com/UnitTestBot/UTBotJava git https://github.com/UnitTestBot/UTBotJava.git |
| octolytics-dimension-user_id | 87413538 |
| octolytics-dimension-user_login | UnitTestBot |
| octolytics-dimension-repository_id | 480810501 |
| octolytics-dimension-repository_nwo | UnitTestBot/UTBotJava |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 480810501 |
| octolytics-dimension-repository_network_root_nwo | UnitTestBot/UTBotJava |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 878672b82363fd98fbdc5bd0edb68e572c8a8d9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width