Skip to content

Commit 56ccd2a

Browse files
committed
Fix compilation
1 parent d5abd60 commit 56ccd2a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

utbot-cli/src/main/kotlin/org/utbot/cli/GenerateTestsCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class GenerateTestsCommand :
102102

103103
val testClassName = output?.toPath()?.toFile()?.nameWithoutExtension
104104
?: "${classUnderTest.simpleName}Test"
105-
val testSets = generateTestCases(
105+
val testSets = generateTestSets(
106106
testCaseGenerator,
107107
targetMethods,
108108
Paths.get(sourceCodeFile),

utbot-framework/src/main/kotlin/org/utbot/framework/plugin/sarif/GenerateTestsAndSarifReportFacade.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ class GenerateTestsAndSarifReportFacade(
5151
}
5252
}
5353

54-
private fun generateTestSets(targetClass: TargetClassWrapper, workingDirectory: Path): List<UtTestCase> =
54+
private fun generateTestSets(targetClass: TargetClassWrapper, workingDirectory: Path): List<UtMethodTestSet> =
5555
testCaseGenerator
5656
.generate(
57-
targetClass.targetMethods(),
57+
targetClass.targetMethods,
5858
sarifProperties.mockStrategy,
5959
sarifProperties.classesToMockAlways,
6060
sarifProperties.generationTimeout

utbot-framework/src/test/kotlin/org/utbot/examples/TestSpecificTestCaseGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class TestSpecificTestCaseGenerator(
3232

3333
private val logger = KotlinLogging.logger {}
3434

35-
fun generate(method: UtMethod<*>, mockStrategy: MockStrategyApi): UtTestCase {
35+
fun generate(method: UtMethod<*>, mockStrategy: MockStrategyApi): UtMethodTestSet {
3636
if (isCanceled()) {
3737
return UtMethodTestSet(method)
3838
}

0 commit comments

Comments
 (0)