org.specs2.specification.gen

When

class When [P, T] extends When[Gen[P], Gen[T]]

Create a context from a previous context by adding more generated data

Attributes
abstract
Linear Supertypes
When[Gen[P], Gen[T]], RegexStep[Gen[P], Gen[T]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. When
  2. When
  3. RegexStep
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new When (regex: String)

Abstract Value Members

  1. def extract (p: P, text: String): Gen[T]

    Attributes
    abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  9. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def extract (pg: Gen[P], text: String): Gen[T]

    Definition Classes
    When → When
  11. def extract1 (t: String): String

    extract the value contained in the first group

    extract the value contained in the first group

    Definition Classes
    RegexStep
  12. def extract10 (t: String): (String, String, String, String, String, String, String, String, String, String)

    Definition Classes
    RegexStep
  13. def extract2 (t: String): (String, String)

    Definition Classes
    RegexStep
  14. def extract3 (t: String): (String, String, String)

    Definition Classes
    RegexStep
  15. def extract4 (t: String): (String, String, String, String)

    Definition Classes
    RegexStep
  16. def extract5 (t: String): (String, String, String, String, String)

    Definition Classes
    RegexStep
  17. def extract6 (t: String): (String, String, String, String, String, String)

    Definition Classes
    RegexStep
  18. def extract7 (t: String): (String, String, String, String, String, String, String)

    Definition Classes
    RegexStep
  19. def extract8 (t: String): (String, String, String, String, String, String, String, String)

    Definition Classes
    RegexStep
  20. def extract9 (t: String): (String, String, String, String, String, String, String, String, String)

    Definition Classes
    RegexStep
  21. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  23. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  24. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  25. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  28. lazy val regexToUse : Regex

    regex to use for a step with a partial function

    regex to use for a step with a partial function

    Attributes
    protected
    Definition Classes
    RegexStep
  29. def strip (f: Fragment): Fragment

    remove value markers ${} from a Text fragment

    remove value markers ${} from a Text fragment

    Definition Classes
    RegexStep
  30. def strip (text: String): String

    remove value markers ${} from the text

    remove value markers ${} from the text

    Definition Classes
    RegexStep
  31. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  32. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from When[Gen[P], Gen[T]]

Inherited from RegexStep[Gen[P], Gen[T]]

Inherited from AnyRef

Inherited from Any