Skip to content

Commit 246caa4

Browse files
committed
Fix naming and make useCustomJavadocTags true
1 parent cd7067b commit 246caa4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

utbot-framework-api/src/main/kotlin/org/utbot/framework/UtSettings.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ object UtSettings : AbstractSettings(
155155
/**
156156
* Generate summaries using plugin's custom JavaDoc tags.
157157
*/
158-
var useCustomJavaDocTags by getBooleanProperty(false)
158+
var useCustomJavaDocTags by getBooleanProperty(true)
159159

160160
/**
161161
* Enable the machine learning module to generate summaries for methods under test.

utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api/Api.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,12 +1172,12 @@ enum class JavaDocCommentStyle(
11721172
override val description: String
11731173
) : CodeGenerationSettingItem {
11741174
CUSTOM_JAVADOC_TAGS(
1175-
displayName = "Structured via JavaDoc tags",
1176-
description = "Uses custom JavaDoc tags to describe test's execution path."
1175+
displayName = "Structured via custom Javadoc tags",
1176+
description = "Uses custom Javadoc tags to describe test's execution path."
11771177
),
11781178
FULL_SENTENCE_WRITTEN(
1179-
displayName = "Full sentence written",
1180-
description = "Describes test's execution path using full sentences."
1179+
displayName = "Plain text",
1180+
description = "Uses plain text to describe test's execution path."
11811181
);
11821182

11831183
override fun toString(): String = displayName

utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/settings/SettingsWindow.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SettingsWindow(val project: Project) {
3939
CodegenLanguage::class to "Generated test language:",
4040
RuntimeExceptionTestsBehaviour::class to "Test with exceptions:",
4141
TreatOverflowAsError::class to "Overflow detection:",
42-
JavaDocCommentStyle::class to "JavaDoc comment style:"
42+
JavaDocCommentStyle::class to "Javadoc comment style:"
4343
)
4444
val tooltipLabels = mapOf(
4545
CodegenLanguage::class to "You can generate test methods in Java or Kotlin regardless of your source code language."

0 commit comments

Comments
 (0)