Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Array parameters shown as "[I" in region method summary #2585

Open
Assignees
Labels
comp-summariesSomething related to the method names, code comments and display names generation ctg-bugIssue is a bug spec-regressionRegression
@tyuldashev

Description

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

  1. Install UnitTestBot plugin built from main in IntelliJ IDEA
  2. 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 - 20239520

Additional context
In Utbot plugin 2023.3 it looks normal, so I consider this as regression problem.

Metadata

Metadata

Labels

comp-summariesSomething related to the method names, code comments and display names generation ctg-bugIssue is a bug spec-regressionRegression

Type

No type

Projects

Status

Todo

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /