object CoderAssertions
- Source
- CoderAssertions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CoderAssertions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class AssertionContext[T](actualValue: Option[T], coder: Coder[T], lastAssertion: Option[Assertion] = None, opts: PipelineOptions = DefaultPipelineOptions) extends AssertionContextBase with Product with Serializable
- trait AssertionContextBase extends AnyRef
- type CoderAssertion[T] = (AssertionContext[T]) => Assertion
- type CoderAssertionBase = (AssertionContextBase) => Assertion
- implicit class CoderShouldSyntax[T] extends AnyRef
- trait CustomOptionsSyntax[T] extends AnyRef
- implicit class ValueShouldSyntax[T] extends AnyRef
- case class WithOptions(opts: PipelineOptions) extends Product with Serializable
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 beConsistentWithEquals(): CoderAssertionBase
- def beDeterministic(): CoderAssertionBase
- def beFullyCompliant[T <: AnyRef]()(implicit arg0: ClassTag[T]): CoderAssertion[T]
Passes all checks on Beam coder
- def beFullyCompliantNonDeterministic[T <: AnyRef]()(implicit arg0: ClassTag[T]): CoderAssertion[T]
- def beFullyCompliantNotConsistentWithEquals[T <: AnyRef]()(implicit arg0: ClassTag[T]): CoderAssertion[T]
- def beNonDeterministic(): CoderAssertionBase
- def beNotConsistentWithEquals(): CoderAssertionBase
- def beOfType[ExpectedCoder](implicit arg0: ClassTag[ExpectedCoder]): CoderAssertionBase
- def beSerializable(): CoderAssertionBase
- def bytesCountTested[T <: AnyRef]()(implicit arg0: ClassTag[T]): CoderAssertion[T]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coderIsSerializable[A](implicit c: Coder[A]): Assertion
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fallback[T]()(implicit arg0: ClassTag[T], arg1: Equality[T]): CoderAssertion[T]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def haveCoderInstance(expectedCoder: Coder[_]): CoderAssertionBase
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def materializeTo[ExpectedBeamCoder](implicit arg0: ClassTag[ExpectedBeamCoder]): CoderAssertionBase
- def materializeToTransformOf[ExpectedBeamCoder](implicit arg0: ClassTag[ExpectedBeamCoder]): CoderAssertionBase
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def notFallback[T]()(implicit arg0: ClassTag[T], arg1: Equality[T]): CoderAssertion[T]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def roundtrip[T]()(implicit arg0: Equality[T]): CoderAssertion[T]
- def roundtripToBytes[T](expectedBytes: Array[Byte])(implicit arg0: Equality[T]): CoderAssertion[T]
- def structuralValueConsistentWithEquals(): CoderAssertionBase
Verifies that for the given coder and values, the structural values are equal if and only if the encoded bytes are equal.
Verifies that for the given coder and values, the structural values are equal if and only if the encoded bytes are equal. Verifies for Outer and Nested contexts
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()