public class XmlResource extends TestResource<org.dom4j.Document>
E.g. the following files reside in a Maven module with Surefire setup:
{@code public class VersionedTemplateTest {
nameSuffix, testClass
Constructor and Description |
---|
XmlResource(Class testClass,
String nameSuffix) |
Modifier and Type | Method and Description |
---|---|
void |
assertEquals(org.dom4j.Document actualDocument) |
protected org.dom4j.Document |
load(InputStream testResourceStream) |
static String |
serialize(org.dom4j.Document document) |
apply, get, toFileName, toRelativePathFromClassLoaderRoot
protected org.dom4j.Document load(InputStream testResourceStream)
load
in class TestResource<org.dom4j.Document>
public void assertEquals(org.dom4j.Document actualDocument)
public static String serialize(org.dom4j.Document document)
Copyright © 2003–2021 Atlassian. All rights reserved.