org.specs2

text

package text

Visibility
  1. Public
  2. All

Type Members

  1. trait AnsiColors extends AnyRef

    This trait provides AnsiColors codes for the OutputReporter

  2. case class CodeMarkup(text: String) extends MarkupString with Product with Serializable

  3. trait Colors extends AnyRef

    This trait defines the colors which must be used to output text on the console

  4. class ColorsFromSystemProperties extends ConsoleColors with ColorsMap

  5. trait ColorsMap extends AnyRef

    Definition of abbreviated color names

  6. class ConsoleColors extends AnsiColors with Colors

    This class defines the colors to use to print out text on the Console with defaults as AnsiColors for a dark background console

  7. trait ContentDifference extends AnyRef

    This trait represents the difference between 2 "contents"

  8. trait DifferenceFilter extends ((Seq[_], Seq[_])) ⇒ (Seq[_], Seq[_])

    A trait to filter results of a difference check

  9. trait DifferenceFilters extends AnyRef

    This trait provides some syntactic sugar to create a DifferenceFilter to take only the first n differences:

  10. sealed trait DifferentLine extends AnyRef

    case classes for the representation of lines which are different: not found, missing, misplaced

  11. case class EmptyMarkup() extends MarkupString with Product with Serializable

  12. case class FirstDifferences(n: Int) extends SomeDifferences with Product with Serializable

    return the first n differences

  13. trait FromString[T] extends AnyRef

    This typeclass is used to describe any instance which can be decoded from a String

  14. class Interpolated extends InterpolatedParsers

    this class extracts interpolated expressions from an interpolated string, given the string content and the text pieces in between the interpolated expressions

  15. trait InterpolatedParsers extends JavaTokenParsers

  16. class InvertedColors extends ConsoleColors

    This color scheme can be used with a white background

  17. trait LinesContent[L1] extends AnyRef

    Any type T with a name and representable as a sequence of Strings

  18. case class LinesContentDifference(lines1: Seq[String], lines2: Seq[String], partial: Boolean = false, unordered: Boolean = false, reportMisplaced: Boolean = false) extends ContentDifference with Product with Serializable

    This class shows the differences between 2 sequence of lines.

  19. trait MarkupString extends AnyRef

    Abstraction of some text which may, or may not support a Markup syntax.

  20. case class MisplacedLine(line: String, lineNumber: Int) extends DifferentLine with Product with Serializable

  21. case class MissingLine(line: String, lineNumber: Int) extends DifferentLine with Product with Serializable

  22. trait NoDifferenceFilters extends DifferenceFilters

    mix-in this trait to remove the implicit provided by the DifferenceFilters trait

  23. case class NoMarkup(text: String) extends MarkupString with Product with Serializable

  24. case class NotFoundLine(line: String, lineNumber: Int) extends DifferentLine with Product with Serializable

  25. abstract class RegexExtractor[P, T] extends AnyRef

    A Regular expression step which takes a text and extracts meaningful values according to a regular expression:

  26. trait Sentences extends AnyRef

    This does some simple replacements in sentences to negate them.

  27. case class SeqLinesContent[A]() extends LinesContent[Seq[A]] with Product with Serializable

    Default implementation for reading lines out of a Seq

  28. class SmartColors extends ConsoleColors with ColorsMap with SystemProperties

    This class checks if colors must be taken from system properties

  29. class SomeDifferences extends DifferenceFilter

    return some of the differences, filtered with a function

  30. case class TextTable(header: Seq[String], lines: Seq[Seq[String]], separator: String = "|") extends Product with Serializable

    Textual representation of a table with a table and some lines.

Value Members

  1. object AllDifferences extends SomeDifferences

    return all the differences

  2. object AnsiColors extends AnsiColors

  3. object FromString

  4. object InterpolatedParsers extends InterpolatedParsers

  5. object RegexExtractor

  6. object Sentences extends Sentences

  7. object TextTable extends Serializable

Ungrouped