File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
utbot-framework/src/test/kotlin/org/utbot/framework/codegen
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ enum class MockStrategyApi(
1032
1032
// Get is mandatory because of the initialization order of the inheritors.
1033
1033
// Otherwise, in some cases we could get an incorrect value
1034
1034
companion object : CodeGenerationSettingBox {
1035
- override val defaultItem = OTHER_PACKAGES
1035
+ override val defaultItem = NO_MOCKS
1036
1036
override val allItems: List <MockStrategyApi > = values().toList()
1037
1037
}
1038
1038
}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class TestCodeGeneratorPipeline(private val testFrameworkConfiguration: TestFram
107
107
if (isParametrizedAndMocked) 0
108
108
else when (parametrizedTestSource) {
109
109
ParametrizedTestSource .DO_NOT_PARAMETRIZE -> testSets.sumOf { it.executions.size }
110
- ParametrizedTestSource .PARAMETRIZE -> testSets.size
110
+ ParametrizedTestSource .PARAMETRIZE -> testSets.filter { it.executions.isNotEmpty() }. size
111
111
}
112
112
113
113
// check for error in the generated file
You can’t perform that action at this time.
0 commit comments