Title: Improve overloadings check in generated code #370 by Vassiliy-Kudryashov · Pull Request #503 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Improve overloadings check in generated code #370 by Vassiliy-Kudryashov · Pull Request #503 · UnitTestBot/UTBotJava
X Title: Improve overloadings check in generated code #370 by Vassiliy-Kudryashov · Pull Request #503 · UnitTestBot/UTBotJava
Description: Description Check for classId was added Fixes #370 Type of Change Bug fix (non-breaking change which fixes an issue) Manual Scenario The example: public interface I1 { } public interface I2 { } public class E implements I1, I2 { public E() { } } public class A { public void foo(I1 i1) { System.out.println("I1@A : " + i1); } } import java.util.Objects; public class B extends A { @Override public void foo(I1 i1) { Objects.requireNonNull(i1); System.out.println("I1@B"); } } Observed code in generated tests for class B: b.foo(((I1) e)); Here you can see redundant casting that affects readability Expected code in generated tests for class B: b.foo(e); Checklist (remove irrelevant options): The change followed the style guidelines of the UTBot project Self-review of the code is passed No new warnings
Open Graph Description: Description Check for classId was added Fixes #370 Type of Change Bug fix (non-breaking change which fixes an issue) Manual Scenario The example: public interface I1 { } public interface I2 { } ...
X Description: Description Check for classId was added Fixes #370 Type of Change Bug fix (non-breaking change which fixes an issue) Manual Scenario The example: public interface I1 { } public interface I2 { } ...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/pull/503
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:66259d40-8054-cfb0-abb0-11815b6501d8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C480:8D4A2:2A50401:363E8D9:69903851 |
| html-safe-nonce | 8d787711d4ca1b5b8bbb1359ae046dea1cd1ae5d99db2b741d4cd97f336d9f1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDgwOjhENEEyOjJBNTA0MDE6MzYzRThEOTo2OTkwMzg1MSIsInZpc2l0b3JfaWQiOiI3OTA5MzQ1OTgwMDMzNTQ2MzIxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b4f43715650b23193b9862b9974531ff66fc7982802434ad9be74cc7d58be2ea |
| hovercard-subject-tag | pull_request:994179747 |
| 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/503/checks |
| twitter:image | https://avatars.githubusercontent.com/u/4101410?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4101410?s=400&v=4 |
| og:image:alt | Description Check for classId was added Fixes #370 Type of Change Bug fix (non-breaking change which fixes an issue) Manual Scenario The example: public interface I1 { } public interface I2 { } ... |
| 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