Skip to content

Commit fd47bc7

Browse files
IlyaMuravjovEgorkaKulikov
authored andcommitted
Make UtSymbolicExecution.copy method also copy containsMocking field
1 parent aa84d2a commit fd47bc7

File tree

1 file changed

+6
-2
lines changed
  • utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ class UtSymbolicExecution(
281281
summary = summary,
282282
testMethodName = testMethodName,
283283
displayName = displayName
284-
)
284+
).also {
285+
it.containsMocking = containsMocking
286+
}
285287

286288
override fun toString(): String = buildString {
287289
append("UtSymbolicExecution(")
@@ -328,7 +330,9 @@ class UtSymbolicExecution(
328330
summary = summary,
329331
testMethodName = testMethodName,
330332
displayName = displayName
331-
)
333+
).also {
334+
it.containsMocking = containsMocking
335+
}
332336
}
333337

334338
/**

0 commit comments

Comments
 (0)