Title: Consider containingClass when matching psi methods and KFuncitons #1398 by volivan239 · Pull Request #1502 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Consider containingClass when matching psi methods and KFuncitons #1398 by volivan239 · Pull Request #1502 · UnitTestBot/UTBotJava
X Title: Consider containingClass when matching psi methods and KFuncitons #1398 by volivan239 · Pull Request #1502 · UnitTestBot/UTBotJava
Description: Description To get ExecutableIds of methods selected in plugin, we have to somehow match psi methods with reflections of the corresponding loaded methods. Previously we did matching by Signature, but it was not sufficient, e.g. abstract method and its implementation would have the same Signature. This PR replaces Signature with MethodDescription which includes signature, but also has containingClass parameter. Fixes #1398 Type of Change Bug fix (non-breaking change which fixes an issue) How Has This Been Tested? Manual Scenario Tested on the example from #1398 -- now the tests class with tests is generated for Point Checklist (remove irrelevant options): This is the author self-check list 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 To get ExecutableIds of methods selected in plugin, we have to somehow match psi methods with reflections of the corresponding loaded methods. Previously we did matching by Signature, b...
X Description: Description To get ExecutableIds of methods selected in plugin, we have to somehow match psi methods with reflections of the corresponding loaded methods. Previously we did matching by Signature, b...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1502
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:cbbf9a28-44a3-7fad-d378-3fb89bf8981a |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E0C8:66B2:5622E6:6E59BF:6990581D |
| html-safe-nonce | f513f6db80c09257ec7ea56ff9c1019cc8af8fceb764576e6c8624603b27fa76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEM4OjY2QjI6NTYyMkU2OjZFNTlCRjo2OTkwNTgxRCIsInZpc2l0b3JfaWQiOiI5MTA4OTAzMzgyMDAxNjcwMTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e71f5bc15ae36af9cae043cadc0165bbe571fb130b23dcfe632127af606ed3ce |
| hovercard-subject-tag | pull_request:1155818413 |
| 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/1502/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 To get ExecutableIds of methods selected in plugin, we have to somehow match psi methods with reflections of the corresponding loaded methods. Previously we did matching by Signature, b... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width