trait AbstractDOMNodeRunner extends AbstractExtRunner with AbstractNodeRunner
- Attributes
- protected
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AbstractDOMNodeRunner
- AbstractNodeRunner
- AbstractExtRunner
- JSInitFiles
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
codeWithJSDOMContext(): Seq[VirtualJSFile]
- Attributes
- protected
-
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fixPercentConsole(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
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
-
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
- AbstractNodeRunner → JSInitFiles
-
def
installSourceMap(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
runtimeEnv(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractNodeRunner
-
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
startVM(): Process
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
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