org.specs2.specification.gen

When

abstract class When[P, T] extends specification.When[Gen[P], Gen[T]]

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

Linear Supertypes
specification.When[Gen[P], Gen[T]], RegexExtractor[Gen[P], Gen[T]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. When
  2. When
  3. RegexExtractor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new When(regex: String = "")

Abstract Value Members

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

Concrete 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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    WhenWhen
  9. def extract1(t: String): String

    Definition Classes
    RegexExtractor
  10. def extract10(t: String): (String, String, String, String, String, String, String, String, String, String)

    Definition Classes
    RegexExtractor
  11. def extract2(t: String): (String, String)

    Definition Classes
    RegexExtractor
  12. def extract3(t: String): (String, String, String)

    Definition Classes
    RegexExtractor
  13. def extract4(t: String): (String, String, String, String)

    Definition Classes
    RegexExtractor
  14. def extract5(t: String): (String, String, String, String, String)

    Definition Classes
    RegexExtractor
  15. def extract6(t: String): (String, String, String, String, String, String)

    Definition Classes
    RegexExtractor
  16. def extract7(t: String): (String, String, String, String, String, String, String)

    Definition Classes
    RegexExtractor
  17. def extract8(t: String): (String, String, String, String, String, String, String, String)

    Definition Classes
    RegexExtractor
  18. def extract9(t: String): (String, String, String, String, String, String, String, String, String)

    Definition Classes
    RegexExtractor
  19. def extractAll(t: String): List[String]

    Definition Classes
    RegexExtractor
  20. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  22. val groupRegex: String

    Definition Classes
    When
  23. def hashCode(): Int

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

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

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

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

    Definition Classes
    AnyRef
  28. val regex: String

    Definition Classes
    When
  29. def regexToUse: Regex

    Attributes
    protected
    Definition Classes
    RegexExtractor
  30. def strip(text: String): String

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

    Definition Classes
    AnyRef
  32. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withRegex(full: String, group: String): When.this.type

    Definition Classes
    RegexExtractor

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped