public class ProcessorTestBase
extends org.junit.Assert
Modifier and Type | Field and Description |
---|---|
static List<String> |
DEFAULT_IGNORE_ATTR |
static List<String> |
DEFAULT_IGNORE_TAG |
protected ToolContext |
env |
protected File |
output |
protected Map<QName,Set<String>> |
qnameAtts |
org.junit.rules.TemporaryFolder |
tmpDir |
Constructor and Description |
---|
ProcessorTestBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
addQNameAttribute(QName element,
String local) |
protected void |
assertAttributesEquals(QName element,
Map<QName,String> q1,
Map<QName,String> q2,
Collection<String> ignoreAttr) |
protected void |
assertFileEquals(File location1,
File location2) |
protected void |
assertFileEquals(String f1,
String f2) |
protected void |
assertTagEquals(Tag expected,
Tag source) |
protected void |
assertTagEquals(Tag expected,
Tag source,
List<String> ignoreAttr,
List<String> ignoreTag) |
void |
assertWsdlEquals(File expected,
File source) |
void |
assertWsdlEquals(File expected,
File source,
List<String> attr,
List<String> tag) |
void |
assertWsdlEquals(InputStream expected,
InputStream source) |
void |
assertWsdlEquals(InputStream expected,
InputStream source,
List<String> attr,
List<String> tag) |
boolean |
assertXmlEquals(File expected,
File source) |
boolean |
assertXmlEquals(File expected,
File source,
List<String> ignoreAttr) |
protected String |
getClassPath() |
protected String |
getLocation(String wsdlFile) |
protected File |
getResource(String wsdlFile) |
String |
getStringFromFile(File location) |
protected boolean |
isMOXy() |
void |
tearDown() |
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotEquals, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
public org.junit.rules.TemporaryFolder tmpDir
protected File output
protected ToolContext env
public void tearDown()
protected boolean isMOXy()
protected String getClassPath() throws URISyntaxException, IOException
URISyntaxException
IOException
protected String getLocation(String wsdlFile) throws URISyntaxException
URISyntaxException
protected File getResource(String wsdlFile) throws URISyntaxException
URISyntaxException
public boolean assertXmlEquals(File expected, File source) throws Exception
Exception
public boolean assertXmlEquals(File expected, File source, List<String> ignoreAttr) throws Exception
Exception
protected void assertAttributesEquals(QName element, Map<QName,String> q1, Map<QName,String> q2, Collection<String> ignoreAttr)
protected void assertTagEquals(Tag expected, Tag source, List<String> ignoreAttr, List<String> ignoreTag)
public void assertWsdlEquals(File expected, File source, List<String> attr, List<String> tag) throws Exception
Exception
public void assertWsdlEquals(File expected, File source) throws Exception
Exception
public void assertWsdlEquals(InputStream expected, InputStream source, List<String> attr, List<String> tag) throws Exception
Exception
public void assertWsdlEquals(InputStream expected, InputStream source) throws Exception
Exception
Apache CXF