File tree Expand file tree Collapse 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 Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11package org.utbot.framework.context
22
3- import org.utbot.engine.MockStrategy
43import org.utbot.framework.plugin.api.ClassId
54import org.utbot.framework.plugin.api.EnvironmentModels
65import org.utbot.framework.plugin.api.ExecutableId
@@ -12,7 +11,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe
1211
1312interface JavaFuzzingContext {
1413 val classUnderTest: ClassId
15- val mockStrategy: MockStrategy
1614 val idGenerator: IdentityPreservingIdGenerator <Int >
1715 val valueProvider: JavaValueProvider
1816
Original file line number Diff line number Diff line change 11package org.utbot.framework.context.simple
22
3- import org.utbot.engine.MockStrategy
43import org.utbot.framework.context.JavaFuzzingContext
54import org.utbot.framework.plugin.api.ClassId
65import org.utbot.framework.plugin.api.EnvironmentModels
@@ -15,7 +14,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe
1514
1615class SimpleJavaFuzzingContext (
1716 override val classUnderTest : ClassId ,
18- override val mockStrategy : MockStrategy ,
1917 override val idGenerator : IdentityPreservingIdGenerator <Int >,
2018) : JavaFuzzingContext {
2119 override val valueProvider: JavaValueProvider =
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class SpringApplicationContextImpl(
7676 fuzzingContext
7777 .useMocks { type ->
7878 ReplacedFuzzedTypeFlag !in type.properties &&
79- fuzzingContext. mockStrategy.eligibleToMock(
79+ mockStrategy.eligibleToMock(
8080 classToMock = type.classId,
8181 classUnderTest = fuzzingContext.classUnderTest
8282 )
You can’t perform that action at this time.
0 commit comments