org.specs2.text
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LineComparisonclass Objecttrait Matchableclass AnyShow all
return all the differences
return all the differences
Attributes
- Supertypes
- Self type
-
AllDifferences.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass AnyValtrait Matchableclass AnyShow all
This trait provides AnsiColors codes for the OutputReporter
This trait provides AnsiColors codes for the OutputReporter
Attributes
- See also
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
AnsiColors.type
This trait defines the colors which can be used to output text on the console
This trait defines the colors which can be used to output text on the console
The textColor ... statsColor define the AnsiColor to use The text ... stats methods taking a String as a parameter are inserting control characters to change the string color
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
This class defines the colors to use to print out text on the Console with defaults as AnsiColors for a dark background console
This class defines the colors to use to print out text on the Console with defaults as AnsiColors for a dark background console
Attributes
- Supertypes
- Known subtypes
-
class InvertedColorsclass MappedColors
This trait represents the difference between 2 "contents"
This trait represents the difference between 2 "contents"
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class LinesContentDifference
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LineComparisonclass Objecttrait Matchableclass AnyShow all
This object help shortening strings between differences when the strings are too long
This object help shortening strings between differences when the strings are too long
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
- Self type
-
DiffShortener.type
A trait to filter results of a difference check
A trait to filter results of a difference check
Attributes
- Supertypes
- Known subtypes
This trait provides some syntactic sugar to create a DifferenceFilter to take only the first n differences:
This trait provides some syntactic sugar to create a DifferenceFilter to take only the first n differences:
10.differences == FirstNDifferencesFilter(10)
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait NoDifferenceFilters
return all only changes + some context
return all only changes + some context
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DifferenceFilterclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LineComparisonclass Objecttrait Matchableclass AnyShow all
return the first n differences
return the first n differences
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass SomeDifferencestrait DifferenceFilterclass Objecttrait Matchableclass AnyShow all
This typeclass is used to describe any instance which can be decoded from a String.
This typeclass is used to describe any instance which can be decoded from a String.
It can be used to pass string properties in SystemProperties and decode them in a specific way
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object given_FromString_Boolean.typeobject given_FromString_Int.typeobject given_FromString_String.type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FromString.type
various functions for working out indentation
various functions for working out indentation
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Indent.type
This color scheme can be used with a white background
This color scheme can be used with a white background
Attributes
- Supertypes
case classes for the representation of lines which are different: not found, missing, misplaced
case classes for the representation of lines which are different: not found, missing, misplaced
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
LineComparison.type
Any type T with a name and representable as a sequence of Strings
Any type T with a name and representable as a sequence of Strings
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object FileLinesContent.type
This class shows the differences between 2 sequences of lines.
This class shows the differences between 2 sequences of lines.
- if all is false we expect possibly more lines in lines2
- if ordered is false we expect the lines of lines1 to appear in any order in lines2
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ContentDifferenceclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
This class takes colors from a map, using default colors if some values are missing
This class takes colors from a map, using default colors if some values are missing
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass ConsoleColorstrait Colorstrait AnsiColorsclass Objecttrait Matchableclass AnyShow all
- Self type
Factory method to create MappedColors 'colors' attribute
Factory method to create MappedColors 'colors' attribute
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MappedColors.type
mix-in this trait to remove the implicit provided by the DifferenceFilters trait
mix-in this trait to remove the implicit provided by the DifferenceFilters trait
Attributes
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
NumberedLine.type
A Regular expression step which takes a text and extracts meaningful values according to a regular expression:
A Regular expression step which takes a text and extracts meaningful values according to a regular expression:
- either a user-defined expression for the full text to extract: e.g. "Given the following number: (.*)"
- or a default regex for groups capturing value delimited with
${}
It provides methods to extract either all the groups as a list, or a number of values as a tuple
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RegexExtractor.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LineComparisonclass Objecttrait Matchableclass AnyShow all
This does some simple replacements in sentences to negate them.
Default implementation for reading lines out of a Seq
Default implementation for reading lines out of a Seq
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ShowText.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ShowTextGenerator.type
return some of the differences, filtered with a function
return some of the differences, filtered with a function
Attributes
- Supertypes
- Known subtypes
-
object AllDifferences.typeclass FirstDifferences
The EditDistance trait provides methods to compute and display the shortest distance between 2 strings.
The EditDistance trait provides methods to compute and display the shortest distance between 2 strings.
Usage:
showDistance("kitten", "sitting") // returns ("(k)itt(e)n", "(s)itt(i)n(g)") // with different separators showDistance("kitten", "sitting", "[]") // returns ("[k]itt[e]n", "[s]itt[i]n[g]")
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object StringEditDistance.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
StringEditDistance.type
Textual representation of a table with a table and some lines.
Textual representation of a table with a table and some lines.
It is expected that the size of the header and all the lines are the same.
The main purpose of this class is to:
- display equal-length cells on each column
- allow line breaks in cells for each line
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Whitespace.type