Title: Generate test action is enabled in editor for the file located in test source root · Issue #469 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Generate test action is enabled in editor for the file located in test source root · Issue #469 · UnitTestBot/UTBotJava
X Title: Generate test action is enabled in editor for the file located in test source root · Issue #469 · UnitTestBot/UTBotJava
Description: Description Generate test action is enabled in editor for the file located in test source root To Reproduce Create a class with methods under test in test source root An action is disabled in project tree, but enabled in editor Click OK ...
Open Graph Description: Description Generate test action is enabled in editor for the file located in test source root To Reproduce Create a class with methods under test in test source root An action is disabled in proje...
X Description: Description Generate test action is enabled in editor for the file located in test source root To Reproduce Create a class with methods under test in test source root An action is disabled in proje...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/469
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Generate test action is enabled in editor for the file located in test source root","articleBody":"**Description**\r\n\r\nGenerate test action is enabled in editor for the file located in test source root\r\n\r\n**To Reproduce**\r\n\r\n1) Create a class with methods under test in test source root\r\n2) An action is disabled in project tree, but enabled in editor\r\n3) Click OK in dialog window\r\n\r\n**Expected behavior**\r\n\r\nAction is disabled, no generation process starts\r\n\r\n**Actual behavior**\r\n\r\nAction is enabled, generation process fails with an exception\r\n```java\r\njava.util.NoSuchElementException: Collection contains no element matching the predicate.\r\n\tat org.utbot.framework.util.SootUtilsKt.jimpleBody(SootUtils.kt:172)\r\n\tat org.utbot.engine.UtBotSymbolicEngine.\u003cinit\u003e(UtBotSymbolicEngine.kt:151)\r\n\tat org.utbot.framework.plugin.api.UtBotTestCaseGenerator.createSymbolicEngine(UtBotTestCaseGenerator.kt:273)\r\n\tat org.utbot.framework.plugin.api.UtBotTestCaseGenerator.access$createSymbolicEngine(UtBotTestCaseGenerator.kt:51)\r\n\tat org.utbot.framework.plugin.api.UtBotTestCaseGenerator$generateTestCases$4$1$1.invokeSuspend(UtBotTestCaseGenerator.kt:161)\r\n\r\n```\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n\r\n","author":{"url":"https://github.com/EgorkaKulikov","@type":"Person","name":"EgorkaKulikov"},"datePublished":"2022-07-11T06:26:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/469/UTBotJava/issues/469"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:413a51ef-0a33-2b72-4180-bda147c17110 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A27E:1648C7:1473647:1AC4621:698FCEAA |
| html-safe-nonce | 33fb395c24bac31d64d213c1c603dd1a9f9ae96376e78d343564fc173711cecc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjdFOjE2NDhDNzoxNDczNjQ3OjFBQzQ2MjE6Njk4RkNFQUEiLCJ2aXNpdG9yX2lkIjoiMjMxNDcwODYzOTUyNzQ1NjQyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72e7537eb081fadb6581709d25c47dcd5c9df8b766b92058b8f5f400016fa07f |
| hovercard-subject-tag | issue:1300266403 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/UnitTestBot/UTBotJava/469/issue_layout |
| twitter:image | https://opengraph.githubassets.com/19ae43bbf03a3a2238bfb5065f0cd8665c82fa594dff8d5e2aba7d5806b2233b/UnitTestBot/UTBotJava/issues/469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/19ae43bbf03a3a2238bfb5065f0cd8665c82fa594dff8d5e2aba7d5806b2233b/UnitTestBot/UTBotJava/issues/469 |
| og:image:alt | Description Generate test action is enabled in editor for the file located in test source root To Reproduce Create a class with methods under test in test source root An action is disabled in proje... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EgorkaKulikov |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 00bbb8945a3943b287e04c68aff13cb5878ddde7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width