public abstract class AbstractJsonFactoryTest extends TestCaseAbstract test case for testing a JsonFactory.
Inheritance
java.lang.Object > junit.framework.Assert > junit.framework.TestCase > AbstractJsonFactoryTestStatic Fields
ANIMAL_WITHOUT_TYPE
public static final String ANIMAL_WITHOUT_TYPE| Type | Description |
| String |
BOOLEAN_TYPE_EMPTY
public static final String BOOLEAN_TYPE_EMPTY| Type | Description |
| String |
BOOLEAN_TYPE_EMPTY_OUTPUT
public static final String BOOLEAN_TYPE_EMPTY_OUTPUT| Type | Description |
| String |
BOOLEAN_TYPE_FALSE
public static final String BOOLEAN_TYPE_FALSE| Type | Description |
| String |
BOOLEAN_TYPE_NULL
public static final String BOOLEAN_TYPE_NULL| Type | Description |
| String |
BOOLEAN_TYPE_NULL_OUTPUT
public static final String BOOLEAN_TYPE_NULL_OUTPUT| Type | Description |
| String |
BOOLEAN_TYPE_TRUE
public static final String BOOLEAN_TYPE_TRUE| Type | Description |
| String |
BOOLEAN_TYPE_WRONG
public static final String BOOLEAN_TYPE_WRONG| Type | Description |
| String |
CENTIPEDE
public static final String CENTIPEDE| Type | Description |
| String |
CENTIPEDE_EXTRA_INFO
public static final String CENTIPEDE_EXTRA_INFO| Type | Description |
| String |
CENTIPEDE_OPTIMIZED
public static final String CENTIPEDE_OPTIMIZED| Type | Description |
| String |
DOG
public static final String DOG| Type | Description |
| String |
DOG_EXTRA_INFO
public static final String DOG_EXTRA_INFO| Type | Description |
| String |
DOG_EXTRA_INFO_ORDERED
public static final String DOG_EXTRA_INFO_ORDERED| Type | Description |
| String |
DOG_OPTIMIZED
public static final String DOG_OPTIMIZED| Type | Description |
| String |
DOG_WITH_FAMILY
public static final String DOG_WITH_FAMILY| Type | Description |
| String |
DOG_WITH_NO_FAMILY
public static final String DOG_WITH_NO_FAMILY| Type | Description |
| String |
DOG_WITH_NO_FAMILY_PARSED
public static final String DOG_WITH_NO_FAMILY_PARSED| Type | Description |
| String |
HUMAN
public static final String HUMAN| Type | Description |
| String |
HUMAN_WITH_PETS
public static final String HUMAN_WITH_PETS| Type | Description |
| String |
HUMAN_WITH_PETS_PARSED
public static final String HUMAN_WITH_PETS_PARSED| Type | Description |
| String |
MULTIPLE_ANNOTATIONS_JSON
public static final String MULTIPLE_ANNOTATIONS_JSON| Type | Description |
| String |
POLYMORPHIC_NUMERIC_TYPE_1
public static final String POLYMORPHIC_NUMERIC_TYPE_1| Type | Description |
| String |
POLYMORPHIC_NUMERIC_TYPE_2
public static final String POLYMORPHIC_NUMERIC_TYPE_2| Type | Description |
| String |
POLYMORPHIC_NUMERIC_UNSPECIFIED_TYPE
public static final String POLYMORPHIC_NUMERIC_UNSPECIFIED_TYPE| Type | Description |
| String |
POLYMORPHIC_SELF_REFERENCING
public static final String POLYMORPHIC_SELF_REFERENCING| Type | Description |
| String |
POLYMORPHIC_WITH_UNKNOWN_KEY
public static final String POLYMORPHIC_WITH_UNKNOWN_KEY| Type | Description |
| String |
Constructors
AbstractJsonFactoryTest(String name)
public AbstractJsonFactoryTest(String name)| Name | Description |
| name | String |
Methods
newFactory()
protected abstract JsonFactory newFactory()| Type | Description |
| JsonFactory |
subtestParse_void(String value)
public void subtestParse_void(String value)| Name | Description |
| value | String |
| Type | Description |
| Exception |
testCreateJsonParser_nullCharset()
public final void testCreateJsonParser_nullCharset()| Type | Description |
| Exception |
testCurrentToken()
public void testCurrentToken()| Type | Description |
| Exception |
testFactory()
public void testFactory()testGenerateEntry()
public final void testGenerateEntry()| Type | Description |
| Exception |
testGenerateFeed()
public final void testGenerateFeed()| Type | Description |
| Exception |
testGenerate_infinityOrNanError()
public final void testGenerate_infinityOrNanError()| Type | Description |
| Exception |
testGson()
public final void testGson()| Type | Description |
| Exception |
testJsonHttpContent_simple()
public void testJsonHttpContent_simple()| Type | Description |
| Exception |
testJsonHttpContent_wrapped()
public void testJsonHttpContent_wrapped()| Type | Description |
| Exception |
testJsonObjectParser_inputStream()
public void testJsonObjectParser_inputStream()| Type | Description |
| Exception |
testJsonObjectParser_inputStreamWrapped()
public void testJsonObjectParser_inputStreamWrapped()| Type | Description |
| Exception |
testJsonObjectParser_reader()
public void testJsonObjectParser_reader()| Type | Description |
| Exception |
testJsonObjectParser_readerWrapped()
public void testJsonObjectParser_readerWrapped()| Type | Description |
| Exception |
testNextToken()
public void testNextToken()| Type | Description |
| Exception |
testObjectParserParse_entry()
public void testObjectParserParse_entry()| Type | Description |
| Exception |
testObjectParserParse_stringList()
public void testObjectParserParse_stringList()| Type | Description |
| Exception |
testParse()
public void testParse()| Type | Description |
| Exception |
testParseEntry()
public void testParseEntry()| Type | Description |
| Exception |
testParseEntryAsMap()
public void testParseEntryAsMap()| Type | Description |
| Exception |
testParseFeed()
public void testParseFeed()| Type | Description |
| Exception |
testParse_array()
public final void testParse_array()| Type | Description |
| Exception |
testParse_boolean()
public void testParse_boolean()| Type | Description |
| Exception |
testParse_class()
public final void testParse_class()| Type | Description |
| Exception |
testParse_empty()
public void testParse_empty()| Type | Description |
| Exception |
testParse_emptyGenericJson()
public void testParse_emptyGenericJson()| Type | Description |
| Exception |
testParse_emptyMap()
public void testParse_emptyMap()| Type | Description |
| Exception |
testParse_void()
public void testParse_void()| Type | Description |
| Exception |
testParser_anyType()
public void testParser_anyType()| Type | Description |
| Exception |
testParser_arrayType()
public void testParser_arrayType()| Type | Description |
| Exception |
testParser_bool()
public void testParser_bool()| Type | Description |
| Exception |
testParser_collectionType()
public void testParser_collectionType()| Type | Description |
| Exception |
testParser_doubleListTypeVariableType()
public void testParser_doubleListTypeVariableType()| Type | Description |
| Exception |
testParser_emptyArray()
public void testParser_emptyArray()| Type | Description |
| Exception |
testParser_enumValue()
public void testParser_enumValue()| Type | Description |
| Exception |
testParser_extendsGenericJson()
public void testParser_extendsGenericJson()| Type | Description |
| Exception |
testParser_floatMapTypeVariableType()
public void testParser_floatMapTypeVariableType()| Type | Description |
| Exception |
testParser_hashmapForMapType()
public void testParser_hashmapForMapType()| Type | Description |
| Exception |
testParser_heterogeneousSchema_genericJson()
public void testParser_heterogeneousSchema_genericJson()| Type | Description |
| Exception |
testParser_heterogeneousSchema_illegalValueType()
public void testParser_heterogeneousSchema_illegalValueType()| Type | Description |
| Exception |
testParser_heterogeneousSchema_missingType()
public void testParser_heterogeneousSchema_missingType()| Type | Description |
| Exception |
testParser_heterogeneousSchema_numericType()
public void testParser_heterogeneousSchema_numericType()| Type | Description |
| Exception |
testParser_heterogeneousSchema_numericValueType()
public void testParser_heterogeneousSchema_numericValueType()| Type | Description |
| Exception |
testParser_heterogeneousSchema_withArrays()
public void testParser_heterogeneousSchema_withArrays()| Type | Description |
| Exception |
testParser_heterogeneousSchema_withNullArrays()
public void testParser_heterogeneousSchema_withNullArrays()| Type | Description |
| Exception |
testParser_heterogeneousSchema_withObject()
public void testParser_heterogeneousSchema_withObject()| Type | Description |
| Exception |
testParser_heterogeneousSchemata()
public void testParser_heterogeneousSchemata()| Type | Description |
| Exception |
testParser_intArray()
public void testParser_intArray()| Type | Description |
| Exception |
testParser_intArrayTypeVariableType()
public void testParser_intArrayTypeVariableType()| Type | Description |
| Exception |
testParser_integerTypeVariableType()
public void testParser_integerTypeVariableType()| Type | Description |
| Exception |
testParser_mapType()
public void testParser_mapType()| Type | Description |
| Exception |
testParser_null()
public void testParser_null()| Type | Description |
| Exception |
testParser_nullInputStream()
public void testParser_nullInputStream()| Type | Description |
| Exception |
testParser_nullReader()
public void testParser_nullReader()| Type | Description |
| Exception |
testParser_nullString()
public void testParser_nullString()| Type | Description |
| Exception |
testParser_nullValue()
public void testParser_nullValue()| Type | Description |
| Exception |
testParser_num()
public void testParser_num()| Type | Description |
| Exception |
testParser_numberTypes()
public void testParser_numberTypes()| Type | Description |
| Exception |
testParser_partialEmpty()
public void testParser_partialEmpty()| Type | Description |
| Exception |
testParser_partialEmptyArray()
public void testParser_partialEmptyArray()| Type | Description |
| Exception |
testParser_partialEntry()
public void testParser_partialEntry()| Type | Description |
| Exception |
testParser_polymorphicClass_duplicateTypeKeys()
public void testParser_polymorphicClass_duplicateTypeKeys()| Type | Description |
| Exception |
testParser_polymorphicClass_mapOfPolymorphicClasses()
public void testParser_polymorphicClass_mapOfPolymorphicClasses()| Type | Description |
| Exception |
testParser_polymorphicClass_noMatchingTypeKey()
public void testParser_polymorphicClass_noMatchingTypeKey()| Type | Description |
| Exception |
testParser_polymorphicClass_selfReferencing()
public void testParser_polymorphicClass_selfReferencing()| Type | Description |
| Exception |
testParser_polymorphicClass_tooManyAnnotations()
public void testParser_polymorphicClass_tooManyAnnotations()| Type | Description |
| Exception |
testParser_string()
public void testParser_string()| Type | Description |
| Exception |
testParser_stringArray()
public void testParser_stringArray()| Type | Description |
| Exception |
testParser_treemapForTypeVariableType()
public void testParser_treemapForTypeVariableType()| Type | Description |
| Exception |
testParser_typeVariablesPassAround()
public void testParser_typeVariablesPassAround()| Type | Description |
| Exception |
testParser_wildCardType()
public void testParser_wildCardType()| Type | Description |
| Exception |
testSkipChildren_array()
public void testSkipChildren_array()| Type | Description |
| Exception |
testSkipChildren_object()
public void testSkipChildren_object()| Type | Description |
| Exception |
testSkipChildren_string()
public void testSkipChildren_string()| Type | Description |
| Exception |
testSkipToKey_firstKey()
public void testSkipToKey_firstKey()| Type | Description |
| Exception |
testSkipToKey_found()
public void testSkipToKey_found()| Type | Description |
| Exception |
testSkipToKey_lastKey()
public void testSkipToKey_lastKey()| Type | Description |
| Exception |
testSkipToKey_missing()
public void testSkipToKey_missing()| Type | Description |
| Exception |
testSkipToKey_missingEmpty()
public void testSkipToKey_missingEmpty()| Type | Description |
| Exception |
testSkipToKey_multipleKeys()
public void testSkipToKey_multipleKeys()| Type | Description |
| Exception |
testSkipToKey_noMatch()
public void testSkipToKey_noMatch()| Type | Description |
| Exception |
testSkipToKey_startWithFieldName()
public void testSkipToKey_startWithFieldName()| Type | Description |
| Exception |
testToByteArray_entry()
public final void testToByteArray_entry()| Type | Description |
| Exception |
testToFromString()
public void testToFromString()| Type | Description |
| Exception |
testToFromString_UTF8()
public void testToFromString_UTF8()| Type | Description |
| Exception |
testToPrettyString_FeedApproximate()
public final void testToPrettyString_FeedApproximate()| Type | Description |
| Exception |
testToPrettyString_entryApproximate()
public final void testToPrettyString_entryApproximate()| Type | Description |
| Exception |
testToString_Feed()
public final void testToString_Feed()| Type | Description |
| Exception |
testToString_entry()
public final void testToString_entry()| Type | Description |
| Exception |
testToString_withFactory()
public void testToString_withFactory()