Title: Link to a static method is not resolved in the Javadoc rendered view · Issue #1036 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Link to a static method is not resolved in the Javadoc rendered view · Issue #1036 · UnitTestBot/UTBotJava
X Title: Link to a static method is not resolved in the Javadoc rendered view · Issue #1036 · UnitTestBot/UTBotJava
Description: Description There are links to the static methods calls inside Java doc under @utbot.invokes tag. In rendered view they are not resolved and shown as {@link Predicate#not(Predicate)} To Reproduce Run the 'UTBotJava' project in IntelliJ I...
Open Graph Description: Description There are links to the static methods calls inside Java doc under @utbot.invokes tag. In rendered view they are not resolved and shown as {@link Predicate#not(Predicate)} To Reproduce R...
X Description: Description There are links to the static methods calls inside Java doc under @utbot.invokes tag. In rendered view they are not resolved and shown as {@link Predicate#not(Predicate)} To Reproduce R...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/1036
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Link to a static method is not resolved in the Javadoc rendered view","articleBody":"**Description**\r\n\r\nThere are links to the static methods calls inside Java doc under @utbot.invokes tag.\r\nIn rendered view they are not resolved and shown as `{@link Predicate#not(Predicate)} `\r\n\r\n**To Reproduce**\r\n\r\n1. Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4\r\n2. Install one of the latest from main branch\r\n3. Generate tests with UnitTestBot for utbot-sample/src/main/java/org/utbot/examples/lambda/PredicateNotExample.java\r\n4. Open the generated test\r\n5. Render Java doc for the generated test containing @utbot.invokes tag\r\n\r\n**Expected behavior**\r\n\r\nLinks under tags should be rendered correctly.\r\n\r\n**Actual behavior**\r\n\r\nLinks to static methods `{@link Predicate#not(Predicate)} ` and `{@link Predicate#test(Object)}` are not resolved in rendered view.\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\n~~~java\r\n /**\r\n * @utbot.classUnderTest {@link PredicateNotExample}\r\n * @utbot.methodUnderTest {@link PredicateNotExample#predicateNotExample(int)}\r\n * @utbot.executesCondition {@code (Predicate.not(i -\u003e i.equals(5)).test(a)): False}\r\n * @utbot.invokes {@code {@link Predicate#not(Predicate)}}\r\n * @utbot.invokes {@code {@link Predicate#test(Object)}}\r\n * @utbot.returnsFrom {@code return false;}\r\n */\r\n @Test(description = \"predicateNotExample: PredicateNot -\u003e return false\")\r\n public void testPredicateNotExample_NotPredicateNotIiEquals5Test() {\r\n PredicateNotExample predicateNotExample = new PredicateNotExample();\r\n\r\n boolean actual = predicateNotExample.predicateNotExample(5);\r\n\r\n assertFalse(actual);\r\n }\r\n~~~\r\n\r\n\r\n\r\n**Environment**\r\n\r\nIntelliJ IDEA 2022.1.4\r\nGradle\r\nJDK 11\r\n","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2022-09-29T15:09:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1036/UTBotJava/issues/1036"}
| 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:19a2dfd6-cf73-c25a-a887-f96a5e182d29 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8FC2:BD512:7C36F7:A8A348:698F2944 |
| html-safe-nonce | 8216e595189897ae2b30a4c97ea0eaa777fb3b312ae29afc26685eceb72024ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkMyOkJENTEyOjdDMzZGNzpBOEEzNDg6Njk4RjI5NDQiLCJ2aXNpdG9yX2lkIjoiNjc5NDM4MDE0NTA5ODQzNDg4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 030aaf158a7068a465bf34c10b23fe94ffcc74ea95b8c0f3f672e23a29bcd9ed |
| hovercard-subject-tag | issue:1391038771 |
| 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/1036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b47079c7476b7a210d3b1a088054fee4c520c19da122ef0a769b9afa5efdd46c/UnitTestBot/UTBotJava/issues/1036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b47079c7476b7a210d3b1a088054fee4c520c19da122ef0a769b9afa5efdd46c/UnitTestBot/UTBotJava/issues/1036 |
| og:image:alt | Description There are links to the static methods calls inside Java doc under @utbot.invokes tag. In rendered view they are not resolved and shown as {@link Predicate#not(Predicate)} To Reproduce R... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alisevych |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| 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 | d52a41ad9b9ffb9b63a1b4a600a6054be8b70b36 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width