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

UI. IDEA plugin dialog. Hide UI possibility to change destination package #488

Closed
alisevych opened this issue Jul 11, 2022 · 0 comments · Fixed by #495
Closed

UI. IDEA plugin dialog. Hide UI possibility to change destination package #488

alisevych opened this issue Jul 11, 2022 · 0 comments · Fixed by #495
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug status-verified Bug fix is verified

Comments

@alisevych
Copy link
Member

Description

Hide "Specify destination package" and "Destination package" fields from UI.

To Reproduce

Preconditions:

  1. IntelliJ IDEA is running.
  2. New version of UTBotJava plugin is installed.
  3. Project with JDK 8-11 is opened.

Steps to reproduce the behavior:

  1. Create a package in sources root, add a class to it
  2. Open dialog to Create tests with UTBot... for the class

Expected behavior

Need to hide Specify destination package checkbox and Destination package editable dropdown from UI.
The use-cases for them are not obvious. What to do with package-private classes/members? What to do with relative imports?

Suggested solution: hide these two fields from UI. User can manually move generated tests to the needed destination and resolve the conflicts.

Actual behavior

There is Specify destination package checkbox and Destination package editable dropdown.

Visual proofs (screenshots, logs, images)

Empty destination package error

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.3
JDK 8 / 11 , Gradle project

@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Jul 11, 2022
@korifey korifey moved this to Todo in UTBot Java Jul 11, 2022
@alisevych alisevych changed the title UI. IDEA plugin dialog. Hide "Specify destination package" and "Destination package" fields UI. IDEA plugin dialog. Hide UI possibility to change destination package Jul 11, 2022
@EgorkaKulikov EgorkaKulikov moved this from Todo to In Progress in UTBot Java Jul 12, 2022
@EgorkaKulikov EgorkaKulikov linked a pull request Jul 12, 2022 that will close this issue
Repository owner moved this from In Progress to Done in UTBot Java Jul 12, 2022
@alisevych alisevych added the status-verified Bug fix is verified label Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug status-verified Bug fix is verified
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants