Explicitly

org.scalactic.Explicitly
See theExplicitly companion trait
object Explicitly extends Explicitly

Companion object for Explicitly, which enables the Scalactic explicitly DSL to be imported rather than mixed in, like this:

import org.scalactic._
import Explicitly._

// Use the explicitly DSL...

Attributes

Companion
trait
Source
Explicitly.scala
Graph
Supertypes
trait Explicitly
class Object
trait Matchable
class Any
Self type
Explicitly.type

Members list

Type members

Inherited classlikes

class DecidedByEquality[A](equality: Equality[A]) extends Equality[A]

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Instances of this class are returned via the decided by <an Equality> syntax, and enables afterBeing to be invoked on it. Here's an example, given an Equality[String] named myStringEquality:

result should equal ("hello") (decided by myStringEquality afterBeing lowerCased)

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala
Supertypes
trait Equality[A]
trait Equivalence[A]
class Object
trait Matchable
class Any
class DecidedWord

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala
Supertypes
class Object
trait Matchable
class Any
class DeterminedByEquivalence[T](equivalence: Equivalence[T]) extends Equivalence[T]

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Instances of this class are returned via the decided by <an Equivalence> syntax, and enables afterBeing to be invoked on it. Here's an example, given an Equivalence[String] named myStringEquivalence:

result should equal ("hello") (determined by myStringEquivalence afterBeing lowerCased)

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala
Supertypes
trait Equivalence[T]
class Object
trait Matchable
class Any

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala
Supertypes
class Object
trait Matchable
class Any
class TheAfterWord

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

This class is part of the Scalactic “explicitly DSL”. Please see the documentation for Explicitly for an overview of the explicitly DSL.

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited fields

This field enables syntax such as the following:

This field enables syntax such as the following:

result should equal ("hello") (after being lowerCased)
                              ^

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala

This field enables syntax such as the following:

This field enables syntax such as the following:

result should equal ("hello") (decided by defaultEquality)
                              ^

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala

This field enables syntax such as the following, given an Equivalence[String] named myStringEquivalence:

This field enables syntax such as the following, given an Equivalence[String] named myStringEquivalence:

result should equal ("hello") (determined by myStringEquivalence)
                              ^

Attributes

Inherited from:
Explicitly
Source
Explicitly.scala