org.specs2.matcher
Members list
Type members
Classlikes
The ContentMatchers trait provides matchers to make comparisons between files, sequences,...
The ContentMatchers trait provides matchers to make comparisons between files, sequences,...
Attributes
- Companion
- object
- Supertypes
-
trait FilesContentMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait FileMatcherstrait PathMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object ContentMatchers.type
Attributes
- Companion
- trait
- Supertypes
-
trait ContentMatcherstrait FilesContentMatcherstrait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait FileMatcherstrait PathMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Self type
-
ContentMatchers.type
Matcher for equalIgnoreSpace comparison, ignoring the nodes order
Matcher for equalIgnoreSpace comparison, ignoring the nodes order
Attributes
- Supertypes
Matcher for equalIgnoreSpace comparison, considering the node order
Matcher for equalIgnoreSpace comparison, considering the node order
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[TypecheckResult]class Objecttrait Matchableclass AnyShow all
The FileMatchers trait provides matchers which are applicable to files
The FileMatchers trait provides matchers which are applicable to files
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object FileMatchers.typetrait FilesContentMatcherstrait ContentMatchersobject ContentMatchers.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
FileMatchers.type
This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files
This trait provides matchers to check the presence of some expected files vs the actual ones and also ways to verify the contents of these files
Attributes
- Supertypes
-
trait TraversableMatcherstrait NumberOfTimestrait ValueChecksLowImplicitstrait TraversableBaseMatcherstrait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFilterstrait FileMatcherstrait PathMatchersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ContentMatchersobject ContentMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Matchers for Json expressions (entered as strings)
Matchers for Json expressions (entered as strings)
Attributes
- Companion
- object
- Supertypes
-
trait JsonSelectorstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
object JsonMatchers.type
- Self type
Attributes
- Companion
- trait
- Supertypes
-
trait JsonMatcherstrait JsonSelectorstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
- Self type
-
JsonMatchers.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
Different ways of selecting elements in a Json object
Different ways of selecting elements in a Json object
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait JsonTypeclass Objecttrait Matchableclass AnyShow all
abstract JSON types for specs2
abstract JSON types for specs2
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class JsonArrayclass JsonBooleanclass JsonMapobject JsonNull.typeclass JsonNumberclass JsonStringShow all
Attributes
- Companion
- object
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
trait ContentMatchersobject ContentMatchers.typetrait FilesContentMatchersobject LinesContentMatchers.type
Attributes
- Companion
- trait
- Supertypes
-
trait LinesContentMatcherstrait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTracetrait DifferenceFiltersclass Objecttrait Matchableclass AnyShow all
- Self type
-
LinesContentMatchers.type
The PathFunction object encapsulate a search for a node and/or attributes or attributeValues with an XPath function If node
has some children, then they are searched using equality
The PathFunction object encapsulate a search for a node and/or attributes or attributeValues with an XPath function If node
has some children, then they are searched using equality
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait XPathFunctionstrait Seq[Node] => Seq[Node]class Objecttrait Matchableclass AnyShow all
The PathMatchers trait provides matchers which are applicable to strings representing paths
The PathMatchers trait provides matchers which are applicable to strings representing paths
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait FileMatchersobject FileMatchers.typetrait FilesContentMatcherstrait ContentMatchersobject ContentMatchers.typeobject PathMatchers.typeShow all
- Self type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
PathMatchers.type
Attributes
- Supertypes
-
trait Expectationstrait ExpectationsDescriptiontrait TypedEqualtrait ExpectationsCreationtrait ResultCheckstrait MatchResultStackTraceclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Matcher[T]class Objecttrait Matchableclass Any
This trait provides matchers to check if a block of code is terminating or not
This trait provides matchers to check if a block of code is terminating or not
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TerminationMatchers.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
TerminationMatchers.type
Attributes
- Supertypes
-
trait Matcher[TypecheckResult]class Objecttrait Matchableclass Any
Matchers for checking if a piece of code compiles or not
Matchers for checking if a piece of code compiles or not
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object TypecheckMatchers.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
TypecheckMatchers.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class PathFunction
The XmlMatcher class matches an xml Node, or a list of Nodes against a list of search functions, which can either search for:
The XmlMatcher class matches an xml Node, or a list of Nodes against a list of search functions, which can either search for:
-
a given direct child, with its label and/or attributes and/or attributes names and values
-
a given child, direct or not (maybe deeply nested), with its label and/or attributes and/or attributes names and values
XmlMatchers can be "chained" by using the \ or the \ methods. In that case, the resulting matcher has a new search function which tries to match the result of the preceding function. For example
must \\("c").\("d")
will be ok.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Matcher[Seq[Node]]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
The XmlMatchers trait provides matchers which are applicable to xml nodes
The XmlMatchers trait provides matchers which are applicable to xml nodes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object XmlMatchers.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
XmlMatchers.type