File tree 3 files changed +1
-5
lines changed
utbot-framework/src/main/kotlin/org/utbot/framework/context
utbot-spring-framework/src/main/kotlin/org/utbot/framework/context/spring
3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
package org.utbot.framework.context
2
2
3
- import org.utbot.engine.MockStrategy
4
3
import org.utbot.framework.plugin.api.ClassId
5
4
import org.utbot.framework.plugin.api.EnvironmentModels
6
5
import org.utbot.framework.plugin.api.ExecutableId
@@ -12,7 +11,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe
12
11
13
12
interface JavaFuzzingContext {
14
13
val classUnderTest: ClassId
15
- val mockStrategy: MockStrategy
16
14
val idGenerator: IdentityPreservingIdGenerator <Int >
17
15
val valueProvider: JavaValueProvider
18
16
Original file line number Diff line number Diff line change 1
1
package org.utbot.framework.context.simple
2
2
3
- import org.utbot.engine.MockStrategy
4
3
import org.utbot.framework.context.JavaFuzzingContext
5
4
import org.utbot.framework.plugin.api.ClassId
6
5
import org.utbot.framework.plugin.api.EnvironmentModels
@@ -15,7 +14,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe
15
14
16
15
class SimpleJavaFuzzingContext (
17
16
override val classUnderTest : ClassId ,
18
- override val mockStrategy : MockStrategy ,
19
17
override val idGenerator : IdentityPreservingIdGenerator <Int >,
20
18
) : JavaFuzzingContext {
21
19
override val valueProvider: JavaValueProvider =
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class SpringApplicationContextImpl(
76
76
fuzzingContext
77
77
.useMocks { type ->
78
78
ReplacedFuzzedTypeFlag !in type.properties &&
79
- fuzzingContext. mockStrategy.eligibleToMock(
79
+ mockStrategy.eligibleToMock(
80
80
classToMock = type.classId,
81
81
classUnderTest = fuzzingContext.classUnderTest
82
82
)
You can’t perform that action at this time.
0 commit comments