org.specs2.runner

JUnitDescriptionsFragments

class JUnitDescriptionsFragments extends JUnitDescriptions[Fragment]

Descriptions for a seq of Fragments to execute

Linear Supertypes
JUnitDescriptions[Fragment], JUnitDescriptionMaker[Fragment], ExecutionOrigin, Stacktraces, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JUnitDescriptionsFragments
  2. JUnitDescriptions
  3. JUnitDescriptionMaker
  4. ExecutionOrigin
  5. Stacktraces
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JUnitDescriptionsFragments(className: String)

Type Members

  1. type DescribedFragment = (Description, Fragment)

    Definition Classes
    JUnitDescriptionMaker

Value Members

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

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

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

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

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

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

    Definition Classes
    Any
  7. def asOneDescription(descriptionTree: Tree[(Description, Fragment)])(implicit args: Arguments = Arguments()): Description

    returns

    a Description with parent-child relationships to other Description objects from a Tree[Description]

    Definition Classes
    JUnitDescriptionMaker
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def createDescription(className: String, suiteName: String = "", testName: String = "", label: String = ""): Description

    returns

    a sanitized description

    Definition Classes
    JUnitDescriptionMaker
  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def foldAll(fs: Seq[Fragment])(implicit args: Arguments): DescriptionAndExamples[(Description, Fragment)]

    Definition Classes
    JUnitDescriptions
  14. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  16. implicit lazy val initial: (Description, Fragment)

    Definition Classes
    JUnitDescriptions
  17. def initialFragment(className: String): Text

    returns

    fragment that must be used as the root description if the specification is empty

    Definition Classes
    JUnitDescriptionsFragments → JUnitDescriptions
  18. def isExecutedFrom(name: String): Boolean

    This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse.

    This method is used to determine for example if the JUnit runner is executed from Maven or within Eclipse. In the first the test case names don't need to have the hashcode example.

    returns

    true if the this current piece of code contains name in its stacktrace.

    Definition Classes
    Stacktraces
  19. lazy val isExecutedFromAnIDE: Boolean

    return true if the current test is executed from an IDE

    return true if the current test is executed from an IDE

    Definition Classes
    ExecutionOrigin
  20. lazy val isExecutedFromEclipse: Boolean

    return true if the current test is executed with eclipse

    return true if the current test is executed with eclipse

    Definition Classes
    ExecutionOrigin
  21. lazy val isExecutedFromGradle: Boolean

    return true if the current test is executed with Gradle

    return true if the current test is executed with Gradle

    Definition Classes
    ExecutionOrigin
  22. lazy val isExecutedFromIntellij: Boolean

    return true if the current test is executed with Intellij

    return true if the current test is executed with Intellij

    Definition Classes
    ExecutionOrigin
  23. lazy val isExecutedFromMaven: Boolean

    return true if the current test is executed with Maven

    return true if the current test is executed with Maven

    Definition Classes
    ExecutionOrigin
  24. lazy val isExecutedFromSBT: Boolean

    return true if the current test is executed with sbt

    return true if the current test is executed with sbt

    Definition Classes
    ExecutionOrigin
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def mapper(className: String): (Fragment, Seq[(Description, Fragment)], Int) ⇒ Option[(Description, Fragment)]

    This function is used to map each node in a Tree[Fragment] to a pair of (Description, Fragment)

    This function is used to map each node in a Tree[Fragment] to a pair of (Description, Fragment)

    The Int argument is the numeric label of the current TreeNode being mapped. It is used to create a unique description of the example to executed which is required by JUnit

    Definition Classes
    JUnitDescriptionsFragments → JUnitDescriptionMaker
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  30. def parentPath(parentNodes: Seq[(Description, Fragment)]): Seq[String]

    returns

    a seq containing the path of an example without the root name

    Definition Classes
    JUnitDescriptionMaker
  31. lazy val specificationDescription: Description

    Definition Classes
    JUnitDescriptions
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def testName(s: String, parentNodes: Seq[String] = Seq()): String

    returns

    a test name with no newlines

    Definition Classes
    JUnitDescriptionMaker
  34. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from JUnitDescriptions[Fragment]

Inherited from JUnitDescriptionMaker[Fragment]

Inherited from ExecutionOrigin

Inherited from Stacktraces

Inherited from AnyRef

Inherited from Any

No Group