trait AnyBeHaveMatchers extends BeHaveMatchers
This trait allows to write expressions like
1 must be equalTo(1)
- Self Type
- AnyMatchers
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- AnyBeHaveMatchers
- BeHaveMatchers
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- class AnyBeHaveMatchers[T] extends AnyRef
- class AnyMatcherResult extends AnyRef
- class AnyRefMatcherResult[T <: AnyRef] extends AnyRef
- class AnyWithEmptyMatchers[T] extends AnyRef
- class BeLikeResultMatcher[T] extends AnyRef
- class ClassMatcherResult extends AnyRef
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
- def anInstanceOf[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- implicit def anyBeHaveMatcher[T](result: MatchResult[T]): AnyMatchers.AnyBeHaveMatchers[T]
- def anyOf[T](t: T*): Matcher[T]
- implicit def anyWithEmpty[T](result: MatchResult[T])(implicit arg0: (T) ⇒ Any { def isEmpty: Boolean }): AnyMatchers.AnyWithEmptyMatchers[T]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asNullAs[T](a: ⇒ T): Matcher[T]
- def assignableFrom[T](implicit arg0: ClassTag[T]): Matcher[Class[_]]
-
def
be: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def beLikeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def empty[T <: Any { def isEmpty: Boolean }]: Matcher[T]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[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()
-
def
have: NeutralMatcher[Any]
- Definition Classes
- BeHaveMatchers
- def interface[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def klass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
- def like[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
- def likeA[T](pattern: ⇒ PartialFunction[T, MatchResult[_]]): Matcher[T]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
not: NotMatcher[Any]
- Definition Classes
- BeHaveMatchers
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def oneOf[T](t: T*): Matcher[T]
- def superClass[T](implicit arg0: ClassTag[T]): Matcher[AnyRef]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- implicit def toAnyMatcherResult(result: MatchResult[AnyRef]): AnyMatchers.AnyMatcherResult
- implicit def toAnyRefMatcherResult[T <: AnyRef](result: MatchResult[T]): AnyMatchers.AnyRefMatcherResult[T]
- implicit def toBeLikeResultMatcher[T](result: MatchResult[T]): AnyMatchers.BeLikeResultMatcher[T]
- implicit def toClassMatcherResult(result: MatchResult[Class[_]]): AnyMatchers.ClassMatcherResult
-
def
toString(): String
- Definition Classes
- 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
- @throws( ... ) @native()