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 JsonToken
s. 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
IOException
public void testSexp() throws IOException
IOException
public void testNestedSexp() throws IOException
IOException
public void testSexpSkip() throws IOException
IOException
public void testNestedSexpSkip() throws IOException
IOException
public void testEmptyClob() throws IOException
IOException
public void testClob() throws IOException
IOException
public void testSymbolValue() throws IOException
IOException
public void testSkipChildrenNotAtContainerStartDoesNothing() throws IOException
IOException
public void testGetEmbeddedObjectOnBasicValueReturnsNull() throws IOException
IOException
public void testNulls() throws IOException
IOException
public void testNextValue() throws IOException
IOException
public void testGetCurrentNameNotAtFieldReturnsNull() throws IOException
IOException
public void testClearCurrentToken() throws IOException
IOException
public void testGetText() throws IOException
IOException
public void testGetNumberValue() throws IOException
IOException
public void testGetNumberValueNotOnNumberFails() throws IOException
IOException
public void testSpecialFloatValues() throws IOException
IOException
Copyright © 2019. All rights reserved.