case class HamcrestMatcherAdapter[T](m: Matcher[T]) extends BaseMatcher[T] with Product with Serializable
Adapter class to use specs2 matchers as Hamcrest matchers
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HamcrestMatcherAdapter
- Serializable
- Serializable
- Product
- Equals
- BaseMatcher
- Matcher
- SelfDescribing
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HamcrestMatcherAdapter(m: Matcher[T])
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() @HotSpotIntrinsicCandidate() @throws( ... )
-
def
describeMismatch(arg0: Any, arg1: Description): Unit
- Definition Classes
- BaseMatcher → Matcher
-
def
describeTo(description: Description): Unit
- Definition Classes
- HamcrestMatcherAdapter → SelfDescribing
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val m: Matcher[T]
-
def
matches(item: AnyRef): Boolean
- Definition Classes
- HamcrestMatcherAdapter → Matcher
-
def
matchesSafely(item: T): Boolean
this method used to be called when extending TypeSafeMatcher.
this method used to be called when extending TypeSafeMatcher. However the final
matchesmethod was bypassing 'null' values -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- BaseMatcher → AnyRef → Any
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
final
def
_dont_implement_Matcher___instead_extend_BaseMatcher_(): Unit
- Definition Classes
- BaseMatcher → Matcher
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
- Deprecated
(Since version ) see corresponding Javadoc for more information.