Skip to content

Commit 72c7706

Browse files
committed
more refactoring
1 parent 8702755 commit 72c7706

5 files changed

Lines changed: 8 additions & 7 deletions

File tree

core/src/main/kotlin/org/evomaster/core/search/service/Statistics.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import org.evomaster.core.problem.rest.service.CallGraphService
1212
import org.evomaster.core.remote.service.RemoteController
1313
import org.evomaster.core.search.Solution
1414
import org.evomaster.core.search.service.time.ExecutionPhaseController
15+
import org.evomaster.core.search.service.time.SearchListener
1516
import org.evomaster.core.search.service.time.SearchTimeController
1617
import org.evomaster.core.utils.IncrementalAverage
1718
import org.slf4j.Logger

core/src/main/kotlin/org/evomaster/core/search/service/monitor/SearchProcessMonitor.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import org.evomaster.core.remote.service.RemoteController
1414
import org.evomaster.core.search.*
1515
import org.evomaster.core.search.gene.Gene
1616
import org.evomaster.core.search.service.*
17+
import org.evomaster.core.search.service.time.SearchListener
1718
import org.evomaster.core.search.service.time.SearchTimeController
1819
import org.evomaster.core.utils.ReportWriter.writeByChannel
1920
import org.slf4j.Logger

core/src/main/kotlin/org/evomaster/core/search/service/SearchListener.kt renamed to core/src/main/kotlin/org/evomaster/core/search/service/time/SearchListener.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package org.evomaster.core.search.service
2-
1+
package org.evomaster.core.search.service.time
32

43
interface SearchListener {
54

65
fun newActionEvaluated()
7-
}
6+
}

core/src/main/kotlin/org/evomaster/core/search/service/time/SearchStatusUpdater.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package org.evomaster.core.search.service.time
33
import com.google.inject.Inject
44
import org.evomaster.core.EMConfig
55
import org.evomaster.core.search.service.Archive
6-
import org.evomaster.core.search.service.SearchListener
6+
import org.evomaster.core.search.service.time.SearchListener
77
import java.io.PrintStream
88
import java.nio.charset.Charset
99
import javax.annotation.PostConstruct
@@ -144,4 +144,4 @@ class SearchStatusUpdater : SearchListener {
144144
*/
145145

146146

147-
}
147+
}

core/src/main/kotlin/org/evomaster/core/search/service/time/SearchTimeController.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package org.evomaster.core.search.service.time
33
import com.google.inject.Inject
44
import org.evomaster.core.EMConfig
55
import org.evomaster.core.logging.LoggingUtil
6-
import org.evomaster.core.search.service.SearchListener
6+
import org.evomaster.core.search.service.time.SearchListener
77
import org.evomaster.core.utils.IncrementalAverage
88
import org.slf4j.LoggerFactory
99
import java.util.ArrayDeque
@@ -323,4 +323,4 @@ class SearchTimeController {
323323
return "$percentage%"
324324
}
325325
}
326-
}
326+
}

0 commit comments

Comments
 (0)