Title: Replace Kotlin setters with direct property access for models from Fuzzer #1241 by volivan239 · Pull Request #1243 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Replace Kotlin setters with direct property access for models from Fuzzer #1241 by volivan239 · Pull Request #1243 · UnitTestBot/UTBotJava
X Title: Replace Kotlin setters with direct property access for models from Fuzzer #1241 by volivan239 · Pull Request #1243 · UnitTestBot/UTBotJava
Description: Description Previously calls to Kotlin setters in Fuzzer models were not replaced with direct accesses because check fieldId.setter == methodId failed due to different types of operands (MethodId vs FuzzerMockableMethodId, see ExecutableId.equals()). Now this check is rewritten with new method describesSameMethodAs that checks only declaringClass and signature but ignores javaClass. Fixes #1241 Type of Change Minor bug fix (non-breaking small changes) How Has This Been Tested? Manual Scenario Checked on scenario from #1241 -- works as expected 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 Previously calls to Kotlin setters in Fuzzer models were not replaced with direct accesses because check fieldId.setter == methodId failed due to different types of operands (MethodId v...
X Description: Description Previously calls to Kotlin setters in Fuzzer models were not replaced with direct accesses because check fieldId.setter == methodId failed due to different types of operands (MethodId v...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/1243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6d85abcd-d4d6-709a-dbf3-c93c1a221e62 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DE64:44F9D:1E15:26EF:698E1092 |
| html-safe-nonce | 314d6349fe2f3504f7b5ebf021dc1687a86fdf8f349bee48910c48f97d69b89f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTY0OjQ0RjlEOjFFMTU6MjZFRjo2OThFMTA5MiIsInZpc2l0b3JfaWQiOiI2MDQyNDUzNDM0NTM5MzE1MzQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9cb14b493358566e75d0e6e9358adea45fd2df61a0c84b6e45a455467ce1e641 |
| hovercard-subject-tag | pull_request:1100941526 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/1243/files |
| 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 Previously calls to Kotlin setters in Fuzzer models were not replaced with direct accesses because check fieldId.setter == methodId failed due to different types of operands (MethodId v... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width