Title: Show warning message instead of TestsDialogWindow when no methods/classes available · Issue #516 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Show warning message instead of TestsDialogWindow when no methods/classes available · Issue #516 · UnitTestBot/UTBotJava
X Title: Show warning message instead of TestsDialogWindow when no methods/classes available · Issue #516 · UnitTestBot/UTBotJava
Description: Description If user launches "Create tests with UTBot" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled "OK" button which seems odd. Expected behavior Show a warning/...
Open Graph Description: Description If user launches "Create tests with UTBot" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled "OK" button which seem...
X Description: Description If user launches "Create tests with UTBot" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled "OK&quo...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/516
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Show warning message instead of TestsDialogWindow when no methods/classes available","articleBody":"**Description**\r\n\r\nIf user launches \"Create tests with UTBot\" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled \"OK\" button which seems odd.\r\n\r\n\u003cimg width=\"606\" alt=\"image\" src=\"https://user-images.githubusercontent.com/65076429/178720771-03fd3600-9d4f-490d-9005-8f8210068e53.png\"\u003e\r\n\r\n\r\n**Expected behavior**\r\n\r\nShow a warning/error message stating that there are no available methods for test generation.\r\n\r\n**Potential alternatives**\r\n\r\nOther ways to clearly inform that there are no methods/classes available for testing.\r\n","author":{"url":"https://github.com/volivan239","@type":"Person","name":"volivan239"},"datePublished":"2022-07-13T11:18:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/516/UTBotJava/issues/516"}
| 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:fe8c11f5-a901-95ad-3e61-02b4cb978c57 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C254:19BFE5:3F3B03:514252:6990434D |
| html-safe-nonce | c9e739be668c18d1b73eabc9a70bf2d16bc76fd15d5c4d76cca5bf4dc4600fe4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjU0OjE5QkZFNTozRjNCMDM6NTE0MjUyOjY5OTA0MzREIiwidmlzaXRvcl9pZCI6IjQ2NTQxMjc5NTUwMDk2MTg3NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | adf3d51923e830f3e36eb907bf14208211dc34e6d9dba8adc8c21dce2e3c1f33 |
| hovercard-subject-tag | issue:1303289430 |
| 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/516/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7dc554cf38fa337871755e569ffcb8d35ead5de782ceccf9967fec72b6e0fde9/UnitTestBot/UTBotJava/issues/516 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7dc554cf38fa337871755e569ffcb8d35ead5de782ceccf9967fec72b6e0fde9/UnitTestBot/UTBotJava/issues/516 |
| og:image:alt | Description If user launches "Create tests with UTBot" on a class that has no methods (or no overriden methods), plugin shows a dialog with empty list of methods and disabled "OK" button which seem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | volivan239 |
| 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 | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width