diff options
author | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-12-18 15:55:39 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@typesafe.com> | 2015-12-18 15:55:39 +0100 |
commit | 07ce2aea47228987b7deb871036f473364120802 (patch) | |
tree | e1bd1aa4b7c803a5dd1e5015035e5c11ebd21487 /test/junit | |
parent | 5adc400f5ece336f3f5ff19691204975d41e652e (diff) | |
parent | e3d51a131d2e3ac08fb197a32bcba8e7978a476e (diff) | |
download | scala-07ce2aea47228987b7deb871036f473364120802.tar.gz scala-07ce2aea47228987b7deb871036f473364120802.tar.bz2 scala-07ce2aea47228987b7deb871036f473364120802.zip |
Merge pull request #4875 from slothspot/ticket/9454
[SI-9454] Add isAlive method into sys.process.Process trait
Diffstat (limited to 'test/junit')
-rw-r--r-- | test/junit/scala/sys/process/t7350.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/junit/scala/sys/process/t7350.scala b/test/junit/scala/sys/process/t7350.scala index 7f3e8897f2..3c0e5145e6 100644 --- a/test/junit/scala/sys/process/t7350.scala +++ b/test/junit/scala/sys/process/t7350.scala @@ -18,6 +18,7 @@ import scala.util.control.Exception.ignoring class PipedProcessTest { class ProcessMock(error: Boolean) extends Process { var destroyCount = 0 + def isAlive() = false def exitValue(): Int = { if (error) { throw new InterruptedException() |