Title: Duplicate Summaries with Tags in Rendered view · Issue #985 · UnitTestBot/UTBotJava · GitHub
Open Graph Title: Duplicate Summaries with Tags in Rendered view · Issue #985 · UnitTestBot/UTBotJava
X Title: Duplicate Summaries with Tags in Rendered view · Issue #985 · UnitTestBot/UTBotJava
Description: Description Summaries are duplicated when rendering mode is on. Also annotations and method name are duplicated above the Java doc. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4 Open utbot-sample/src/test/java/org/ut...
Open Graph Description: Description Summaries are duplicated when rendering mode is on. Also annotations and method name are duplicated above the Java doc. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea 2022.1....
X Description: Description Summaries are duplicated when rendering mode is on. Also annotations and method name are duplicated above the Java doc. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea...
Opengraph URL: https://github.com/UnitTestBot/UTBotJava/issues/985
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Duplicate Summaries with Tags in Rendered view","articleBody":"**Description**\r\n\r\nSummaries are duplicated when rendering mode is on.\r\nAlso annotations and method name are duplicated above the Java doc.\r\n\r\n**To Reproduce**\r\n\r\n1. Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4\r\n2. Open utbot-sample/src/test/java/org/utbot/examples/algorithms/ArraysQuickSortTest.java\r\n3. Use [one of the latest builds of plugin](https://github.com/UnitTestBot/UTBotJava/actions/runs/3091334360) to generate tests\r\n4. Open the generated test\r\n5. Find tests in SYMBOLIC EXECUTION ENGINE: ERROR SUITE\r\n6. Render Java docs (Ctrl+Alt+Q)\r\n\r\n**Expected behavior**\r\n\r\nJava docs should be rendered correctly - without duplications.\r\n\r\n**Actual behavior**\r\n\r\nTagged information is duplicated.\r\nAnnotations and method name are duplicated above the Java doc.\r\n\r\n**Visual proofs (screenshots, logs, images)**\r\n\r\nTest in rendered view:\r\n\r\n\r\n\r\nTest in text mode:\r\n~~~java\r\n/**\r\n * @utbot.classUnderTest {@link ArraysQuickSort}\r\n * @utbot.methodUnderTest {@link ArraysQuickSort#sort(int[], int, int, int[], int, int)}\r\n * @utbot.executesCondition {@code (right - left \u003c 286): True},\r\n * {@code (null): False}\r\n * @utbot.invokes {@link ArraysQuickSort#sort(int[], int, int, boolean)}\r\n * @utbot.throwsException {@link ArrayIndexOutOfBoundsException} in: internalSort(a, left, right, true);\r\n */\r\n @Test\r\n @DisplayName(\"sort: internalSort(a, left, right, true) : True -\u003e ThrowArrayIndexOutOfBoundsException\")\r\n public void testSort_ThrowArrayIndexOutOfBoundsException() {\r\n int[] a = {1, 1};\r\n\r\n /* This test fails because method [org.utbot.examples.algorithms.ArraysQuickSort.sort] produces [java.lang.ArrayIndexOutOfBoundsException] */\r\n ArraysQuickSort.sort(a, -208, 71, null, -255, -255);\r\n }\r\n~~~\r\n\r\n**Environment**\r\n\r\nWindows 10 Pro\r\nIntelliJ IDEA 2022.1.4\r\nJDK 11\r\n","author":{"url":"https://github.com/alisevych","@type":"Person","name":"alisevych"},"datePublished":"2022-09-21T07:48:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/985/UTBotJava/issues/985"}
| 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:3c7417a6-659c-13ca-66b7-5d3b4736173b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6F4:13A39:11C672E:189741B:698DAD2C |
| html-safe-nonce | 289296a7fdaa516adeb3b6c192baf74ec3b2e177fc7891465dda750b85b7382d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkY0OjEzQTM5OjExQzY3MkU6MTg5NzQxQjo2OThEQUQyQyIsInZpc2l0b3JfaWQiOiI0ODQxNjgwNDI3OTc3Mzg3MzA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 73023b16920708ac866d813a0bcfca5a74d6aecd257a5ee367c8c027752e3466 |
| hovercard-subject-tag | issue:1380482896 |
| 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/985/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ca6519e695337adb68f8e5ed3e1c7695a35624c6908887f9d3554badce06cc8/UnitTestBot/UTBotJava/issues/985 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ca6519e695337adb68f8e5ed3e1c7695a35624c6908887f9d3554badce06cc8/UnitTestBot/UTBotJava/issues/985 |
| og:image:alt | Description Summaries are duplicated when rendering mode is on. Also annotations and method name are duplicated above the Java doc. To Reproduce Run the 'UTBotJava' project in IntelliJ Idea 2022.1.... |
| 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 | 8c7947c0c592efeab6162b9909ad11fa43bff8b0cb5ff43273dc25e41979d43e |
| 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 | b22a9fbf4dea601ec149a9e5362e0558df79b505 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width