From a2f20215c00ca23e1b62900dcfb5e5df5cb62bdb Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Thu, 20 Oct 2022 17:36:05 +0300 Subject: [PATCH] Progress bar shows the progress stepwise and incorrectly #1196 --- .../intellij/plugin/generator/UtTestsDialogProcessor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt index a756253336..60c37d3be0 100644 --- a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt +++ b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator/UtTestsDialogProcessor.kt @@ -54,9 +54,9 @@ object UtTestsDialogProcessor { private val logger = KotlinLogging.logger {} enum class ProgressRange(val from : Double, val to: Double) { - SOLVING(from = 0.0, to = 0.7), - CODEGEN(from = 0.7, to = 0.9), - SARIF(from = 0.9, to = 1.0) + SOLVING(from = 0.0, to = 0.9), + CODEGEN(from = 0.9, to = 0.95), + SARIF(from = 0.95, to = 1.0) } fun updateIndicator(indicator: ProgressIndicator, range : ProgressRange, text: String? = null, fraction: Double? = null) {