org.specs2.io.MockFileSystem

MockFileWriter

case class MockFileWriter(path: String) extends Writer with MockWriter with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, MockWriter, StringOutput, Output, Writer, Flushable, Closeable, AutoCloseable, Appendable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MockFileWriter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. MockWriter
  7. StringOutput
  8. Output
  9. Writer
  10. Flushable
  11. Closeable
  12. AutoCloseable
  13. Appendable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MockFileWriter(path: String)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def append(msg: String): ListBuffer[String]

    Attributes
    protected
    Definition Classes
    StringOutput
  5. def append(arg0: Char): Writer

    Definition Classes
    Writer → Appendable
    Annotations
    @throws( classOf[java.io.IOException] )
  6. def append(arg0: CharSequence, arg1: Int, arg2: Int): Writer

    Definition Classes
    Writer → Appendable
    Annotations
    @throws( classOf[java.io.IOException] )
  7. def append(arg0: CharSequence): Writer

    Definition Classes
    Writer → Appendable
    Annotations
    @throws( classOf[java.io.IOException] )
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clear(): Unit

    Definition Classes
    StringOutput
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def close(): Unit

    closes the Writer

    closes the Writer

    Definition Classes
    MockWriter → Writer → Closeable → AutoCloseable
  12. var closed: Boolean

    is the Writer closed?

    is the Writer closed?

    Definition Classes
    MockWriter
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def flush(): Unit

    flushes the Writer

    flushes the Writer

    Definition Classes
    MockWriter → Output → Writer → Flushable
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def messages: List[String]

    returns

    the list of stored messages

    Definition Classes
    StringOutput
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def output: String

    returns

    the output as one string

    Definition Classes
    StringOutput
  23. val path: String

  24. def print(m: Any): Unit

    print an object with no newline

    print an object with no newline

    Definition Classes
    Output
  25. def printStackTrace(t: Throwable): Unit

    print stacktraces

    print stacktraces

    Definition Classes
    Output
  26. def printf(s: String, args: Any*): Unit

    if a message is printed with a newline it is considered as being a new message otherwise it is added to the last message

    if a message is printed with a newline it is considered as being a new message otherwise it is added to the last message

    Definition Classes
    StringOutputOutput
  27. def println(m: Any): Unit

    print an object with a newline

    print an object with a newline

    Definition Classes
    Output
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def write(m: String): Unit

    Definition Classes
    MockFileWriter → MockWriter → Writer
  33. def write(a: Array[Char], b: Int, c: Int): Unit

    overrides the write(a: Array[Char], b: Int, c: Int) method to do nothing

    overrides the write(a: Array[Char], b: Int, c: Int) method to do nothing

    Definition Classes
    MockWriter → Writer
  34. def write(arg0: String, arg1: Int, arg2: Int): Unit

    Definition Classes
    Writer
    Annotations
    @throws( classOf[java.io.IOException] )
  35. def write(arg0: Array[Char]): Unit

    Definition Classes
    Writer
    Annotations
    @throws( classOf[java.io.IOException] )
  36. def write(arg0: Int): Unit

    Definition Classes
    Writer
    Annotations
    @throws( classOf[java.io.IOException] )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from MockWriter

Inherited from StringOutput

Inherited from Output

Inherited from Writer

Inherited from Flushable

Inherited from Closeable

Inherited from AutoCloseable

Inherited from Appendable

Inherited from AnyRef

Inherited from Any

Ungrouped