org.specs.mock.inAnyOrder

object inAnyOrder

case object inAnyOrder

 extends inAnyOrder with Product




Companion: inAnyOrder

Source: InAnyOrder.scala(5)

 Constructors

def this

 Fields

constraints def constraints
[details]
return
- a String specifying the constraints of this protocol. If it is exactly one, returns "in any order"
String inAnyOrder
productArity override def productArity Int
productPrefix override def productPrefix String
repetition val repetition CallConstraint inAnyOrder

 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
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
consume def consume(exp : List[SpecifiedCall], rec : List[ReceivedCall])
Tries to match expected calls with received calls in any order until the repetition parameter is satisfied
Before doing so, it sets the repetition number on expected calls, so that they know when to stop matching received calls (especially for atLeast and atMost constraints) [details]
return
- the list of expected calls and the list of received calls
(List[SpecifiedCall], List[ReceivedCall]) inAnyOrder
eq final def eq(arg0 : Object) Boolean AnyRef
equals override def equals(other : Any) Boolean ProtocolType
expectedDefs def expectedDefs(expected : List[SpecifiedCall])
[details]
return
- a user message specifying the protocol constraints on the expected calls: for example "in any order m1; m2" or "in sequence m1; m2; m3"
String ProtocolType
failures def failures(expected : List[SpecifiedCall], received : List[ReceivedCall], exclusive : Boolean)
[details]
return
- also an error message when unexpected calls occured if exclusive is true
- "" otherwise
- error messages specifying if some expected calls have not been met.
String ProtocolType
finalize protected def finalize Unit AnyRef
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
productElement override def productElement(arg0 : Int) Any
readResolve protected def readResolve Object
receivedMessages def receivedMessages(received : List[ReceivedCall])
[details]
return
- a user message with the list of received messages
String ProtocolType
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString override final def toString String
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
Copyright (c) 2007-2009. All Rights Reserved.