final class ResultOfCollectedAny[T] extends AnyRef
This class is part of the ScalaTest matchers DSL. Please see the documentation for InspectorsMatchers for an overview of
the matchers DSL.
- Source
- WillMatchers.scala
- Alphabetic
- By Inheritance
- ResultOfCollectedAny
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ResultOfCollectedAny(collected: Collected, xs: GenTraversable[T], original: Any, prettifier: Prettifier, pos: Position)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
Overrides to return pretty toString.
Overrides to return pretty toString.
- returns
"ResultOfCollectedAny([collected], [xs])"
- Definition Classes
- ResultOfCollectedAny → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
will(fullyMatchWord: FullyMatchWord)(implicit ev: <:<[T, String]): ResultOfFullyMatchWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) will fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^ -
def
will(includeWord: IncludeWord)(implicit ev: <:<[T, String]): ResultOfIncludeWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) will include regex ("wo.ld") ^ -
def
will(endWithWord: EndWithWord)(implicit ev: <:<[T, String]): ResultOfEndWithWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) will endWith regex ("wo.ld") ^ -
def
will(startWithWord: StartWithWord)(implicit ev: <:<[T, String]): ResultOfStartWithWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) will startWith regex ("Hel*o") ^ -
def
will(notExist: ResultOfNotExist)(implicit existence: Existence[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will not (exist) ^ -
def
will(existWord: ExistWord)(implicit existence: Existence[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will exist ^ -
def
will(containWord: ContainWord): FactResultOfContainWordForCollectedAny[T]
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) will contain oneOf (1, 2, 3) ^ -
def
will(inv: TripleEqualsInvocationOnSpread[T])(implicit ev: Numeric[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) will === (100 +- 1) ^ -
def
will[U](inv: TripleEqualsInvocation[U])(implicit constraint: CanEqual[T, U]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) will === (b) ^ -
def
will(haveWord: HaveWord): ResultOfHaveWordForCollectedExtent[T]
This method enables syntax such as the following:
This method enables syntax such as the following:
all (results) will have length (3) ^ all (results) will have size (3) ^ -
def
will(notWord: NotWord): ResultOfNotWordForCollectedAny[T]
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will not equal (3) ^ -
def
will(beWord: BeWord): ResultOfBeWordForCollectedAny[T]
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will be theSameInstanceAs anotherObject ^ -
def
will[TYPECLASS1[_], TYPECLASS2[_]](rightMatcherFactory2: MatcherFactory2[T, TYPECLASS1, TYPECLASS2])(implicit typeClass1: TYPECLASS1[T], typeClass2: TYPECLASS2[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will (equal (expected) and have length 12) ^ -
def
will[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will equal (3) ^ -
def
will(rightMatcher: Matcher[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) will be (3) ^ -
def
willBe[U <: T](resultOfAnWordApplication: ResultOfAnWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Fact
This method enables the following syntax, where
excellentReadrefers to aBePropertyMatcher[Book]:This method enables the following syntax, where
excellentReadrefers to aBePropertyMatcher[Book]:all(xs) willBe an (excellentRead) ^ -
def
willBe[U <: T](resultOfAWordApplication: ResultOfAWordToBePropertyMatcherApplication[U])(implicit ev: <:<[T, AnyRef]): Fact
This method enables the following syntax, where
goodReadrefers to aBePropertyMatcher[Book]:This method enables the following syntax, where
goodReadrefers to aBePropertyMatcher[Book]:all(xs) willBe a (goodRead) ^ -
def
willBe[U <: T](bePropertyMatcher: BePropertyMatcher[U])(implicit ev: <:<[T, AnyRef]): Fact
This method enables the following syntax, where
excellentReadrefers to aBePropertyMatcher[Book]:This method enables the following syntax, where
excellentReadrefers to aBePropertyMatcher[Book]:all(xs) willBe excellentRead ^ -
def
willBe(o: Null)(implicit ev: <:<[T, AnyRef]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe null ^ -
def
willBe(resultOfAnWordApplication: ResultOfAnWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe an ('empty) ^ -
def
willBe(resultOfAWordApplication: ResultOfAWordToSymbolApplication)(implicit toAnyRef: <:<[T, AnyRef]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe a ('empty) ^ -
def
willBe(symbol: Symbol)(implicit toAnyRef: <:<[T, AnyRef]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe 'empty ^ -
def
willBe(resultOfSameInstanceAsApplication: ResultOfTheSameInstanceAsApplication)(implicit toAnyRef: <:<[T, AnyRef]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) willBe theSameInstanceAs (anotherObject) ^ -
def
willBe(spread: Spread[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) willBe 7.1 +- 0.2 ^ -
def
willBe(beMatcher: BeMatcher[T]): Fact
This method enables the following syntax, where
oddrefers to aBeMatcher[Int]:This method enables the following syntax, where
oddrefers to aBeMatcher[Int]:testing all(xs) willBe odd ^ -
def
willBe(comparison: ResultOfGreaterThanOrEqualToComparison[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) willBe >= (7) ^ -
def
willBe(comparison: ResultOfGreaterThanComparison[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(8, 9, 10) willBe > (7) ^ -
def
willBe(comparison: ResultOfLessThanOrEqualToComparison[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) willBe <= (7) ^ -
def
willBe(comparison: ResultOfLessThanComparison[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(4, 5, 6) willBe < (7) ^ -
def
willBe(right: Any): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) willBe 7 ^ -
def
willBe(anType: FactResultOfAnTypeInvocation[_]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe an [Type] ^ -
def
willBe(aType: FactResultOfATypeInvocation[_]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe a [Type] ^ -
def
willBe(definedWord: DefinedWord)(implicit definition: Definition[T]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe defined ^ -
def
willBe(emptyWord: EmptyWord)(implicit emptiness: Emptiness[T]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe empty ^ -
def
willBe(writableWord: WritableWord)(implicit writability: Writability[T]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe writable ^ -
def
willBe(readableWord: ReadableWord)(implicit readability: Readability[T]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe readable ^ -
def
willBe(sortedWord: SortedWord)(implicit sortable: Sortable[T]): Fact
This method enables the following syntax:
This method enables the following syntax:
all(xs) willBe sorted ^ -
def
willEqual(right: Null)(implicit ev: <:<[T, AnyRef]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
result willEqual null ^ -
def
willEqual(spread: Spread[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
result willEqual 7.1 +- 0.2 ^doCollected -
def
willEqual(right: Any)(implicit equality: Equality[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) willEqual 7 ^ -
def
willNot(includeWord: IncludeWord)(implicit ev: <:<[T, String]): ResultOfIncludeWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) willNot include regex ("wo.ld") ^ -
def
willNot(endWithWord: EndWithWord)(implicit ev: <:<[T, String]): ResultOfEndWithWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) willNot endWith regex ("wo.ld") ^ -
def
willNot(startWithWord: StartWithWord)(implicit ev: <:<[T, String]): ResultOfStartWithWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) willNot startWith regex ("Hel*o") ^ -
def
willNot(fullyMatchWord: FullyMatchWord)(implicit ev: <:<[T, String]): ResultOfFullyMatchWordForCollectedString
This method enables syntax such as the following:
This method enables syntax such as the following:
all(string) willNot fullyMatch regex ("""(-)?(\d+)(\.\d*)?""") ^ -
def
willNot(existWord: ExistWord)(implicit existence: Existence[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) willNot exist ^ -
def
willNot(containWord: ContainWord): FactResultOfContainWordForCollectedAny[T]
This method enables syntax such as the following:
This method enables syntax such as the following:
all (xs) willNot contain (oneOf (1, 2, 3)) ^ -
def
willNot(beWord: BeWord): ResultOfBeWordForCollectedAny[T]
This method enables the following syntax:
This method enables the following syntax:
all(xs) willNot be theSameInstanceAs anotherInstance ^ -
def
willNot[TYPECLASS1[_]](rightMatcherFactory1: MatcherFactory1[T, TYPECLASS1])(implicit typeClass1: TYPECLASS1[T]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) willNot (equal (3)) ^ -
def
willNot[U <: T](rightMatcherX1: Matcher[U]): Fact
This method enables syntax such as the following:
This method enables syntax such as the following:
all(xs) willNot (be (3)) ^