org.specs.io.mock.MockWriter

trait MockWriter

trait MockWriter

 extends Writer with ScalaObject


The MockWriter writes all the content written with the Writer interface to the messages: Queue[String] attribute.


Source: mocks.scala(133)

Direct Known Subclasses

MockFileWriter,

 Fields

closed var closed
is the Writer closed?
Boolean
messages val messages
list of messages representing the output
Queue[String]

 Methods

!= final def !=(arg0 : Any) Boolean Any
!= final def !=(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Object) Boolean AnyRef
== final def ==(arg0 : Any) Boolean Any
append def append(arg0 : CharSequence) Writer Writer
append def append(arg0 : Char) Writer Writer
append def append(arg0 : CharSequence, arg1 : Int, arg2 : Int) Writer Writer
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
close override def close
closes the Writer
Unit
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
flush override def flush
flushes the Writer
Unit
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
write override def write(a : Array[Char], b : Int, c : Int)
overrides the write(a: Array[Char], b: Int, c: Int) method to do nothing
Unit
write def write(arg0 : Array[Char]) Unit Writer
write def write(arg0 : String, arg1 : Int, arg2 : Int) Unit Writer
write def write(arg0 : Int) Unit Writer
write override def write(m : String) Unit
Copyright (c) 2007-2009. All Rights Reserved.