Added test that reads process output after process quit

This commit is contained in:
nathan 2020-08-11 00:03:27 +02:00
parent 7e38d94d19
commit b2706ebdca
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import java.util.concurrent.TimeUnit
class ProcessExecutorInputStreamTest {
@Test
@Throws(Exception::class)
fun testWritingToProcess() {
fun testWritingToProcessAndReadingAfterProcessQuit() {
val str = "Tere Minu Uus vihik"
val exec = Executor("java", TestSetup.getFile(PrintInputToOutput::class.java))
exec.enableRead()