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
- All
Instance Constructors
- new ResultOfBeWordForCollectedArray(collected: Collected, xs: GenTraversable[Array[T]], original: Any, shouldBeTrue: Boolean, prettifier: Prettifier, pos: Position)
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) should 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) should 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) should 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) should 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) should 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) should 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) should be theSameInstanceAs anotherObject ^
- Definition Classes
- ResultOfBeWordForCollectedAny
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfBeWordForCollectedArray([collected], [xs], [shouldBeTrue])"
- Definition Classes
- ResultOfBeWordForCollectedArray → ResultOfBeWordForCollectedAny → AnyRef → Any