XmlMatchers

The XmlMatchers trait provides matchers which are applicable to xml nodes

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

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

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

def ==/(node: Elem): EqualIgnoringSpaceMatcher

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

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

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

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

alias for \(node) with the node label only

alias for \(node) with the node label only

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

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

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

def \\(node: Node): XmlMatcher

match if node is contained anywhere inside the tested node

match if node is contained anywhere inside the tested node

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

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

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

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

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

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

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

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace

alias for beEqualToIgnoringSpace