trait TestAssertions extends AnyRef
Provides versions of assertions from _ZIO Test_ that use Equal, Ord, and
Validation.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestAssertions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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 assertionRec[A, B](name: String)(assertion: test.Assertion[B])(get: (⇒ A) ⇒ Option[B]): test.Assertion[A]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equalTo[A](expected: A)(implicit arg0: Equal[A]): test.Assertion[A]
Makes a new assertion that requires a value equal the specified value.
-
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
isFailureV[E](assertion: test.Assertion[NonEmptyChunk[E]]): test.Assertion[ZValidation[Any, E, Any]]
Makes a new assertion that requires a validation failure satisfying a specified assertion.
-
def
isGreaterThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]
Makes a new assertion that requires the value be greater than the specified reference value.
-
def
isGreaterThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]
Makes a new assertion that requires the value be greater than or equal to the specified reference value.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isLessThan[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]
Makes a new assertion that requires the value be less than the specified reference value.
-
def
isLessThanEqualTo[A](reference: A)(implicit ord: PartialOrd[A]): test.Assertion[A]
Makes a new assertion that requires the value be less than or equal to the specified reference value.
-
def
isSuccessV[A](assertion: test.Assertion[A]): test.Assertion[ZValidation[Any, Any, A]]
Makes a new assertion that requires a validation failure satisfying a specified assertion.
-
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
- 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()