File tree Expand file tree Collapse file tree 10 files changed +20
-17
lines changed
utbot-framework/src/main/kotlin/org/utbot
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/generator
utbot-testing/src/main/kotlin/org/utbot/testing Expand file tree Collapse file tree 10 files changed +20
-17
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import kotlinx.collections.immutable.persistentListOf
19
19
import org.utbot.common.nameOfPackage
20
20
import org.utbot.engine.types.OBJECT_TYPE
21
21
import org.utbot.engine.util.mockListeners.MockListenerController
22
- import org.utbot.framework.context.mocker. MockerContext
22
+ import org.utbot.framework.context.MockerContext
23
23
import org.utbot.framework.plugin.api.util.isInaccessibleViaReflection
24
24
import soot.BooleanType
25
25
import soot.RefType
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import org.utbot.framework.UtSettings.pathSelectorType
34
34
import org.utbot.framework.UtSettings.processUnknownStatesDuringConcreteExecution
35
35
import org.utbot.framework.UtSettings.useDebugVisualization
36
36
import org.utbot.framework.context.ApplicationContext
37
- import org.utbot.framework.context.SpringApplicationContext
37
+ import org.utbot.framework.context.spring. SpringApplicationContext
38
38
import org.utbot.framework.plugin.api.*
39
39
import org.utbot.framework.plugin.api.Step
40
40
import org.utbot.framework.plugin.api.util.*
Original file line number Diff line number Diff line change 1
1
package org.utbot.framework.context
2
2
3
- import org.utbot.framework.context.mocker.MockerContext
4
3
import org.utbot.framework.plugin.api.ClassId
5
4
import org.utbot.framework.plugin.api.CodeGenerationContext
6
5
import org.utbot.framework.plugin.api.TypeReplacementMode
Original file line number Diff line number Diff line change 1
- package org.utbot.framework.context.mocker
1
+ package org.utbot.framework.context
2
2
3
3
interface MockerContext {
4
4
/* *
Original file line number Diff line number Diff line change 1
- package org.utbot.framework.context
1
+ package org.utbot.framework.context.simple
2
2
3
3
import org.utbot.framework.UtSettings
4
- import org.utbot.framework.context.mocker.MockerContext
4
+ import org.utbot.framework.context.ApplicationContext
5
+ import org.utbot.framework.context.MockerContext
5
6
import org.utbot.framework.isFromTrustedLibrary
6
7
import org.utbot.framework.plugin.api.ClassId
7
8
import org.utbot.framework.plugin.api.TypeReplacementMode
Original file line number Diff line number Diff line change 1
- package org.utbot.framework.context.mocker
1
+ package org.utbot.framework.context.simple
2
+
3
+ import org.utbot.framework.context.MockerContext
2
4
3
5
class SimpleMockerContext (
4
6
override val mockFrameworkInstalled : Boolean ,
Original file line number Diff line number Diff line change 1
- package org.utbot.framework.context
1
+ package org.utbot.framework.context.spring
2
2
3
3
import mu.KotlinLogging
4
4
import org.utbot.common.isAbstract
5
5
import org.utbot.common.isStatic
6
+ import org.utbot.framework.context.ApplicationContext
6
7
import org.utbot.framework.plugin.api.BeanDefinitionData
7
8
import org.utbot.framework.plugin.api.ClassId
8
9
import org.utbot.framework.plugin.api.SpringCodeGenerationContext
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ import org.utbot.framework.UtSettings.disableCoroutinesDebug
26
26
import org.utbot.framework.UtSettings.utBotGenerationTimeoutInMillis
27
27
import org.utbot.framework.UtSettings.warmupConcreteExecution
28
28
import org.utbot.framework.context.ApplicationContext
29
- import org.utbot.framework.context.SimpleApplicationContext
30
- import org.utbot.framework.context.SpringApplicationContext
29
+ import org.utbot.framework.context.simple.SimpleApplicationContext
30
+ import org.utbot.framework.context.simple.SimpleMockerContext
31
+ import org.utbot.framework.context.spring.SpringApplicationContext
31
32
import org.utbot.framework.plugin.api.utils.checkFrameworkDependencies
32
33
import org.utbot.framework.minimization.minimizeTestCase
33
34
import org.utbot.framework.plugin.api.util.SpringModelUtils.entityClassIds
Original file line number Diff line number Diff line change @@ -48,10 +48,9 @@ import org.utbot.framework.CancellationStrategyType.NONE
48
48
import org.utbot.framework.CancellationStrategyType.SAVE_PROCESSED_RESULTS
49
49
import org.utbot.framework.UtSettings
50
50
import org.utbot.framework.codegen.domain.ProjectType.*
51
- import org.utbot.framework.context.ApplicationContext
52
- import org.utbot.framework.context.SimpleApplicationContext
53
- import org.utbot.framework.context.SpringApplicationContext
54
- import org.utbot.framework.context.mocker.SimpleMockerContext
51
+ import org.utbot.framework.context.simple.SimpleApplicationContext
52
+ import org.utbot.framework.context.spring.SpringApplicationContext
53
+ import org.utbot.framework.context.simple.SimpleMockerContext
55
54
import org.utbot.framework.plugin.api.*
56
55
import org.utbot.framework.plugin.api.SpringSettings.*
57
56
import org.utbot.framework.plugin.api.SpringConfiguration.*
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ import org.utbot.framework.codegen.generator.SpringCodeGenerator
16
16
import org.utbot.framework.codegen.services.language.CgLanguageAssistant
17
17
import org.utbot.framework.codegen.tree.ututils.UtilClassKind
18
18
import org.utbot.framework.codegen.tree.ututils.UtilClassKind.Companion.UT_UTILS_INSTANCE_NAME
19
- import org.utbot.framework.context.SimpleApplicationContext
20
- import org.utbot.framework.context.SpringApplicationContext
21
- import org.utbot.framework.context.mocker .SimpleMockerContext
19
+ import org.utbot.framework.context.simple. SimpleApplicationContext
20
+ import org.utbot.framework.context.spring. SpringApplicationContext
21
+ import org.utbot.framework.context.simple .SimpleMockerContext
22
22
import org.utbot.framework.plugin.api.*
23
23
import org.utbot.framework.plugin.api.util.UtContext
24
24
import org.utbot.framework.plugin.api.util.description
You can’t perform that action at this time.
0 commit comments