org

scalautils

package scalautils

Visibility
  1. Public
  2. All

Type Members

  1. class AToBEqualityConstraint [A, B] extends EqualityConstraint[A, B]

    An implementation of EqualityConstraint for two types A and B that requires an Equality[B] and a conversion function from A to B.

  2. trait AsAny extends AnyRef

    Trait containing an implicit conversion that adds an asAny method to anything, which returns the same object as type Any.

  3. class BToAEqualityConstraint [A, B] extends EqualityConstraint[A, B]

    An implementation of EqualityConstraint for two types A and B that requires an Equality[A] and a conversion function from B to A.

  4. class BasicEqualityConstraint [A, B] extends EqualityConstraint[A, B]

    An implementation of EqualityConstraint for two types A and B that requires an Equality[A] to which its areEqual method can delegate an equality comparison.

  5. class CheckingEqualizer [L] extends AnyRef

    Class used via an implicit conversion to enable two objects to be compared with === and !== with a Boolean result and an enforced type constraint between two object types.

  6. trait ConversionCheckedLegacyTripleEquals extends LowPriorityConversionCheckedConstraint

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require that either the types of the two values compared are in a subtype/supertype relationship, or that an implicit conversion is available that can convert from one type to the other.

  7. trait ConversionCheckedTripleEquals extends LowPriorityConversionCheckedConstraint

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require that either the types of the two values compared are in a subtype/supertype relationship, or that an implicit conversion is available that can convert from one type to the other.

  8. class DecidedByEquality [A] extends Equality[A]

    Defines a custom way to determine equality for a type.

  9. class DefaultEquality [A] extends Equality[A]

    A default Equality type class implementation (which can be used for any type) whose areEqual method compares the passed objects with ==, calling .deep first on any passed object that is an array.

  10. trait DefaultNormalizingEquality [A] extends Equality[A] with Normalization[A]

    An Equality implementation that determines the equality of two objects by normalizing both objects, if possible, and then comparing the results using default equality (as defined by the areEqual method of DefaultEquality).

  11. trait Equality [A] extends AnyRef

    Defines a custom way to determine equality for a type.

  12. class EqualityConstraint [A, B] extends AnyRef

    Abstract class used to enforce type constraints for equality checks.

  13. trait EqualityConstraints extends AnyRef

    Trait that defines abstract methods used to enforce compile-time type constraints for equality comparisons, and defines === and !== operators used by matchers.

  14. class Equalizer [L] extends AnyRef

    Class used via an implicit conversion to enable any two objects to be compared with === and !== with a Boolean result and no enforced type constraint between two object types.

  15. trait Explicitly extends AnyRef

    Provides decidedBy and whenBothAre syntax, which facilitates the explicit specification of Equality[T] and/or Normalization[T] where Equality[T] is taken implicitly.

  16. case class Interval [T] (pivot: T, tolerance: T, evidence$1: Numeric[T]) extends Product with Serializable

    Class representing an interval (i.e., range) between two numbers.

  17. class LegacyCheckingEqualizer [L] extends AnyRef

    Class used via an implicit conversion to enable any two objects to be compared with === and !== with an Option[String] result and an enforced type constraint between two object types.

  18. class LegacyEqualizer [L] extends AnyRef

    Class used via an implicit conversion to enable any two objects to be compared with === and !== with an Option[String] result and no enforced type constraint between two object types.

  19. trait LegacyTripleEquals extends EqualityConstraints

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require no relationship between the types of the two values compared.

  20. trait LowPriorityConversionCheckedConstraint extends EqualityConstraints

    Provides an implicit conversion that will be applied only if a higher-priority implicit conversion declared a subtrait is not applicable.

  21. trait LowPriorityTypeCheckedConstraint extends EqualityConstraints

    Provides an implicit conversion that will be applied only if a higher-priority implicit conversion declared a subtrait is not applicable.

  22. trait MapEqualityConstraints extends AnyRef

  23. trait Normalization [A] extends AnyRef

    Defines a custom way to normalize instances of a type.

  24. class NormalizingEquality [A] extends Equality[A]

    An Equality implementation that determines the equality of two objects by normalizing both objects, if possible, and then comparing the results using default equality (as defined by the areEqual method of DefaultEquality).

  25. trait SeqEqualityConstraints extends AnyRef

  26. trait SetEqualityConstraints extends AnyRef

  27. trait StringNormalizations extends AnyRef

    Provides methods that produce Normalization[String] instances for various ways to normalize strings.

  28. trait Tolerance extends AnyRef

    Trait containing an implicit conversion that adds a +- method to Numeric types, which enables intervals to be expressed in terms of a pivot and tolerance.

  29. trait TraversableEqualityConstraints extends SeqEqualityConstraints with SetEqualityConstraints with MapEqualityConstraints

  30. trait TripleEquals extends EqualityConstraints

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require no relationship between the types of the two values compared.

  31. case class TripleEqualsInvocation [T] (right: T, expectingEqual: Boolean) extends Product with Serializable

    Facilitates the “should ===” and “should !==” syntax of ScalaTest's matchers DSL.

  32. case class TripleEqualsInvocationOnInterval [T] (interval: Interval[T], expectingEqual: Boolean) extends Product with Serializable

    Facilitates the “should === (x += y)” and “should !== (x += y)” syntax of ScalaTest's matchers DSL.

  33. trait TypeCheckedLegacyTripleEquals extends LowPriorityTypeCheckedConstraint

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require the types of the two values compared to be in a subtype/supertype relationship.

  34. trait TypeCheckedTripleEquals extends LowPriorityTypeCheckedConstraint

    Provides === and !== operators that return Boolean, delegate the equality determination to an Equality type class, and require the types of the two values compared to be in a subtype/supertype relationship.

