The ContentMatchers trait provides matchers to make comparisons between files, sequences,...
Matcher for equalIgnoreSpace comparison, ignoring the nodes order
Matcher for equalIgnoreSpace comparison, considering the node order
This class is only used as a transient holder for the expected parsed value, to overcome overloaded method issues
The FileMatchers trait provides matchers which are applicable to 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
Matchers for Json expressions (entered as strings)
Different ways of selecting elements in a Json object
abstract JSON types for specs2
Macro definitions to generate matchers for the members of a type T
Matchers for parser combinators
Matchers for parser combinators
When this trait is inherited the parsers variable needs to be defined.
by @alexey_r
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 PathMatchers trait provides matchers which are applicable to strings representing paths
Matchers for Process[Task, T]
Matchers for scalaz.concurrent.Task
This trait provides matchers to check if a block of code is terminating or not
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:
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
will be ok.must \\("c").\("d")
The XmlMatchers trait provides matchers which are applicable to xml nodes
Macros implementations
Macros implementations
The bulk of the implementation is credited to:
- @travisbrown for his ["vampire methods"](http://meta.plasm.us/posts/2013/08/31/feeding-our-vampires/) - @retronym for his help on [range positions](https://groups.google.com/forum/#!topic/scala-internals/fmWKw5TDz98) - @xeno_by for his help on macros in general!