public class IonParserTest extends Object
IonParser for conformity with the JsonParser API.
Also tests that the IonParser correctly converts Ion-only value types to
the correct JsonTokens. For testing of additional value types and
roundtrip testing with the SdkIonGenerator, see IonRoundtripTest.| Modifier and Type | Field and Description |
|---|---|
ExpectedException |
thrown |
| Constructor and Description |
|---|
IonParserTest(com.amazonaws.protocol.json.IonParserTest.WriteFormat format) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<Object[]> |
data() |
void |
testClearCurrentToken() |
void |
testClob() |
void |
testEmptyClob() |
void |
testEmptySexp() |
void |
testGetCurrentNameNotAtFieldReturnsNull() |
void |
testGetEmbeddedObjectOnBasicValueReturnsNull() |
void |
testGetNumberValue() |
void |
testGetNumberValueNotOnNumberFails() |
void |
testGetText() |
void |
testNestedSexp() |
void |
testNestedSexpSkip() |
void |
testNextValue() |
void |
testNulls() |
void |
testSexp() |
void |
testSexpSkip() |
void |
testSkipChildrenNotAtContainerStartDoesNothing() |
void |
testSpecialFloatValues() |
void |
testSymbolValue() |
public IonParserTest(com.amazonaws.protocol.json.IonParserTest.WriteFormat format)
public static Collection<Object[]> data()
public void testEmptySexp()
throws IOException
IOExceptionpublic void testSexp()
throws IOException
IOExceptionpublic void testNestedSexp()
throws IOException
IOExceptionpublic void testSexpSkip()
throws IOException
IOExceptionpublic void testNestedSexpSkip()
throws IOException
IOExceptionpublic void testEmptyClob()
throws IOException
IOExceptionpublic void testClob()
throws IOException
IOExceptionpublic void testSymbolValue()
throws IOException
IOExceptionpublic void testSkipChildrenNotAtContainerStartDoesNothing()
throws IOException
IOExceptionpublic void testGetEmbeddedObjectOnBasicValueReturnsNull()
throws IOException
IOExceptionpublic void testNulls()
throws IOException
IOExceptionpublic void testNextValue()
throws IOException
IOExceptionpublic void testGetCurrentNameNotAtFieldReturnsNull()
throws IOException
IOExceptionpublic void testClearCurrentToken()
throws IOException
IOExceptionpublic void testGetText()
throws IOException
IOExceptionpublic void testGetNumberValue()
throws IOException
IOExceptionpublic void testGetNumberValueNotOnNumberFails()
throws IOException
IOExceptionpublic void testSpecialFloatValues()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.