XmlMatchers

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

The XmlMatchers trait provides matchers which are applicable to xml nodes

Attributes

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

Members list

Value members

Concrete methods

def ==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

def ==/(node: Elem): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

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

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

def \(label: String, attributes: String*): XmlMatcher

alias for \(node) with the node label only

alias for \(node) with the node label only

Attributes

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

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

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

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

def \\(label: String, attributes: String*): XmlMatcher

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

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

Attributes

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

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

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

def be_==/(node: Seq[Node]): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

Attributes