Repl: enhance test framework to wait for commands to be processed, not some text to appear
This commit is contained in:
@@ -25,7 +25,8 @@ class CommandHistory {
|
||||
)
|
||||
|
||||
private val entries = arrayListOf<Entry>()
|
||||
private var processedEntriesCount: Int = 0
|
||||
var processedEntriesCount: Int = 0
|
||||
private set
|
||||
|
||||
val listeners = arrayListOf<HistoryUpdateListener>()
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ public class KotlinConsoleRunner(
|
||||
title: String,
|
||||
path: String?
|
||||
) : AbstractConsoleRunnerWithHistory<LanguageConsoleView>(myProject, title, path) {
|
||||
internal val commandHistory = CommandHistory()
|
||||
val commandHistory = CommandHistory()
|
||||
|
||||
var isReadLineMode: Boolean = false
|
||||
set(value) {
|
||||
|
||||
Reference in New Issue
Block a user