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

If invalid value is set for a property in settings.properties, default value should be applied #1437

Closed
alisevych opened this issue Nov 29, 2022 · 0 comments · Fixed by #1464
Assignees
Labels
ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

alisevych commented Nov 29, 2022

Description

If invalid value is set for a property in settings.properties, default value should be applied.
Currently: the following line is added to settings.properties:
useFuzzing=trueeee

  • and Fuzzing is disabled on UI

To Reproduce

  1. Install one of the latest plugin's builds from main, build used
  2. Add the following line to settings.properties:

useFuzzing=trueeee

  1. Restart IDEA
  2. Run the 'UTBotJava' project
  3. Open File -> Settings -> Tools -> UnitTestBot

Expected behavior

useFuzzing is true by default
So Fuzzing-Symbolic slider should be enabled

Actual behavior

Fuzzing is disabled.

Visual proofs (screenshots, logs, images)

image

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.2.3

Additional context

Found during manual testing of

@alisevych alisevych added the ctg-bug Issue is a bug label Nov 29, 2022
@alisevych alisevych added this to the 2022.12 Release milestone Nov 29, 2022
Vassiliy-Kudryashov added a commit that referenced this issue Dec 6, 2022
Vassiliy-Kudryashov added a commit that referenced this issue Dec 6, 2022
Vassiliy-Kudryashov added a commit that referenced this issue Dec 6, 2022
#1464)

* If invalid value is set for a property in settings.properties, default value should be applied #1437
Add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-bug Issue is a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants