# SequenceMatchersCreation

### Related Docs: object SequenceMatchersCreation | package matcher

#### trait SequenceMatchersCreation extends ExpectationsCreation with ResultImplicits

Self Type
SequenceMatchersCreation
Linear Supertypes
Ordering
1. Alphabetic
2. By Inheritance
Inherited
1. SequenceMatchersCreation
2. ResultImplicits
3. ExpectationsCreation
4. MatchResultStackTrace
5. AnyRef
6. Any
1. Hide All
2. Show All
Visibility
1. Public
2. All

### Type Members

2. #### implicit class resultFunction[T, R] extends AnyRef

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Add functionalities to functions returning matchers so that they can be combined before taking a value and returning actual matchers

Definition Classes
ResultImplicits

### 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. #### final def asInstanceOf[T0]: T0

Definition Classes
Any
5. #### def atLeastOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

6. #### def atLeastOnce[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for at least one value

7. #### def atLeastOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for at least one value, where the PartialFunction is defined

8. #### def atMostOnce[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher atLeast one value

9. #### def atMostOnce[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for at least one value

10. #### def atMostOnceWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for at least one value, where the PartialFunction is defined

11. #### def checkFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to throw exceptions when checking the match result

this method can be overridden to throw exceptions when checking the match result

Attributes
protected
Definition Classes
ExpectationsCreation
12. #### def checkMatchResultFailure[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to throw exceptions when checking the match result

this method can be overridden to throw exceptions when checking the match result

Attributes
protected
Definition Classes
ExpectationsCreation
13. #### def checkResultFailure(r: ⇒ Result): Result

this method can be overridden to throw exceptions when checking the result

this method can be overridden to throw exceptions when checking the result

Attributes
protected
Definition Classes
ExpectationsCreation
14. #### def clone(): AnyRef

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( ... )
15. #### def createExpectable[T](t: ⇒ T, alias: Option[(String) ⇒ String]): Expectable[T]

returns

an Expectable with a description function

Definition Classes
ExpectationsCreation
16. #### def createExpectable[T](t: ⇒ T, alias: (String) ⇒ String): Expectable[T]

returns

an Expectable with a description function

Definition Classes
ExpectationsCreation
17. #### def createExpectable[T](t: ⇒ T, alias: ⇒ String): Expectable[T]

returns

an Expectable with a description

Definition Classes
ExpectationsCreation
18. #### def createExpectable[T](t: ⇒ T): Expectable[T]

returns

an Expectable

Definition Classes
ExpectationsCreation
19. #### def createExpectableWithShowAs[T](t: ⇒ T, showAs: ⇒ String): Expectable[T]

returns

an Expectable with a function to show the element T

Definition Classes
ExpectationsCreation
20. #### final def eq(arg0: AnyRef): Boolean

Definition Classes
AnyRef
21. #### def equals(arg0: Any): Boolean

Definition Classes
AnyRef → Any
22. #### def finalize(): Unit

Attributes
protected[java.lang]
Definition Classes
AnyRef
Annotations
@throws( classOf[java.lang.Throwable] )
23. #### def forall[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher for all values

24. #### def forall[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for all the values, stopping after the first failure

25. #### def forallWhen[T, U](values: Traversable[T])(f: PartialFunction[T, MatchResult[U]]): MatchResult[Traversable[T]]

verify the function f for all the values, stopping after the first failure, where the PartialFunction is defined

26. #### def foreach[T](matcher: Matcher[T]): ContainWithResult[T]

apply a matcher foreach value

27. #### def foreach[T, R](values: Traversable[T])(f: (T) ⇒ R)(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for all the values, and collect all failures

28. #### def foreachWhen[T, R](values: Traversable[T])(f: PartialFunction[T, R])(implicit arg0: AsResult[R]): MatchResult[Traversable[T]]

verify the function f for all the values, and collect all failures, where the PartialFunction is defined

29. #### final def getClass(): Class[_]

Definition Classes
AnyRef → Any
30. #### def hashCode(): Int

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

Definition Classes
Any
32. #### def mapMatchResult[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to intercept a MatchResult and change its message before it is thrown

this method can be overridden to intercept a MatchResult and change its message before it is thrown

Attributes
protected
Definition Classes
ExpectationsCreation
33. #### final def ne(arg0: AnyRef): Boolean

Definition Classes
AnyRef
34. #### final def notify(): Unit

Definition Classes
AnyRef
35. #### final def notifyAll(): Unit

Definition Classes
AnyRef
36. #### def sandboxMatchResult[T](mr: ⇒ MatchResult[T]): MatchResult[T]

returns

the match result without any side-effects

Attributes
protected
Definition Classes
ExpectationsCreation
37. #### def setStacktrace[T](m: MatchResult[T]): MatchResult[T]

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

this method can be overridden to avoid filling-in a stacktrace indicating the location of the result

Attributes
protected
Definition Classes
MatchResultStackTrace
38. #### final def synchronized[T0](arg0: ⇒ T0): T0

Definition Classes
AnyRef
39. #### def toString(): String

Definition Classes
AnyRef → Any
40. #### final def wait(): Unit

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

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

Definition Classes
AnyRef
Annotations
@throws( ... )