com.atlassian.jira.functest.framework.matchers
Class DocumentMatchers
java.lang.Object
com.atlassian.jira.functest.framework.matchers.DocumentMatchers
public final class DocumentMatchers
- extends Object
Matchers for DOM4J documents.
- Since:
- 6.0
Method Summary |
protected Object |
clone()
|
static org.hamcrest.Matcher<org.dom4j.Comment> |
commentWithText(String text)
|
static org.hamcrest.Matcher<org.dom4j.Document> |
documentWithNodes(Class<? extends org.dom4j.Node>... nodeTypes)
|
static org.hamcrest.Matcher<org.dom4j.Element> |
elementWithName(String name)
|
static
<N extends org.dom4j.Node>
org.hamcrest.Matcher<org.dom4j.Document> |
|
hasNodeAt(int position,
Class<N> nodeType,
org.hamcrest.Matcher<N> nodeMatcher)
|
clone
protected Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
- Throws:
CloneNotSupportedException
elementWithName
public static org.hamcrest.Matcher<org.dom4j.Element> elementWithName(String name)
commentWithText
public static org.hamcrest.Matcher<org.dom4j.Comment> commentWithText(String text)
documentWithNodes
public static org.hamcrest.Matcher<org.dom4j.Document> documentWithNodes(Class<? extends org.dom4j.Node>... nodeTypes)
hasNodeAt
public static <N extends org.dom4j.Node> org.hamcrest.Matcher<org.dom4j.Document> hasNodeAt(int position,
Class<N> nodeType,
org.hamcrest.Matcher<N> nodeMatcher)
Copyright © 2002-2013 Atlassian. All Rights Reserved.