public class TestXml2JsonConverter extends AbstractConversionTestCase
TEST_NAMESPACE
Constructor and Description |
---|
TestXml2JsonConverter(String testName) |
Modifier and Type | Method and Description |
---|---|
void |
convertAndAssert(String expected,
ElementNode rootNode,
Xml2JsonOptions... options) |
void |
testArrayAsRepeatedElement() |
void |
testArrayPerXsiType() |
void |
testArrayWithNestedObject() |
void |
testChildAndGrandchildren() |
void |
testConvertAttributes() |
void |
testConvertAttributesDropsNamespacePrefix() |
void |
testConvertAttributesIgnoreXsiNamespace() |
void |
testConvertAttributesMatchNamespace() |
void |
testConvertAttributesWithTextContent() |
void |
testEmptyArrayPerXsiType() |
void |
testEmptyConversion() |
void |
testListPerXsiType() |
void |
testMixedContentWithWhitespace() |
void |
testPrimitivesWithXsiType() |
void |
testSetPerXsiType() |
void |
testSingleChild() |
void |
testStringEscaping() |
void |
testTwoChildren() |
void |
testUnquotedFieldnames() |
void |
testWhitespace() |
void |
testWrapWithParens() |
assertAttribute, assertXsiNil, assertXsiNil, conversionAttr, conversionKey, conversionType, conversionType, updateConversionType, xsiNil
assertChildCount, assertChildCount, assertMultiline
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
public TestXml2JsonConverter(String testName)
public void convertAndAssert(String expected, ElementNode rootNode, Xml2JsonOptions... options)
public void testChildAndGrandchildren() throws Exception
Exception
public void testPrimitivesWithXsiType() throws Exception
Exception
public void testArrayAsRepeatedElement() throws Exception
Exception
public void testArrayWithNestedObject() throws Exception
Exception
public void testMixedContentWithWhitespace() throws Exception
Exception
public void testConvertAttributesIgnoreXsiNamespace() throws Exception
Exception
public void testConvertAttributesDropsNamespacePrefix() throws Exception
Exception
public void testConvertAttributesWithTextContent() throws Exception
Exception