File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1254,6 +1254,9 @@ internal class CgMethodConstructor(val context: CgContext) : CgContextOwner by c
1254
1254
fun createTestMethod (executableId : ExecutableId , execution : UtExecution ): CgTestMethod =
1255
1255
withTestMethodScope(execution) {
1256
1256
val testMethodName = nameGenerator.testMethodNameFor(executableId, execution.testMethodName)
1257
+ if (execution.testMethodName == null ) {
1258
+ execution.testMethodName = testMethodName
1259
+ }
1257
1260
// TODO: remove this line when SAT-1273 is completed
1258
1261
execution.displayName = execution.displayName?.let { " ${executableId.name} : $it " }
1259
1262
testMethod(testMethodName, execution.displayName) {
You can’t perform that action at this time.
0 commit comments