Packages

object Inspectors extends Inspectors

Companion object that facilitates the importing of Inspectors members as an alternative to mixing it in. One use case is to import Inspectors's members so you can use them in the Scala interpreter.

Source
Inspectors.scala
Linear Supertypes
Inspectors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Inspectors
  2. Inspectors
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def forAll[ASSERTION](xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that all characters in a given String pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that all characters in a given String pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forAll and forEvery is that forAll will stop on the first failure, while forEvery will continue to inspect all characters in the String after the first failure (and report all failures).

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  10. def forAll[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that all elements in a given java.util.Map pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that all elements in a given java.util.Map pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forAll and forEvery is that forAll will stop on the first failure, while forEvery will continue to inspect all java.util.Map elements after the first failure (and report all failures).

    K

    the type of key in the Java Map

    V

    the type of value in the Java Map

    JMAP

    subtype of java.util.Map

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  11. def forAll[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that all elements in a given scala.collection.GenMap pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that all elements in a given scala.collection.GenMap pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forAll and forEvery is that forAll will stop on the first failure, while forEvery will continue to inspect all scala.collection.GenMap entries after the first failure (and report all failures).

    K

    the type of key in the Map

    V

    the type of value in the Map

    MAP

    subtype of java.util.Map

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  12. def forAll[E, C[_], ASSERTION](xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that all elements in a given collection pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that all elements in a given collection pass the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forAll and forEvery is that forAll will stop on the first failure, while forEvery will continue to inspect all elements after the first failure (and report all failures).

    E

    the type of element in the collection

    C

    the type of collection

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  13. def forAtLeast[ASSERTION](min: Int, xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at least min number of characters in a given String pass the given inspection function.

    Ensure that at least min number of characters in a given String pass the given inspection function.

    min

    the minimum number of characters in String that must pass the inspection function

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  14. def forAtLeast[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](min: Int, xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at least min number of elements in a given java.util.Map pass the given inspection function.

    Ensure that at least min number of elements in a given java.util.Map pass the given inspection function.

    K

    the type of key in the java.util.Map

    V

    the type of value in the java.util.Map

    JMAP

    subtype of java.util.Map

    min

    the minimum number of elements that must pass the inspection function

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  15. def forAtLeast[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](min: Int, xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at least min number of elements in a given scala.collection.GenMap pass the given inspection function.

    Ensure that at least min number of elements in a given scala.collection.GenMap pass the given inspection function.

    K

    the type of key in the scala.collection.GenMap

    V

    the type of value in the scala.collection.GenMap

    MAP

    subtype of scala.collection.GenMap

    min

    the minimum number of elements that must pass the inspection function

    xs

    the scala.collection.GenMap

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  16. def forAtLeast[E, C[_], ASSERTION](min: Int, xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at least min number of elements of a given collection pass the given inspection function.

    Ensure that at least min number of elements of a given collection pass the given inspection function.

    E

    the type of element in the collection

    C

    the type of collection

    min

    the minimum number of elements that must pass the inspection function

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  17. def forAtMost[ASSERTION](max: Int, xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at most max number of characters in a given String pass the given inspection function.

    Ensure that at most max number of characters in a given String pass the given inspection function.

    max

    the maximum number of characters in String that must pass the inspection function

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  18. def forAtMost[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](max: Int, xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at most max number of elements in a given java.util.Map pass the given inspection function.

    Ensure that at most max number of elements in a given java.util.Map pass the given inspection function.

    K

    the type of key in the java.util.Map

    V

    the type of value in the java.util.Map

    JMAP

    subtype of java.util.Map

    max

    the maximum number of elements in the java.util.Map that must pass the inspection function

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  19. def forAtMost[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](max: Int, xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at most max number of elements in a given scala.collection.GenMap pass the given inspection function.

    Ensure that at most max number of elements in a given scala.collection.GenMap pass the given inspection function.

    K

    the type of key in the scala.collection.GenMap

    V

    the type of value in the scala.collection.GenMap

    MAP

    subtype of scala.collection.GenMap

    max

    the maximum number of elements in the scala.collection.GenMap that must pass the inspection function

    xs

    the scala.collection.GenMap

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  20. def forAtMost[E, C[_], ASSERTION](max: Int, xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that at most max number of elements of a given collection pass the given inspection function.

    Ensure that at most max number of elements of a given collection pass the given inspection function.

    E

    the type of element in the collection

    C

    the type of collection

    max

    the maximum number of elements that must pass the inspection function

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  21. def forBetween[ASSERTION](from: Int, upTo: Int, xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure the number of characters of a given String that pass the given inspection function is between from and upTo.

    Ensure the number of characters of a given String that pass the given inspection function is between from and upTo.

    from

    the minimum number of characters in the String that must pass the inspection number

    upTo

    the maximum number of characters in the String that must pass the inspection number

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  22. def forBetween[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](from: Int, upTo: Int, xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure the number of elements in a given java.util.Map that pass the given inspection function is between from and upTo.

    Ensure the number of elements in a given java.util.Map that pass the given inspection function is between from and upTo.

    K

    the type of key in the java.util.Map

    V

    the type of value in the java.util.Map

    JMAP

    subtype of java.util.Map

    from

    the minimum number of elements in the java.util.Map that must pass the inspection number

    upTo

    the maximum number of elements in the java.util.Map that must pass the inspection number

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  23. def forBetween[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](from: Int, upTo: Int, xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure the number of elements in a given scala.collection.GenMap that pass the given inspection function is between from and upTo.

    Ensure the number of elements in a given scala.collection.GenMap that pass the given inspection function is between from and upTo.

    K

    the type of key in the scala.collection.GenMap

    V

    the type of value in the scala.collection.GenMap

    MAP

    subtype of scala.collection.GenMap

    from

    the minimum number of elements in the scala.collection.GenMap that must pass the inspection number

    upTo

    the maximum number of elements in the scala.collection.GenMap that must pass the inspection number

    xs

    the scala.collection.GenMap

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  24. def forBetween[E, C[_], ASSERTION](from: Int, upTo: Int, xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure the number of elements of a given collection that pass the given inspection function is between from and upTo.

    Ensure the number of elements of a given collection that pass the given inspection function is between from and upTo.

    E

    the type of element in the collection

    C

    the type of collection

    from

    the minimum number of elements that must pass the inspection number

    upTo

    the maximum number of elements that must pass the inspection number

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  25. def forEvery[ASSERTION](xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that every character in a given String passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that every character in a given String passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forEvery and forAll is that forEvery will continue to inspect all characters in the String after first failure, and report all failures, whereas forAll will stop on (and only report) the first failure.

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  26. def forEvery[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that every element in a given java.util.Map passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that every element in a given java.util.Map passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forEvery and forAll is that forEvery will continue to inspect all elements in the java.util.Map after first failure, and report all failures, whereas forAll will stop on (and only report) the first failure.

    K

    the type of key in the java.util.Map

    V

    the type of value in the java.util.Map

    JMAP

    subtype of java.util.Map

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  27. def forEvery[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that every element in a given scala.collection.GenMap passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that every element in a given scala.collection.GenMap passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forEvery and forAll is that forEvery will continue to inspect all entries in the scala.collection.GenMap after first failure, and report all failures, whereas forAll will stop on (and only report) the first failure.

    K

    the type of key in the scala.collection.GenMap

    V

    the type of value in the scala.collection.GenMap

    MAP

    subtype of scala.collection.GenMap

    xs

    the scala.collection.GenMap

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  28. def forEvery[E, C[_], ASSERTION](xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that every element in a given collection passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    Ensure that every element in a given collection passes the given inspection function, where "pass" means returning normally from the function (i.e., without throwing an exception).

    The difference between forEvery and forAll is that forEvery will continue to inspect all elements after first failure, and report all failures, whereas forAll will stop on (and only report) the first failure.

    E

    the type of element in the collection

    C

    the type of collection

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  29. def forExactly[ASSERTION](succeededCount: Int, xs: String)(fun: (Char) => ASSERTION)(implicit collecting: Collecting[Char, String], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that exactly succeededCount number of characters in a given String pass the given inspection function.

    Ensure that exactly succeededCount number of characters in a given String pass the given inspection function.

    succeededCount

    the number of characters in the String that must pass the inspection function

    xs

    the String

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  30. def forExactly[K, V, JMAP[k, v] <: Map[k, v], ASSERTION](succeededCount: Int, xs: JMAP[K, V])(fun: (Entry[K, V]) => ASSERTION)(implicit collecting: Collecting[Entry[K, V], JMAP[K, V]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that exactly succeededCount number of elements in a given java.util.Map pass the given inspection function.

    Ensure that exactly succeededCount number of elements in a given java.util.Map pass the given inspection function.

    K

    the type of key in the java.util.Map

    V

    the type of value in the java.util.Map

    JMAP

    subtype of java.util.Map

    succeededCount

    the number of elements in the java.util.Map that must pass the inspection function

    xs

    the java.util.Map

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  31. def forExactly[K, V, MAP[k, v] <: GenMap[k, v], ASSERTION](succeededCount: Int, xs: MAP[K, V])(fun: ((K, V)) => ASSERTION)(implicit collecting: Collecting[(K, V), GenTraversable[(K, V)]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that exactly succeededCount number of elements in a given scala.collection.GenMap pass the given inspection function.

    Ensure that exactly succeededCount number of elements in a given scala.collection.GenMap pass the given inspection function.

    K

    the type of key in the scala.collection.GenMap

    V

    the type of value in the scala.collection.GenMap

    MAP

    subtype of scala.collection.GenMap

    succeededCount

    the number of entries in the scala.collection.GenMap that must pass the inspection function

    xs

    the scala.collection.GenMap

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  32. def forExactly[E, C[_], ASSERTION](succeededCount: Int, xs: C[E])(fun: (E) => ASSERTION)(implicit collecting: Collecting[E, C[E]], asserting: InspectorAsserting[ASSERTION], prettifier: Prettifier, pos: Position): Result

    Ensure that exactly succeededCount number of elements of a given collection pass the given inspection function.

    Ensure that exactly succeededCount number of elements of a given collection pass the given inspection function.

    E

    the type of element in the collection

    C

    the type of collection

    succeededCount

    the number of elements that must pass the inspection function

    xs

    the collection of elements

    fun

    the inspection function

    collecting

    the implicit Collecting that can transform xs into a scala.collection.GenTraversable

    Definition Classes
    Inspectors
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Inspectors

Inherited from AnyRef

Inherited from Any

Ungrouped