Skip to content

Commit ca65095

Browse files
committed
Add todo for Summarization.kt and fix doc for TestSuggestedInfo.kt
1 parent 95268b4 commit ca65095

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

utbot-fuzzers/src/main/kotlin/org/utbot/fuzzer/names/TestSuggestedInfo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package org.utbot.fuzzer.names
22

33
/**
4-
* Information that can be used to generate tests.
4+
* Information that can be used to generate test names.
55
*/
66
class TestSuggestedInfo(
77
val testName: String,

utbot-summary/src/main/kotlin/org/utbot/summary/Summarization.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class Summarization(val sourceFile: File?, val invokeDescriptions: List<InvokeDe
114114
namesCounter[name] = nameIndex + 1
115115
updatedExecutions += traceTags.execution
116116
if (GENERATE_DISPLAY_NAMES
117+
// todo extract these options into more suitable place
117118
// do not rewrite display name if already set
118119
&& traceTags.execution.displayName.isNullOrBlank()) {
119120
if (!GENERATE_DISPLAYNAME_FROM_TO_STYLE) {
@@ -123,6 +124,7 @@ class Summarization(val sourceFile: File?, val invokeDescriptions: List<InvokeDe
123124
}
124125
}
125126
if (GENERATE_NAMES
127+
// todo extract these options into more suitable place
126128
// do not rewrite display name if already set
127129
&& traceTags.execution.testMethodName.isNullOrBlank()) {
128130
traceTags.execution.testMethodName = name

0 commit comments

Comments
 (0)