Skip to content

Commit a647725

Browse files
Fix reports generation for Spring classes (#1858)
1 parent cdeacd9 commit a647725

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/CodeGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ open class CodeGenerator(
115115
return CodeGeneratorResult(
116116
generatedCode = generatedCode,
117117
utilClassKind = UtilClassKind.fromCgContextOrNull(context),
118-
testsGenerationReport = TestsGenerationReport()
118+
testsGenerationReport = astConstructor.testsGenerationReport
119119
)
120120
}
121121

utbot-intellij/src/main/resources/bundles/UtbotBundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ test.report.force.static.mock.warning=<b>Warning</b>: Some test cases were ignor
55
Better results could be achieved by <a href="{0}{1}">configuring mockito-inline</a>.
66
test.report.test.framework.warning=<b>Warning</b>: There are several test frameworks in the project.\
77
To select run configuration, please refer to the documentation depending on the project build system:\
8-
<a href="https://docs.gradle.org/current/userguide/java_testing.html#sec:configuring_java_integration_tests">Gradle</a>,\
9-
<a href="https://maven.apache.org/surefire/maven-surefire-plugin/examples/providers.html">Maven</a>\
8+
<a href="https://docs.gradle.org/current/userguide/java_testing.html#sec:configuring_java_integration_tests">Gradle</a>, \
9+
<a href="https://maven.apache.org/surefire/maven-surefire-plugin/examples/providers.html">Maven</a> \
1010
or <a href="https://www.jetbrains.com/help/idea/run-debug-configuration.html#compound-configs">Idea</a>.

0 commit comments

Comments
 (0)