public abstract class AbstractJsonFactoryTest extends TestCase
Inheritance
java.lang.Object >
junit.framework.Assert >
junit.framework.TestCase >
AbstractJsonFactoryTest
Inherited Members
junit.framework.TestCase.assertEquals(boolean,boolean)
junit.framework.TestCase.assertEquals(byte,byte)
junit.framework.TestCase.assertEquals(char,char)
junit.framework.TestCase.assertEquals(double,double,double)
junit.framework.TestCase.assertEquals(float,float,float)
junit.framework.TestCase.assertEquals(int,int)
junit.framework.TestCase.assertEquals(java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertEquals(java.lang.String,boolean,boolean)
junit.framework.TestCase.assertEquals(java.lang.String,byte,byte)
junit.framework.TestCase.assertEquals(java.lang.String,char,char)
junit.framework.TestCase.assertEquals(java.lang.String,double,double,double)
junit.framework.TestCase.assertEquals(java.lang.String,float,float,float)
junit.framework.TestCase.assertEquals(java.lang.String,int,int)
junit.framework.TestCase.assertEquals(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertEquals(java.lang.String,java.lang.String)
junit.framework.TestCase.assertEquals(java.lang.String,java.lang.String,java.lang.String)
junit.framework.TestCase.assertEquals(java.lang.String,long,long)
junit.framework.TestCase.assertEquals(java.lang.String,short,short)
junit.framework.TestCase.assertEquals(long,long)
junit.framework.TestCase.assertEquals(short,short)
junit.framework.TestCase.assertFalse(boolean)
junit.framework.TestCase.assertFalse(java.lang.String,boolean)
junit.framework.TestCase.assertNotNull(java.lang.Object)
junit.framework.TestCase.assertNotNull(java.lang.String,java.lang.Object)
junit.framework.TestCase.assertNotSame(java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertNotSame(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertNull(java.lang.Object)
junit.framework.TestCase.assertNull(java.lang.String,java.lang.Object)
junit.framework.TestCase.assertSame(java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertSame(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.assertTrue(boolean)
junit.framework.TestCase.assertTrue(java.lang.String,boolean)
junit.framework.TestCase.countTestCases()
junit.framework.TestCase.createResult()
junit.framework.TestCase.fail()
junit.framework.TestCase.fail(java.lang.String)
junit.framework.TestCase.failNotEquals(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.failNotSame(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.failSame(java.lang.String)
junit.framework.TestCase.format(java.lang.String,java.lang.Object,java.lang.Object)
junit.framework.TestCase.getName()
junit.framework.TestCase.run()
junit.framework.TestCase.run(junit.framework.TestResult)
junit.framework.TestCase.runBare()
junit.framework.TestCase.runTest()
junit.framework.TestCase.setName(java.lang.String)
junit.framework.TestCase.setUp()
junit.framework.TestCase.tearDown()
junit.framework.TestCase.toString()
Static Fields
ANIMAL_WITHOUT_TYPE
public static final String ANIMAL_WITHOUT_TYPE
Field Value
BOOLEAN_TYPE_EMPTY
public static final String BOOLEAN_TYPE_EMPTY
Field Value
BOOLEAN_TYPE_EMPTY_OUTPUT
public static final String BOOLEAN_TYPE_EMPTY_OUTPUT
Field Value
BOOLEAN_TYPE_FALSE
public static final String BOOLEAN_TYPE_FALSE
Field Value
BOOLEAN_TYPE_NULL
public static final String BOOLEAN_TYPE_NULL
Field Value
BOOLEAN_TYPE_NULL_OUTPUT
public static final String BOOLEAN_TYPE_NULL_OUTPUT
Field Value
BOOLEAN_TYPE_TRUE
public static final String BOOLEAN_TYPE_TRUE
Field Value
BOOLEAN_TYPE_WRONG
public static final String BOOLEAN_TYPE_WRONG
Field Value
CENTIPEDE
public static final String CENTIPEDE
Field Value
public static final String CENTIPEDE_EXTRA_INFO
Field Value
CENTIPEDE_OPTIMIZED
public static final String CENTIPEDE_OPTIMIZED
Field Value
DOG
public static final String DOG
Field Value
public static final String DOG_EXTRA_INFO
Field Value
public static final String DOG_EXTRA_INFO_ORDERED
Field Value
DOG_OPTIMIZED
public static final String DOG_OPTIMIZED
Field Value
DOG_WITH_FAMILY
public static final String DOG_WITH_FAMILY
Field Value
DOG_WITH_NO_FAMILY
public static final String DOG_WITH_NO_FAMILY
Field Value
DOG_WITH_NO_FAMILY_PARSED
public static final String DOG_WITH_NO_FAMILY_PARSED
Field Value
HUMAN
public static final String HUMAN
Field Value
HUMAN_WITH_PETS
public static final String HUMAN_WITH_PETS
Field Value
HUMAN_WITH_PETS_PARSED
public static final String HUMAN_WITH_PETS_PARSED
Field Value
MULTIPLE_ANNOTATIONS_JSON
public static final String MULTIPLE_ANNOTATIONS_JSON
Field Value
POLYMORPHIC_NUMERIC_TYPE_1
public static final String POLYMORPHIC_NUMERIC_TYPE_1
Field Value
POLYMORPHIC_NUMERIC_TYPE_2
public static final String POLYMORPHIC_NUMERIC_TYPE_2
Field Value
POLYMORPHIC_NUMERIC_UNSPECIFIED_TYPE
public static final String POLYMORPHIC_NUMERIC_UNSPECIFIED_TYPE
Field Value
POLYMORPHIC_SELF_REFERENCING
public static final String POLYMORPHIC_SELF_REFERENCING
Field Value
POLYMORPHIC_WITH_UNKNOWN_KEY
public static final String POLYMORPHIC_WITH_UNKNOWN_KEY
Field Value
Constructors
AbstractJsonFactoryTest(String name)
public AbstractJsonFactoryTest(String name)
Parameter
Methods
newFactory()
protected abstract JsonFactory newFactory()
Returns
subtestParse_void(String value)
public void subtestParse_void(String value)
Parameter
Exceptions
testCreateJsonParser_nullCharset()
public final void testCreateJsonParser_nullCharset()
Exceptions
testCurrentToken()
public void testCurrentToken()
Exceptions
testFactory()
public void testFactory()
testGenerateEntry()
public final void testGenerateEntry()
Exceptions
testGenerateFeed()
public final void testGenerateFeed()
Exceptions
testGenerate_infinityOrNanError()
public final void testGenerate_infinityOrNanError()
Exceptions
testGson()
public final void testGson()
Exceptions
testJsonHttpContent_simple()
public void testJsonHttpContent_simple()
Exceptions
testJsonHttpContent_wrapped()
public void testJsonHttpContent_wrapped()
Exceptions
public void testJsonObjectParser_inputStream()
Exceptions
public void testJsonObjectParser_inputStreamWrapped()
Exceptions
testJsonObjectParser_reader()
public void testJsonObjectParser_reader()
Exceptions
testJsonObjectParser_readerWrapped()
public void testJsonObjectParser_readerWrapped()
Exceptions
testNextToken()
public void testNextToken()
Exceptions
testObjectParserParse_entry()
public void testObjectParserParse_entry()
Exceptions
testObjectParserParse_stringList()
public void testObjectParserParse_stringList()
Exceptions
testParse()
Exceptions
testParseEntry()
public void testParseEntry()
Exceptions
testParseEntryAsMap()
public void testParseEntryAsMap()
Exceptions
testParseFeed()
public void testParseFeed()
Exceptions
testParse_array()
public final void testParse_array()
Exceptions
testParse_boolean()
public void testParse_boolean()
Exceptions
testParse_class()
public final void testParse_class()
Exceptions
testParse_empty()
public void testParse_empty()
Exceptions
testParse_emptyGenericJson()
public void testParse_emptyGenericJson()
Exceptions
testParse_emptyMap()
public void testParse_emptyMap()
Exceptions
testParse_void()
public void testParse_void()
Exceptions
testParser_anyType()
public void testParser_anyType()
Exceptions
testParser_arrayType()
public void testParser_arrayType()
Exceptions
testParser_bool()
public void testParser_bool()
Exceptions
testParser_collectionType()
public void testParser_collectionType()
Exceptions
testParser_doubleListTypeVariableType()
public void testParser_doubleListTypeVariableType()
Exceptions
testParser_emptyArray()
public void testParser_emptyArray()
Exceptions
testParser_enumValue()
public void testParser_enumValue()
Exceptions
testParser_extendsGenericJson()
public void testParser_extendsGenericJson()
Exceptions
testParser_floatMapTypeVariableType()
public void testParser_floatMapTypeVariableType()
Exceptions
public void testParser_hashmapForMapType()
Exceptions
testParser_heterogeneousSchema_genericJson()
public void testParser_heterogeneousSchema_genericJson()
Exceptions
testParser_heterogeneousSchema_illegalValueType()
public void testParser_heterogeneousSchema_illegalValueType()
Exceptions
testParser_heterogeneousSchema_missingType()
public void testParser_heterogeneousSchema_missingType()
Exceptions
testParser_heterogeneousSchema_numericType()
public void testParser_heterogeneousSchema_numericType()
Exceptions
testParser_heterogeneousSchema_numericValueType()
public void testParser_heterogeneousSchema_numericValueType()
Exceptions
testParser_heterogeneousSchema_withArrays()
public void testParser_heterogeneousSchema_withArrays()
Exceptions
testParser_heterogeneousSchema_withNullArrays()
public void testParser_heterogeneousSchema_withNullArrays()
Exceptions
testParser_heterogeneousSchema_withObject()
public void testParser_heterogeneousSchema_withObject()
Exceptions
testParser_heterogeneousSchemata()
public void testParser_heterogeneousSchemata()
Exceptions
testParser_intArray()
public void testParser_intArray()
Exceptions
testParser_intArrayTypeVariableType()
public void testParser_intArrayTypeVariableType()
Exceptions
testParser_integerTypeVariableType()
public void testParser_integerTypeVariableType()
Exceptions
testParser_mapType()
public void testParser_mapType()
Exceptions
testParser_null()
public void testParser_null()
Exceptions
public void testParser_nullInputStream()
Exceptions
testParser_nullReader()
public void testParser_nullReader()
Exceptions
testParser_nullString()
public void testParser_nullString()
Exceptions
testParser_nullValue()
public void testParser_nullValue()
Exceptions
testParser_num()
public void testParser_num()
Exceptions
testParser_numberTypes()
public void testParser_numberTypes()
Exceptions
testParser_partialEmpty()
public void testParser_partialEmpty()
Exceptions
testParser_partialEmptyArray()
public void testParser_partialEmptyArray()
Exceptions
testParser_partialEntry()
public void testParser_partialEntry()
Exceptions
testParser_polymorphicClass_duplicateTypeKeys()
public void testParser_polymorphicClass_duplicateTypeKeys()
Exceptions
testParser_polymorphicClass_mapOfPolymorphicClasses()
public void testParser_polymorphicClass_mapOfPolymorphicClasses()
Exceptions
testParser_polymorphicClass_noMatchingTypeKey()
public void testParser_polymorphicClass_noMatchingTypeKey()
Exceptions
testParser_polymorphicClass_selfReferencing()
public void testParser_polymorphicClass_selfReferencing()
Exceptions
testParser_polymorphicClass_tooManyAnnotations()
public void testParser_polymorphicClass_tooManyAnnotations()
Exceptions
testParser_string()
public void testParser_string()
Exceptions
testParser_stringArray()
public void testParser_stringArray()
Exceptions
testParser_treemapForTypeVariableType()
public void testParser_treemapForTypeVariableType()
Exceptions
testParser_typeVariablesPassAround()
public void testParser_typeVariablesPassAround()
Exceptions
testParser_wildCardType()
public void testParser_wildCardType()
Exceptions
testSkipChildren_array()
public void testSkipChildren_array()
Exceptions
testSkipChildren_object()
public void testSkipChildren_object()
Exceptions
testSkipChildren_string()
public void testSkipChildren_string()
Exceptions
testSkipToKey_firstKey()
public void testSkipToKey_firstKey()
Exceptions
testSkipToKey_found()
public void testSkipToKey_found()
Exceptions
testSkipToKey_lastKey()
public void testSkipToKey_lastKey()
Exceptions
testSkipToKey_missing()
public void testSkipToKey_missing()
Exceptions
testSkipToKey_missingEmpty()
public void testSkipToKey_missingEmpty()
Exceptions
testSkipToKey_multipleKeys()
public void testSkipToKey_multipleKeys()
Exceptions
testSkipToKey_noMatch()
public void testSkipToKey_noMatch()
Exceptions
testSkipToKey_startWithFieldName()
public void testSkipToKey_startWithFieldName()
Exceptions
testToByteArray_entry()
public final void testToByteArray_entry()
Exceptions
testToFromString()
public void testToFromString()
Exceptions
testToFromString_UTF8()
public void testToFromString_UTF8()
Exceptions
testToPrettyString_FeedApproximate()
public final void testToPrettyString_FeedApproximate()
Exceptions
testToPrettyString_entryApproximate()
public final void testToPrettyString_entryApproximate()
Exceptions
testToString_Feed()
public final void testToString_Feed()
Exceptions
testToString_entry()
public final void testToString_entry()
Exceptions
testToString_withFactory()
public void testToString_withFactory()