final class ResultOfBeWordForCollectedArray[T] extends ResultOfBeWordForCollectedAny[Array[T]]
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers
for an overview of
the matchers DSL.
- Source
- Matchers.scala
- Alphabetic
- By Inheritance
- ResultOfBeWordForCollectedArray
- ResultOfBeWordForCollectedAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- def a[U <: Array[T]](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[Array[T], AnyRef]): Assertion
This method enables the following syntax, where
badBook
is, for example, of typeBook
andgoodRead
refers to aBePropertyMatcher[Book]
:This method enables the following syntax, where
badBook
is, for example, of typeBook
andgoodRead
refers to aBePropertyMatcher[Book]
:all(books) must be a (goodRead) ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def a(symbol: Symbol)(implicit toAnyRef: <:<[Array[T], AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be a ('file) ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def an[U <: Array[T]](beTrueMatcher: BePropertyMatcher[U])(implicit ev: <:<[Array[T], AnyRef]): Assertion
This method enables the following syntax, where
badBook
is, for example, of typeBook
andexcellentRead
refers to aBePropertyMatcher[Book]
:This method enables the following syntax, where
badBook
is, for example, of typeBook
andexcellentRead
refers to aBePropertyMatcher[Book]
:all(books) must be an (excellentRead) ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def an(symbol: Symbol)(implicit toAnyRef: <:<[Array[T], AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be an ('orange) ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def apply(right: Symbol): Matcher[Array[T]]
This method enables the following syntax:
This method enables the following syntax:
all(colOfArray) must be ('empty) ^
- def definedAt[U](right: U)(implicit ev: <:<[Array[T], PartialFunction[U, _]]): Assertion
This method enables the following syntax, where
fraction
is, for example, of typePartialFunction
:This method enables the following syntax, where
fraction
is, for example, of typePartialFunction
:all(xs) must be definedAt (6) ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def theSameInstanceAs(right: AnyRef)(implicit toAnyRef: <:<[Array[T], AnyRef]): Assertion
This method enables the following syntax:
This method enables the following syntax:
all(xs) must be theSameInstanceAs anotherObject ^
- Definition Classes
- ResultOfBeWordForCollectedAny
- def toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfBeWordForCollectedArray([collected], [xs], [mustBeTrue])"
- Definition Classes
- ResultOfBeWordForCollectedArray → ResultOfBeWordForCollectedAny → AnyRef → Any