Skip to content

Commit

Permalink
Fix compilation after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyaMuravjov committed Sep 19, 2023
1 parent 33c1c21 commit 98da383
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.utbot.framework.context

import org.utbot.engine.MockStrategy
import org.utbot.framework.plugin.api.ClassId
import org.utbot.framework.plugin.api.EnvironmentModels
import org.utbot.framework.plugin.api.ExecutableId
Expand All @@ -12,7 +11,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe

interface JavaFuzzingContext {
val classUnderTest: ClassId
val mockStrategy: MockStrategy
val idGenerator: IdentityPreservingIdGenerator<Int>
val valueProvider: JavaValueProvider

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.utbot.framework.context.simple

import org.utbot.engine.MockStrategy
import org.utbot.framework.context.JavaFuzzingContext
import org.utbot.framework.plugin.api.ClassId
import org.utbot.framework.plugin.api.EnvironmentModels
Expand All @@ -15,7 +14,6 @@ import org.utbot.instrumentation.instrumentation.execution.UtConcreteExecutionRe

class SimpleJavaFuzzingContext(
override val classUnderTest: ClassId,
override val mockStrategy: MockStrategy,
override val idGenerator: IdentityPreservingIdGenerator<Int>,
) : JavaFuzzingContext {
override val valueProvider: JavaValueProvider =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class SpringApplicationContextImpl(
fuzzingContext
.useMocks { type ->
ReplacedFuzzedTypeFlag !in type.properties &&
fuzzingContext.mockStrategy.eligibleToMock(
mockStrategy.eligibleToMock(
classToMock = type.classId,
classUnderTest = fuzzingContext.classUnderTest
)
Expand Down

0 comments on commit 98da383

Please sign in to comment.