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("
14
14
class GlobalStats {
15
15
val projectStats = mutableListOf<StatsForProject >()
16
16
var duration: Long? = null
17
+
18
+ override fun toString (): String = " \n <Global statistics> :" +
19
+ projectStats.joinToString(separator = " \n " )
17
20
}
18
21
19
22
class StatsForProject (val project : String ) {
@@ -72,7 +75,7 @@ class StatsForProject(val project: String) {
72
75
else this
73
76
}
74
77
75
- override fun toString (): String = " \n <Global statistics > :" +
78
+ override fun toString (): String = " \n <StatsForProject( $project ) > :" +
76
79
" \n\t #classes for generation = $classesForGeneration " +
77
80
" \n\t #tc generated = $testCasesGenerated " +
78
81
" \n\t #classes without problems = $classesWithoutProblems " +
@@ -139,7 +142,7 @@ class StatsForClass(val project: String, val className: String) {
139
142
fun getConcolicCoverageInfo (): CoverageStatistic =
140
143
concolicCoverage.getCoverageInfo(testedClassNames)
141
144
142
- override fun toString (): String = " \n <StatsForClass> :" +
145
+ override fun toString (): String = " \n <StatsForClass( $className ) > :" +
143
146
" \n\t canceled by timeout = $canceledByTimeout " +
144
147
" \n\t #methods = $methodsCount , " +
145
148
" \n\t #methods started symbolic exploration = ${statsForMethods.size} " +
You can’t perform that action at this time.
0 commit comments