XmlMatchers

org.specs2.matcher.XmlMatchers
See theXmlMatchers companion object
trait XmlMatchers

The XmlMatchers trait provides matchers which are applicaborderle to xml nodes

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object XmlMatchers.type

Members list

Type members

Inherited classlikes

class NeutralMatcherElem(result: NeutralMatcher[Any])

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class NotMatcherElem(result: NotMatcher[Any])

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any
class XmlResultMatcher(result: MatchResult[Seq[Node]])

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def ==/(node: Elem): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def ==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

alias for \\(node, attributeValues) with the node label only

alias for \\(node, attributeValues) with the node label only

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

match if node is the first node of the tested node and has exactly the attributeValues as names and values for its attributes

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \(label: String, attributes: String*): XmlMatcher

alias for \(node) with the node label only

alias for \(node) with the node label only

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \(node: Node): XmlMatcher

match if node is the first node of the tested node

match if node is the first node of the tested node

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \(node: Node, attributes: String*): XmlMatcher

match if node is the first node of the tested node an exact match on is required on attributes

match if node is the first node of the tested node an exact match on is required on attributes

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \\(label: String, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

alias for \\(node, attributeValues) with the node label only

alias for \\(node, attributeValues) with the node label only

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \\(node: Node, attributeValues1: (String, String), attributeValues: (String, String)*): XmlMatcher

match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

match if node is contained anywhere inside the tested node and has exactly the attributeValues as names and values for its attributes

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \\(label: String, attributes: String*): XmlMatcher

alias for \\(node) with the node label only

alias for \\(node) with the node label only

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \\(node: Node): XmlMatcher

match if node is contained anywhere inside the tested node

match if node is contained anywhere inside the tested node

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def \\(node: Node, attributes: String*): XmlMatcher

match if node is contained anywhere inside the tested node an exact match on is required on attributes

match if node is contained anywhere inside the tested node an exact match on is required on attributes

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def be: NeutralMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)

match if node is equal to the tested node without testing empty text

match if node is equal to the tested node without testing empty text

Attributes

Inherited from:
XmlBaseMatchers (hidden)

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def be_==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

Inherited from:
XmlBaseMatchers (hidden)
def have: NeutralMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)
def not: NotMatcher[Any]

Attributes

Inherited from:
BeHaveMatchers (hidden)

Implicits

Inherited implicits

implicit def toNeutralMatcherElem(result: NeutralMatcher[Any]): NeutralMatcherElem

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)
implicit def toNotMatcherElem(result: NotMatcher[Any]): NotMatcherElem

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)
implicit def toXmlResultMatcher(result: MatchResult[Seq[Node]]): XmlResultMatcher

Attributes

Inherited from:
XmlBeHaveMatchers (hidden)