From 91d09fef5fb138a5377765085c3cba2becf41bc6 Mon Sep 17 00:00:00 2001 From: Kirill Shishin Date: Thu, 26 Oct 2023 17:52:59 +0300 Subject: [PATCH] Fixed a bug with the loss of engine tests when filling summaries --- .../kotlin/org/utbot/summary/Summarization.kt | 26 ++++++++++++++----- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/utbot-summary/src/main/kotlin/org/utbot/summary/Summarization.kt b/utbot-summary/src/main/kotlin/org/utbot/summary/Summarization.kt index d53f59b766..db03adf89b 100644 --- a/utbot-summary/src/main/kotlin/org/utbot/summary/Summarization.kt +++ b/utbot-summary/src/main/kotlin/org/utbot/summary/Summarization.kt @@ -283,14 +283,26 @@ class Summarization(val sourceFile: File?, val invokeDescriptions: List { + val clusteredExecutions = groupFuzzedExecutions(methodTestSet) + clusteredExecutions.forEach { + clustersToReturn.add( + UtExecutionCluster( + UtClusterInfo(it.header), + it.executions + ) + ) + } + } + MethodDescriptionSource.SYMBOLIC -> { + clustersToReturn.add( + UtExecutionCluster( + UtClusterInfo(), + methodTestSet.executions + ) ) - ) + } } }