File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
utbot-spring-test/src/test/kotlin/org/utbot/examples/spring/autowiring
utbot-testing/src/main/kotlin/org/utbot/testing Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
1
package org.utbot.examples.spring.autowiring
2
2
3
3
import org.utbot.examples.spring.utils.standardSpringTestingConfigurations
4
+ import org.utbot.framework.context.spring.SpringApplicationContextImpl
5
+ import org.utbot.framework.plugin.api.SpringSettings
6
+ import org.utbot.framework.plugin.api.SpringTestType
4
7
import org.utbot.testing.UtValueTestCaseChecker
5
- import org.utbot.testing.springNoConfigApplicationContext
8
+ import org.utbot.testing.defaultApplicationContext
6
9
import kotlin.reflect.KClass
7
10
11
+ val springNoConfigApplicationContext = SpringApplicationContextImpl (
12
+ delegateContext = defaultApplicationContext,
13
+ springTestType = SpringTestType .UNIT_TEST ,
14
+ springSettings = SpringSettings .AbsentSpringSettings ,
15
+ beanDefinitions = emptyList()
16
+ )
17
+
8
18
abstract class SpringNoConfigUtValueTestCaseChecker (
9
19
testClass : KClass <* >
10
20
) : UtValueTestCaseChecker(
Original file line number Diff line number Diff line change @@ -4,11 +4,8 @@ import org.utbot.framework.codegen.domain.ParametrizedTestSource
4
4
import org.utbot.framework.codegen.domain.ProjectType
5
5
import org.utbot.framework.context.simple.SimpleApplicationContext
6
6
import org.utbot.framework.context.simple.SimpleMockerContext
7
- import org.utbot.framework.context.spring.SpringApplicationContextImpl
8
7
import org.utbot.framework.plugin.api.CodegenLanguage
9
8
import org.utbot.framework.plugin.api.MockStrategyApi
10
- import org.utbot.framework.plugin.api.SpringSettings
11
- import org.utbot.framework.plugin.api.SpringTestType
12
9
13
10
interface AbstractConfiguration {
14
11
val projectType: ProjectType
@@ -48,10 +45,3 @@ val defaultApplicationContext = SimpleApplicationContext(
48
45
staticsMockingIsConfigured = true ,
49
46
)
50
47
)
51
-
52
- val springNoConfigApplicationContext = SpringApplicationContextImpl (
53
- delegateContext = defaultApplicationContext,
54
- springTestType = SpringTestType .UNIT_TEST ,
55
- springSettings = SpringSettings .AbsentSpringSettings ,
56
- beanDefinitions = emptyList()
57
- )
You can’t perform that action at this time.
0 commit comments