File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
utbot-framework-api/src/main/kotlin/org/utbot/framework/plugin/api
utbot-framework/src/test/kotlin/org/utbot/framework/codegen 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(
10321032 // Get is mandatory because of the initialization order of the inheritors.
10331033 // Otherwise, in some cases we could get an incorrect value
10341034 companion object : CodeGenerationSettingBox {
1035- override val defaultItem = OTHER_PACKAGES
1035+ override val defaultItem = NO_MOCKS
10361036 override val allItems: List <MockStrategyApi > = values().toList()
10371037 }
10381038}
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ class TestCodeGeneratorPipeline(private val testFrameworkConfiguration: TestFram
107107 if (isParametrizedAndMocked) 0
108108 else when (parametrizedTestSource) {
109109 ParametrizedTestSource .DO_NOT_PARAMETRIZE -> testSets.sumOf { it.executions.size }
110- ParametrizedTestSource .PARAMETRIZE -> testSets.size
110+ ParametrizedTestSource .PARAMETRIZE -> testSets.filter { it.executions.isNotEmpty() }. size
111111 }
112112
113113 // check for error in the generated file
You can’t perform that action at this time.
0 commit comments