Skip to content

Commit

Permalink
Incorrect default test root on antlr project #1017
Browse files Browse the repository at this point in the history
Fix for validation message text
  • Loading branch information
Vassiliy-Kudryashov committed Oct 27, 2022
1 parent f8db8ce commit 8ac140f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8ac140f

Please sign in to comment.