You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,29 +76,50 @@ class Summarization(val sourceFile: File?, val invokeDescriptions: List<InvokeDe
75
76
val updatedExecutions = mutableListOf<UtExecution>()
76
77
val clustersToReturn = mutableListOf<UtExecutionCluster>()
77
78
78
-
//TODO: Now it excludes tests generated by Fuzzer, handle it properly, related to the https://github.com/UnitTestBot/UTBotJava/issues/428
79
-
val executionsProducedByFuzzer =getExecutionsWithEmptyPath(testSet)
79
+
//handles tests produced by fuzzing
80
+
val executionsProducedByFuzzer = testSet.executions.filter { it.createdBy ==UtExecutionCreator.FUZZER }
80
81
81
82
if (executionsProducedByFuzzer.isNotEmpty()) {
82
83
executionsProducedByFuzzer.forEach {
83
84
logger.info {
84
-
"The path for test ${it.testMethodName}"+
85
+
"Test is created by Fuzzing. The path for test ${it.testMethodName}"+
85
86
"for method ${testSet.method.clazz.qualifiedName} is empty and summaries could not be generated."
val methodExecutions = testSet.executions.filter { it.path.isNotEmpty() } // TODO: Now it excludes tests generated by Fuzzer, handle it properly, related to the https://github.com/UnitTestBot/UTBotJava/issues/428
98
+
val methodExecutions = testSet.executions
99
99
val clusters = mutableListOf<ExecutionCluster>()
100
100
val commentPostfix ="for method ${testSet.method.displayName}"
0 commit comments