Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java docs with tags. Link to UnsafeWithField.setField is not resolved #1172

Closed
alisevych opened this issue Oct 17, 2022 · 2 comments · Fixed by #1212
Closed

Java docs with tags. Link to UnsafeWithField.setField is not resolved #1172

alisevych opened this issue Oct 17, 2022 · 2 comments · Fixed by #1212
Assignees
Labels
comp-summaries Something related to the method names, code comments and display names generation ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

Description

Java docs with custom tags. Link to UnsafeWithField.setField method is red as it is not not resolved.

To Reproduce

  1. Run the 'UTBotJava' project in IntelliJ Idea
  2. Symbolic analysis is enabled (File -> Settings -> Tools -> UnitTestBot)
  3. UnitTestBot plugin is installed from main (checked with two today's versions: https://github.com/UnitTestBot/UTBotJava/actions/runs/3265745363
    https://github.com/UnitTestBot/UTBotJava/actions/runs/3259341553
  4. In Project view find utbot-sample/src/main/java/org/utbot/examples/unsafe/UnsafeWithField.java
  5. Generate tests with UnitTestBot... for it
  6. Wait tests are generated

Expected behavior

Links to code from Java docs are supposed to be resolved.

Actual behavior

Link to UnsafeWithField.setField method is red as it is not not resolved.

Visual proofs (screenshots, logs, images)

image

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.4 (JBR 11)

@alisevych alisevych added ctg-bug Issue is a bug comp-summaries Something related to the method names, code comments and display names generation labels Oct 17, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 17, 2022
@amandelpie
Copy link
Collaborator

The problem is related to incorrect full class name with the $ for the static inner class representation

@amandelpie
Copy link
Collaborator

The possible solution includes the replacement of the "$" symbol to "."

Repository owner moved this from Todo to Done in UTBot Java Oct 31, 2022
@alisevych alisevych self-assigned this Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-summaries Something related to the method names, code comments and display names generation ctg-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants