Skip to content

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

Closed
@alisevych

Description

@alisevych

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

Metadata

Metadata

Labels

ctg-bugIssue is a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions