TestGenie - an IntelliJ plugin that natively integrates EvoSuite into the IDE. EvoSuite is an automated test suite generation tool using evolutionary algorithms. Used for research @ SERG, TU Delft.
Replace the text field for the telemetry path with a text filed with a browse button.
Delete the old default telemetry path settings.
Ensure that telemetry path can not be touched until the telemetry checkbox is set to true.
In case the telemetry path is empty, reset the telemetry path back to previous state.
Why is merge request needed
The merge is needed in order to address the possible exception that is thrown on Jegor's, arch btw, machine. This will now set the default path to be user.home. Furthermore, the person can now choose the path through the file chooser. This should take care of all errors.
Other notes
Closes #155
Please write if you have anything to add
According to IntelliJ documentation the component responsible for path should have "filename completion", however this is not the case in this pull request. I suspect that this is because the feature is only allowing to select folders and not files, or because we do not provide a project variable. This is just a side note. Everything should be okay.
What is missing?
When the telemetry path is empty, the reset happens without informing the user that the reset occurred, i.e. no popup message is shown. This is done in order not to disturb the user in case the empty path was just a mistake. If needed the message can be added.
[x] I have checked that I am merging into correct branch
Description of changes made
Why is merge request needed
The merge is needed in order to address the possible exception that is thrown on Jegor's, arch btw, machine. This will now set the default path to be user.home. Furthermore, the person can now choose the path through the file chooser. This should take care of all errors.
Other notes
Closes #155
Please write if you have anything to add According to IntelliJ documentation the component responsible for path should have "filename completion", however this is not the case in this pull request. I suspect that this is because the feature is only allowing to select folders and not files, or because we do not provide a project variable. This is just a side note. Everything should be okay.
What is missing?
When the telemetry path is empty, the reset happens without informing the user that the reset occurred, i.e. no popup message is shown. This is done in order not to disturb the user in case the empty path was just a mistake. If needed the message can be added.