From 8ac140fab4bd4cf93f7ae6502b4593745f9186be Mon Sep 17 00:00:00 2001 From: "Vassiliy.Kudryashov" Date: Thu, 27 Oct 2022 11:59:24 +0300 Subject: [PATCH] Incorrect default test root on antlr project #1017 Fix for validation message text --- .../org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt index 9695914918..ac4703526c 100644 --- a/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt +++ b/utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt @@ -430,7 +430,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m ?: return ValidationInfo("Test source root is not configured", testSourceFolderField.childComponent) if (!model.project.isBuildWithGradle && ModuleUtil.findModuleForFile(testRoot.toRealFile(), model.project) == null) { - return ValidationInfo("Test source root is located out of content entry", testSourceFolderField.childComponent) + return ValidationInfo("Test source root is located out of any module", testSourceFolderField.childComponent) } membersTable.tableHeader?.background = UIUtil.getTableBackground()