Object/Trait

org.scalatest.enablers

Containing

Related Docs: trait Containing | package enablers

Permalink

object Containing extends ContainingHighPriorityImplicits

Companion object for Containing that provides implicit implementations for the following types:

Source
Containing.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Containing
  2. ContainingHighPriorityImplicits
  3. ContainingStandardImplicits
  4. JavaContainingImplicits
  5. ContainingImpls
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. implicit def containingNatureOfArray[E](implicit equality: Equality[E]): Containing[Array[E]]

    Permalink

    Implicit to support Containing nature of Array.

    Implicit to support Containing nature of Array.

    E

    the type of the element in the Array

    equality

    Equality type class that is used to check equality of element in the Array

    returns

    Containing[Array[E]] that supports Array in relevant contain syntax

    Definition Classes
    ContainingStandardImplicits
  7. implicit def containingNatureOfEvery[E](implicit equality: Equality[E]): Containing[Every[E]]

    Permalink

    Implicit to support Containing nature of Every.

    Implicit to support Containing nature of Every.

    E

    the type of the element in the Every

    equality

    Equality type class that is used to check equality of element in the Every

    returns

    Containing[Every[E]] that supports Every in relevant contain syntax

    Definition Classes
    ContainingStandardImplicits
  8. implicit def containingNatureOfGenTraversable[E, TRAV[e] <: GenTraversable[e]](implicit equality: Equality[E]): Containing[TRAV[E]]

    Permalink

    Implicit to support Containing nature of GenTraversable.

    Implicit to support Containing nature of GenTraversable.

    E

    the type of the element in the GenTraversable

    TRAV

    any subtype of GenTraversable

    equality

    Equality type class that is used to check equality of element in the GenTraversable

    returns

    Containing[TRAV[E]] that supports GenTraversable in relevant contain syntax

    Definition Classes
    ContainingStandardImplicits
  9. implicit def containingNatureOfJavaCollection[E, JCOL[e] <: Collection[e]](implicit equality: Equality[E]): Containing[JCOL[E]]

    Permalink

    Implicit to support Containing nature of java.util.Collection.

    Implicit to support Containing nature of java.util.Collection.

    E

    the type of the element in the java.util.Collection

    JCOL

    any subtype of java.util.Collection

    equality

    Equality type class that is used to check equality of element in the java.util.Collection

    returns

    Containing[JCOL[E]] that supports java.util.Collection in relevant contain syntax

    Definition Classes
    JavaContainingImplicits
  10. implicit def containingNatureOfJavaMap[K, V, JMAP[k, v] <: Map[k, v]](implicit equality: Equality[java.util.Map.Entry[K, V]]): Containing[JMAP[K, V]]

    Permalink

    Implicit to support Containing nature of java.util.Map.

    Implicit to support Containing nature of java.util.Map.

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    equality

    Equality type class that is used to check equality of entry in the java.util.Map

    returns

    Containing[JMAP[K, V]] that supports java.util.Map in relevant contain syntax

    Definition Classes
    JavaContainingImplicits
  11. implicit def containingNatureOfMap[K, V, MAP[k, v] <: GenMap[k, v]](implicit equality: Equality[(K, V)]): Containing[MAP[K, V]]

    Permalink

    Implicit to support Containing nature of scala.collection.GenMap.

    Implicit to support Containing nature of scala.collection.GenMap.

    K

    the type of the key in the scala.collection.GenMap

    V

    the type of the value in the scala.collection.GenMap

    MAP

    any subtype of scala.collection.GenMap

    equality

    Equality type class that is used to check equality of entry in the scala.collection.GenMap

    returns

    Containing[MAP[K, V]] that supports scala.collection.GenMap in relevant contain syntax

    Definition Classes
    ContainingHighPriorityImplicits
  12. implicit def containingNatureOfOption[E, OPT[e] <: Option[e]](implicit equality: Equality[E]): Containing[OPT[E]]

    Permalink

    Implicit to support Containing nature of scala.Option.

    Implicit to support Containing nature of scala.Option.

    E

    the type of the element in the scala.Option

    OPT

    any subtype of scala.Option

    equality

    Equality type class that is used to check equality of element in the Option

    returns

    Containing[OPT[E]] that supports scala.Option in relevant contain syntax

    Definition Classes
    ContainingStandardImplicits
  13. implicit def containingNatureOfString(implicit equality: Equality[Char]): Containing[String]

    Permalink

    Implicit to support Containing nature of String.

    Implicit to support Containing nature of String.

    equality

    Equality type class that is used to check equality of Char in the String

    returns

    Containing[String] that supports String in relevant contain syntax

    Definition Classes
    ContainingStandardImplicits
  14. implicit def convertEqualityToArrayContaining[E](equality: Equality[E]): Containing[Array[E]]

    Permalink

    Implicit conversion that converts an Equality of type E into Containing of type Array[E].

    Implicit conversion that converts an Equality of type E into Containing of type Array[E]. This is required to support the explicit Equality syntax, for example:

    (Array("hi") should contain oneOf ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Containing[Array[String]].

    E

    type of elements in the Array

    equality

    Equality of type E

    returns

    Containing of type Array[E]

    Definition Classes
    ContainingStandardImplicits
  15. implicit def convertEqualityToEveryContaining[E](equality: Equality[E]): Containing[Every[E]]

    Permalink

    Implicit conversion that converts an Equality of type E into Containing of type Every[E].

    Implicit conversion that converts an Equality of type E into Containing of type Every[E]. This is required to support the explicit Equality syntax, for example:

    (Every("hi", "he", "ho") should contain oneOf ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Containing[Every[String]].

    E

    type of elements in the Every

    equality

    Equality of type E

    returns

    Containing of type Every[E]

    Definition Classes
    ContainingStandardImplicits
  16. implicit def convertEqualityToGenTraversableContaining[E, TRAV[e] <: GenTraversable[e]](equality: Equality[E]): Containing[TRAV[E]]

    Permalink

    Implicit conversion that converts an Equality of type E into Containing of type TRAV[E], where TRAV is a subtype of GenTraversable.

    Implicit conversion that converts an Equality of type E into Containing of type TRAV[E], where TRAV is a subtype of GenTraversable. This is required to support the explicit Equality syntax, for example:

    (List("hi") should contain oneOf ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Containing[List[String]].

    E

    type of elements in the GenTraversable

    TRAV

    subtype of GenTraversable

    equality

    Equality of type E

    returns

    Containing of type TRAV[E]

    Definition Classes
    ContainingStandardImplicits
  17. implicit def convertEqualityToJavaCollectionContaining[E, JCOL[e] <: Collection[e]](equality: Equality[E]): Containing[JCOL[E]]

    Permalink

    Implicit conversion that converts an Equality of type E into Containing of type JCOL[E], where JCOL is a subtype of java.util.Collection.

    Implicit conversion that converts an Equality of type E into Containing of type JCOL[E], where JCOL is a subtype of java.util.Collection. This is required to support the explicit Equality syntax, for example:

    val javaList = new java.util.ArrayList[String]()
    javaList.add("hi")
    (javaList should contain oneOf ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Containing[java.util.ArrayList[String]].

    E

    type of elements in the java.util.Collection

    JCOL

    subtype of java.util.Collection

    equality

    Equality of type E

    returns

    Containing of type JCOL[E]

    Definition Classes
    JavaContainingImplicits
  18. implicit def convertEqualityToJavaMapContaining[K, V, JMAP[k, v] <: Map[k, v]](equality: Equality[java.util.Map.Entry[K, V]]): Containing[JMAP[K, V]]

    Permalink

    Implicit conversion that converts an Equality of type java.util.Map.Entry[K, V] into Containing of type JMAP[K, V], where JMAP is a subtype of java.util.Map.

    Implicit conversion that converts an Equality of type java.util.Map.Entry[K, V] into Containing of type JMAP[K, V], where JMAP is a subtype of java.util.Map. This is required to support the explicit Equality syntax, for example:

    val javaMap = new java.util.HashMap[Int, String]()
    javaMap.put(1, "one")
    // lowerCased needs to be implemented as Normalization[java.util.Map.Entry[K, V]]
    (javaMap should contain (Entry(1, "ONE"))) (after being lowerCased)
    

    (after being lowerCased) will returns an java.util.Map.Entry[Int, String] and this implicit conversion will convert it into Containing[java.util.HashMap[Int, String]].

    K

    the type of the key in the java.util.Map

    V

    the type of the value in the java.util.Map

    JMAP

    any subtype of java.util.Map

    equality

    Equality of type java.util.Map.Entry[K, V]

    returns

    Containing of type JMAP[K, V]

    Definition Classes
    JavaContainingImplicits
  19. implicit def convertEqualityToMapContaining[K, V, MAP[k, v] <: GenMap[k, v]](equality: Equality[(K, V)]): Containing[MAP[K, V]]

    Permalink

    Implicit conversion that converts an Equality of type Tuple2[K, V] into Containing of type MAP[K, V], where MAP is a subtype of scala.collection.GenMap.

    Implicit conversion that converts an Equality of type Tuple2[K, V] into Containing of type MAP[K, V], where MAP is a subtype of scala.collection.GenMap. This is required to support the explicit Equality syntax, for example:

    val map = Map(1 -> "one")
    // lowerCased needs to be implemented as Normalization[Tuple2[K, V]]
    (map should contain ((1, "ONE"))) (after being lowerCased)
    

    (after being lowerCased) will returns an Tuple2[Int, String] and this implicit conversion will convert it into Containing[scala.collection.GenMap[Int, String]].

    K

    the type of the key in the scala.collection.GenMap

    V

    the type of the value in the scala.collection.GenMap

    MAP

    any subtype of scala.collection.GenMap

    equality

    Equality of type Tuple2[K, V]

    returns

    Containing of type MAP[K, V]

    Definition Classes
    ContainingHighPriorityImplicits
  20. implicit def convertEqualityToOptionContaining[E, OPT[e] <: Option[e]](equality: Equality[E]): Containing[OPT[E]]

    Permalink

    Implicit conversion that converts an Equality of type E into Containing of type OPT[E], where OPT is a subtype of scala.Option.

    Implicit conversion that converts an Equality of type E into Containing of type OPT[E], where OPT is a subtype of scala.Option. This is required to support the explicit Equality syntax, for example:

    (Some("hi") should contain oneOf ("HI")) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[String] and this implicit conversion will convert it into Containing[Some[String]].

    E

    type of elements in the scala.Option

    OPT

    subtype of scala.Option

    equality

    Equality of type E

    returns

    Containing of type OPT[E]

    Definition Classes
    ContainingStandardImplicits
  21. implicit def convertEqualityToStringContaining(equality: Equality[Char]): Containing[String]

    Permalink

    Implicit conversion that converts an Equality of type Char into Containing of type String.

    Implicit conversion that converts an Equality of type Char into Containing of type String. This is required to support the explicit Equality syntax, for example:

    // lowerCased needs to be implemented as Normalization[Char]
    ("hi hello" should contain oneOf ('E')) (after being lowerCased)
    

    (after being lowerCased) will returns an Equality[Char] and this implicit conversion will convert it into Containing[String].

    equality

    Equality of type Char

    returns

    Containing of type String

    Definition Classes
    ContainingStandardImplicits
  22. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JavaContainingImplicits

Inherited from ContainingImpls

Inherited from AnyRef

Inherited from Any

Ungrouped