From 8af2a8bcfd54280e2b21387da2e2badc1305d720 Mon Sep 17 00:00:00 2001 From: Egor Kulikov Date: Mon, 27 Feb 2023 13:15:31 +0300 Subject: [PATCH] Fix reports generation for Spring classes --- .../main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt | 2 +- .../src/main/resources/bundles/UtbotBundle.properties | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utbot-framework/src/main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt b/utbot-framework/src/main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt index f921cec3b0..b59794d45e 100644 --- a/utbot-framework/src/main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt +++ b/utbot-framework/src/main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt @@ -115,7 +115,7 @@ open class CodeGenerator( return CodeGeneratorResult( generatedCode = generatedCode, utilClassKind = UtilClassKind.fromCgContextOrNull(context), - testsGenerationReport = TestsGenerationReport() + testsGenerationReport = astConstructor.testsGenerationReport ) } diff --git a/utbot-intellij/src/main/resources/bundles/UtbotBundle.properties b/utbot-intellij/src/main/resources/bundles/UtbotBundle.properties index 44794f2b55..4c13064c79 100644 --- a/utbot-intellij/src/main/resources/bundles/UtbotBundle.properties +++ b/utbot-intellij/src/main/resources/bundles/UtbotBundle.properties @@ -5,6 +5,6 @@ test.report.force.static.mock.warning=Warning: Some test cases were ignor Better results could be achieved by configuring mockito-inline. test.report.test.framework.warning=Warning: There are several test frameworks in the project.\ To select run configuration, please refer to the documentation depending on the project build system:\ -Gradle,\ -Maven\ +Gradle, \ +Maven \ or Idea. \ No newline at end of file