We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50dc51b commit 27a1af8Copy full SHA for 27a1af8
1 file changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgMethodConstructor.kt
@@ -1254,6 +1254,9 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1254
fun createTestMethod(executableId: ExecutableId, execution: UtExecution): CgTestMethod =
1255
withTestMethodScope(execution) {
1256
val testMethodName = nameGenerator.testMethodNameFor(executableId, execution.testMethodName)
1257
+ if (execution.testMethodName == null) {
1258
+ execution.testMethodName = testMethodName
1259
+ }
1260
// TODO: remove this line when SAT-1273 is completed
1261
execution.displayName = execution.displayName?.let { "${executableId.name}: $it" }
1262
testMethod(testMethodName, execution.displayName) {
0 commit comments