object Specification
- Source
- Specification.scala
- Alphabetic
- By Inheritance
- Specification
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def Classpath(fileName: String, pathSeparatorChar: Char = java.io.File.pathSeparatorChar): Iterable[String]
Returns a list of paths contained inside the given classpath file.
Returns a list of paths contained inside the given classpath file. A classpath file should contain paths as text seperated by a path-separator character. On UNIX systems, this character is
':'
; on Microsoft Windows systems it is';'
.Example
/path/to/jar/library.jar:/path/to/library/example.jar:/path/to/library/example2.jar
Classpath files should be used to prevent absolute paths in tests.
- def LibraryJAR(jarName: String): Seq[(ClassFile, URL)]
Loads all class files of the specified jar file using the library class file reader.
Loads all class files of the specified jar file using the library class file reader. (I.e., the all method implementations are skipped.)
- jarName
The name of a jar file.
- def LibraryJARs(jarNames: Seq[String]): Seq[(ClassFile, URL)]
Load all jar files using the library class loader.
- def PathToJARs(paths: Iterable[String], jarNames: Iterable[Regex]): Iterable[String]
Returns a list of paths that match the given list of regular expressions from the given list of paths.
- def PathToJARs(paths: Iterable[String], jarName: Regex): Iterable[String]
Returns a list of paths that matches the given regular expression from the given list of paths.
- def ProjectDirectory(directoryName: String): Seq[(ClassFile, URL)]
- def ProjectJAR(jarName: String): Seq[(ClassFile, URL)]
- def ProjectJARs(jarNames: Seq[String]): Seq[(ClassFile, URL)]
Load all jar files.