File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
utbot-junit-contest/src/main/kotlin/org/utbot/contest Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ fun <T> Iterable<T>.printMultiline(printer: (T) -> Any?) = "\n" + joinToString("
1414class GlobalStats {
1515 val projectStats = mutableListOf<StatsForProject >()
1616 var duration: Long? = null
17+
18+ override fun toString (): String = " \n <Global statistics> :" +
19+ projectStats.joinToString(separator = " \n " )
1720}
1821
1922class StatsForProject (val project : String ) {
@@ -72,7 +75,7 @@ class StatsForProject(val project: String) {
7275 else this
7376 }
7477
75- override fun toString (): String = " \n <Global statistics > :" +
78+ override fun toString (): String = " \n <StatsForProject( $project ) > :" +
7679 " \n\t #classes for generation = $classesForGeneration " +
7780 " \n\t #tc generated = $testCasesGenerated " +
7881 " \n\t #classes without problems = $classesWithoutProblems " +
@@ -139,7 +142,7 @@ class StatsForClass(val project: String, val className: String) {
139142 fun getConcolicCoverageInfo (): CoverageStatistic =
140143 concolicCoverage.getCoverageInfo(testedClassNames)
141144
142- override fun toString (): String = " \n <StatsForClass> :" +
145+ override fun toString (): String = " \n <StatsForClass( $className ) > :" +
143146 " \n\t canceled by timeout = $canceledByTimeout " +
144147 " \n\t #methods = $methodsCount , " +
145148 " \n\t #methods started symbolic exploration = ${statsForMethods.size} " +
You can’t perform that action at this time.
0 commit comments