Skip to content

Summaries disabled in config file is not applied #1321 #1500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import com.intellij.psi.PsiClass
import com.intellij.psi.PsiJavaFile
import com.intellij.refactoring.util.classMembers.MemberInfo
import org.jetbrains.kotlin.psi.KtFile
import org.utbot.framework.UtSettings
import org.utbot.framework.plugin.api.JavaDocCommentStyle
import org.utbot.framework.util.ConflictTriggers
import org.utbot.intellij.plugin.settings.Settings
Expand Down Expand Up @@ -54,7 +55,7 @@ class GenerateTestsModel(
val conflictTriggers: ConflictTriggers = ConflictTriggers()

var runGeneratedTestsWithCoverage : Boolean = false
var enableSummariesGeneration : Boolean = true
var enableSummariesGeneration : Boolean = UtSettings.enableSummariesGeneration
}

val PsiClass.packageName: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Settings(val project: Project) : PersistentStateComponent<Settings.State>
var fuzzingValue: Double = 0.05,
var runGeneratedTestsWithCoverage: Boolean = false,
var commentStyle: JavaDocCommentStyle = JavaDocCommentStyle.defaultItem,
var enableSummariesGeneration: Boolean = true
var enableSummariesGeneration: Boolean = UtSettings.enableSummariesGeneration
) {
constructor(model: GenerateTestsModel) : this(
codegenLanguage = model.codegenLanguage,
Expand Down