org.specs2.io

package org.specs2.io

Members list

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

Attributes

Companion
object
Supertypes
trait Output
class Object
trait Matchable
class Any
Known subtypes
object ConsoleOutput.type
object ConsoleOutput extends ConsoleOutput

Attributes

Companion
trait
Supertypes
trait Output
class Object
trait Matchable
class Any
Self type
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object DirectoryPath

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
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

Attributes

Supertypes
trait LinesContent[File]
class Object
trait Matchable
class Any
Self type
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FileName

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FileName.type
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

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FilePath

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
FilePath.type

Methods to read files on the FileSystem

Methods to read files on the FileSystem

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FilePathReader.type
class FileSystem

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait FileReader

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

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FileReader.type
object FileReader extends FileReader

Attributes

Companion
trait
Supertypes
trait FileReader
class Object
trait Matchable
class Any
Self type
FileReader.type
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

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object FoldIo

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
FoldIo.type
trait Key[A]

Attributes

Supertypes
class Object
trait Matchable
class Any
trait Output

This trait represents an output with standard print functions

This trait represents an output with standard print functions

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object ConsoleOutput.type
trait StringOutput
trait Store

Key-value store

Key-value store

Attributes

Supertypes
class Object
trait Matchable
class Any
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 !!

Attributes

Supertypes
trait Output
class Object
trait Matchable
class Any

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"

Attributes

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"

Attributes