org.specs2.io

Type members

Classlikes

trait ConsoleOutput extends Output

Implementation of the Output trait using the standard Console output

Implementation of the Output trait using the standard Console output

Companion:
object
Companion:
class
case class DirectoryPath(dirs: Vector[FileName], absolute: Boolean)

Representation of a directory path which can be relative or absolute

Representation of a directory path which can be relative or absolute

It is a list of FileNames and we can append other DirectoryPaths or FilePaths to it If the list is empty, this means we are at the root

Companion:
object
Companion:
class
object FileLinesContent extends LinesContent[File]

Default implementation for reading lines out of a file

Default implementation for reading lines out of a file

This is used in FileContentMatchers

case class FileName

The component of a path name according to the unix definition http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_267

The component of a path name according to the unix definition http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_267

Companion:
object
object FileName
Companion:
class
case class FilePath(dir: DirectoryPath, name: FileName)

Representation of a file path, absolute or relative

Representation of a file path, absolute or relative

It has a parent directory and a name

Companion:
object
object FilePath
Companion:
class

Methods to read files on the FileSystem

Methods to read files on the FileSystem

Companion:
object
Companion:
class

The FileReader trait provides most of the File API methods as an interface in order to be able to mock them

The FileReader trait provides most of the File API methods as an interface in order to be able to mock them

Companion:
object
object FileReader extends FileReader
Companion:
class
case class FileSystem(logger: Logger) extends FilePathReader

Interface for the FileSystem where effects are denoted with the "Operation" type

Interface for the FileSystem where effects are denoted with the "Operation" type

object FoldIo
trait Key[A]
trait Output

This trait represents an output with standard print functions

This trait represents an output with standard print functions

trait Store

Key-value store

Key-value store

trait StringOutput extends Output

Mock implementation of the Output trait to gather messages.

Mock implementation of the Output trait to gather messages.

!! This implementation is mutable, so it is not thread-safe !!

Extensions

Extensions

extension (name: FileName)
def /(other: FileName): DirectoryPath

It is possible to create a DirPath or FilePath, starting from a string "tmp" </> "dir"

It is possible to create a DirPath or FilePath, starting from a string "tmp" </> "dir"

def |(other: FileName): FilePath

It is possible to create a DirPath or FilePath, starting from a string "tmp" </> "dir"

It is possible to create a DirPath or FilePath, starting from a string "tmp" </> "dir"