class ComDOMNodeRunner extends AsyncDOMNodeRunner with NodeComJSRunner
- Attributes
- protected
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ComDOMNodeRunner
- NodeComJSRunner
- ComJSRunner
- AsyncDOMNodeRunner
- AbstractDOMNodeRunner
- AbstractNodeRunner
- AsyncExtRunner
- AsyncJSRunner
- AbstractExtRunner
- JSInitFiles
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ComDOMNodeRunner(files: Seq[VirtualJSFile])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
await(atMost: Duration): Unit
- Definition Classes
- AsyncJSRunner
-
final
def
await(): Unit
- Definition Classes
- AsyncJSRunner
-
final
def
awaitOrStop(atMost: Duration): Unit
- Definition Classes
- AsyncJSRunner
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
close(): Unit
- Definition Classes
- NodeComJSRunner → ComJSRunner
-
def
codeWithJSDOMContext(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractDOMNodeRunner
-
def
console: JSConsole
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
customInitFiles(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
files: Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
finalize(): Unit
- Attributes
- protected
- Definition Classes
- NodeComJSRunner → AnyRef
-
def
fixPercentConsole(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
def
future: Future[Unit]
- Definition Classes
- AsyncExtRunner → AsyncJSRunner
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getJSFiles(): Seq[VirtualJSFile]
All the JS files that are passed to the VM.
All the JS files that are passed to the VM.
This method can overridden to provide custom behavior in subclasses.
This method is overridden in
JSDOMNodeJSEnv
so that user-provided JS files (excluding "init" files) are executed as *scripts* within the jsdom environment, rather than being directly executed by the VM.The value returned by this method in
JSDOMNodeJSEnv
isinitFiles() ++ customInitFiles() ++ codeWithJSDOMContext()
.- Attributes
- protected
- Definition Classes
- AbstractDOMNodeRunner → AbstractExtRunner
-
def
getScriptsJSFiles(): Seq[VirtualJSFile]
JS files to be loaded via scripts in the jsdom environment.
JS files to be loaded via scripts in the jsdom environment.
This method can be overridden to provide a different list of scripts.
The default value in
JSDOMNodeJSEnv
isfiles
.- Attributes
- protected
- Definition Classes
- AbstractDOMNodeRunner
-
def
getVMArgs(): Seq[String]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
getVMEnv(): Map[String, String]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner → AbstractExtRunner
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
initFiles(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- NodeComJSRunner → JSInitFiles
-
def
installSourceMap(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isRunning(): Boolean
- Definition Classes
- AsyncJSRunner
-
val
libCache: VirtualFileMaterializer
- Attributes
- protected[this]
- Definition Classes
- AbstractNodeRunner
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
pipeToConsole(in: InputStream, console: JSConsole): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
pipeVMData(vmInst: Process): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
receive(timeout: Duration): String
- Definition Classes
- NodeComJSRunner → ComJSRunner
-
final
def
receive(): String
- Definition Classes
- ComJSRunner
-
def
runtimeEnv(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
def
send(msg: String): Unit
- Definition Classes
- NodeComJSRunner → ComJSRunner
-
final
def
sendJS(files: Seq[VirtualJSFile], out: Writer): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
sendJS(files: Seq[VirtualJSFile], out: OutputStream): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
sendVMStdin(out: OutputStream): Unit
- Attributes
- protected
- Definition Classes
- AbstractDOMNodeRunner → AbstractExtRunner
-
def
setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
start(logger: Logger, console: JSConsole): Future[Unit]
- Definition Classes
- AsyncExtRunner → AsyncJSRunner
-
def
startExternalJSEnv(): Unit
- Attributes
- protected
- Definition Classes
- AsyncExtRunner
-
def
startVM(): Process
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
stop(): Unit
- Definition Classes
- ComJSRunner → AsyncJSRunner
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
waitForVM(vmInst: Process): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
writeJSFile(file: VirtualJSFile, writer: Writer): Unit
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner → AbstractExtRunner