Title: Fix creation of variables for class fields by tepa46 · Pull Request #2713 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Fix creation of variables for class fields by tepa46 · Pull Request #2713 · UnitTestBot/UTBotJava
X Title: Fix creation of variables for class fields by tepa46 · Pull Request #2713 · UnitTestBot/UTBotJava
Description: Description Fixes #2638 Different models from different executions may have the same id. Therefore, when creating a variable for a new class field and using existing currentTestSetId and currentExecutionId, field's model.wrap() may match one of the values in annotatedModels. To avoid false matches when creating a variable for a new class field, withTestSetIdScope(-1) and withExecutionIdScope(-1) are used. How to test Manual tests The fix has been tested on projects: spring-petclinic spring-boot-testing 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.
Open Graph Description: Description Fixes #2638 Different models from different executions may have the same id. Therefore, when creating a variable for a new class field and using existing currentTestSetId and currentExe...
X Description: Description Fixes #2638 Different models from different executions may have the same id. Therefore, when creating a variable for a new class field and using existing currentTestSetId and currentExe...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/2713
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1c221178-e635-a1db-2b75-b93d57101936 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D434:11D787:82B052:B39288:698EFEC9 |
| html-safe-nonce | a9db7a3036dcd7b31db44cc06bf50598f31a3dcaac965bb4ad7d90744a5dbb35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDM0OjExRDc4Nzo4MkIwNTI6QjM5Mjg4OjY5OEVGRUM5IiwidmlzaXRvcl9pZCI6IjI3NzM3OTQzMzUxMzI0MTc3MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 28d6a09dda3b060379f932da99d8443121fe9fea54fb2eaade415d40db268364 |
| hovercard-subject-tag | pull_request:1638704829 |
| 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/2713/checks |
| twitter:image | https://avatars.githubusercontent.com/u/73890886?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/73890886?s=400&v=4 |
| og:image:alt | Description Fixes #2638 Different models from different executions may have the same id. Therefore, when creating a variable for a new class field and using existing currentTestSetId and currentExe... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| 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 | 29d97d94d5b31f96c01179273264722362f058e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width