Skip to content

Commit a2f2021

Browse files
Progress bar shows the progress stepwise and incorrectly #1196
1 parent 3cd8e7b commit a2f2021

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ object UtTestsDialogProcessor {
5454
private val logger = KotlinLogging.logger {}
5555

5656
enum class ProgressRange(val from : Double, val to: Double) {
57-
SOLVING(from = 0.0, to = 0.7),
58-
CODEGEN(from = 0.7, to = 0.9),
59-
SARIF(from = 0.9, to = 1.0)
57+
SOLVING(from = 0.0, to = 0.9),
58+
CODEGEN(from = 0.9, to = 0.95),
59+
SARIF(from = 0.95, to = 1.0)
6060
}
6161

6262
fun updateIndicator(indicator: ProgressIndicator, range : ProgressRange, text: String? = null, fraction: Double? = null) {

0 commit comments

Comments
 (0)