Soot artifacts appear in test method display name #437
Labels
comp-summaries
Something related to the method names, code comments and display names generation
ctg-bug
Issue is a bug
Description
Currently, Soot generates the following Jimple for org.utbot.examples.collections.ListWrapperReturnsVoidExample#runForEach:
After that, when it comes to generation of the test method name (org.utbot.utbot.summary.name.SimpleNameBuilder#collectTags), Soot-generated name "bootstrap$" is used as-is and passed to the code generation stage.
"bootstrap$" is clearly a Soot-generated helper code, which should not be used for names seen by user.
We should avoid it by modifying collectTags method.
To Reproduce
Please, fill your step to reproduce here, is the ticket description valid?
Expected behavior
Soot and another internal artifact should not be part of display name, comments or test name
Actual behavior
Now it's a problem and depends on our internals
Additional context
it's ok just filter it, but it will great to propose an approach to avoid another internal stuff
The text was updated successfully, but these errors were encountered: