Array parameters shown as "[I" in region method summary
Description
Region description for method under test improperly displays parameter arrays. For instance when int[] is passed as parameter it becomes [I in region description.
To Reproduce
- Install UnitTestBot plugin built from main in IntelliJ IDEA
- Generate tests for following code
int sum(int[] array) {
return Arrays.stream(array).sum();
}
Expected behavior Region description with tests for that method looks like this
///region FUZZER: SUCCESSFUL EXECUTIONS for method sum(int[])
Actual behavior
///region FUZZER: SUCCESSFUL EXECUTIONS for method sum([I)
Environment
IntelliJ IDEA version - 2023.2.1 UTBot Plugin - 2023.9.520
Additional context In Utbot plugin 2023.3 it looks normal, so I consider this as regression problem.
Another note is about nested enums used as parameter, now it's separated with dollar sign, while previously it was dot. For example generate tests for org.utbot.examples.enums.ClassWithEnum#nullEnumAsParameter and look at separator between ClassWithEnum and StatusEnum at the end of the line.
// now
///region FUZZER: SUCCESSFUL EXECUTIONS for method nullEnumAsParameter(org.utbot.examples.enums.ClassWithEnum$StatusEnum)
// previously
///region SYMBOLIC EXECUTION: SUCCESSFUL EXECUTIONS for method nullEnumAsParameter(org.utbot.examples.enums.ClassWithEnum.StatusEnum)
Caused by #2459