Value Members

  1. object AsAny extends AsAny

    Companion object to trait AsAny that facilitates the importing of AsAny members as an alternative to mixing it in.

  2. object ConversionCheckedLegacyTripleEquals extends ConversionCheckedLegacyTripleEquals

    Companion object to trait ConversionCheckedLegacyTripleEquals that facilitates the importing of ConversionCheckedLegacyTripleEquals members as an alternative to mixing it in.

  3. object ConversionCheckedTripleEquals extends ConversionCheckedTripleEquals

    Companion object to trait ConversionCheckedTripleEquals that facilitates the importing of ConversionCheckedTripleEquals members as an alternative to mixing it in.

  4. object Equality extends AnyRef

  5. object Explicitly extends Explicitly

    Companion object to trait AsAny that facilitates the importing of AsAny members as an alternative to mixing it in.

  6. object LegacyTripleEquals extends LegacyTripleEquals

    Companion object to trait LegacyTripleEquals that facilitates the importing of LegacyTripleEquals members as an alternative to mixing it in.

  7. object MapEqualityConstraints extends MapEqualityConstraints

  8. object SeqEqualityConstraints extends SeqEqualityConstraints

  9. object SetEqualityConstraints extends SetEqualityConstraints

  10. object StringNormalizations extends StringNormalizations

    Companion object to trait StringNormalizations that provides an alternative to mixing it in.

  11. object Tolerance extends Tolerance

    Companion object to trait Tolerance that facilitates the importing of Tolerance members as an alternative to mixing it in.

  12. object TraversableEqualityConstraints extends TraversableEqualityConstraints

  13. object TripleEquals extends TripleEquals

    Companion object to trait TripleEquals that facilitates the importing of TripleEquals members as an alternative to mixing it in.

  14. object TypeCheckedLegacyTripleEquals extends TypeCheckedLegacyTripleEquals

    Companion object to trait TypeCheckedLegacyTripleEquals that facilitates the importing of TypeCheckedLegacyTripleEquals members as an alternative to mixing it in.

  15. object TypeCheckedTripleEquals extends TypeCheckedTripleEquals

    Companion object to trait TypeCheckedTripleEquals that facilitates the importing of TypeCheckedTripleEquals members as an alternative to mixing it in.