com.google.api.client.testing.json
Class AbstractJsonFactoryTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.google.api.client.testing.json.AbstractJsonFactoryTest
- All Implemented Interfaces:
- junit.framework.Test
public abstract class AbstractJsonFactoryTest
- extends junit.framework.TestCase
Abstract test case for testing a JsonFactory.
- Author:
- Yaniv Inbar
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
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, format |
AbstractJsonFactoryTest
public AbstractJsonFactoryTest(String name)
newFactory
protected abstract JsonFactory newFactory()
testParse_empty
public void testParse_empty()
throws IOException
- Throws:
IOException
testParse_emptyMap
public void testParse_emptyMap()
throws IOException
- Throws:
IOException
testParse_emptyGenericJson
public void testParse_emptyGenericJson()
throws IOException
- Throws:
IOException
testParser_partialEmpty
public void testParser_partialEmpty()
throws IOException
- Throws:
IOException
testParseEntry
public void testParseEntry()
throws Exception
- Throws:
Exception
testParser_partialEntry
public void testParser_partialEntry()
throws IOException
- Throws:
IOException
testParseFeed
public void testParseFeed()
throws Exception
- Throws:
Exception
testParseEntryAsMap
public void testParseEntryAsMap()
throws IOException
- Throws:
IOException
testSkipToKey_missingEmpty
public void testSkipToKey_missingEmpty()
throws IOException
- Throws:
IOException
testSkipToKey_missing
public void testSkipToKey_missing()
throws IOException
- Throws:
IOException
testSkipToKey_found
public void testSkipToKey_found()
throws IOException
- Throws:
IOException
testSkipToKey_startWithFieldName
public void testSkipToKey_startWithFieldName()
throws IOException
- Throws:
IOException
testSkipChildren_string
public void testSkipChildren_string()
throws IOException
- Throws:
IOException
testSkipChildren_object
public void testSkipChildren_object()
throws IOException
- Throws:
IOException
testSkipChildren_array
public void testSkipChildren_array()
throws IOException
- Throws:
IOException
testNextToken
public void testNextToken()
throws IOException
- Throws:
IOException
testCurrentToken
public void testCurrentToken()
throws IOException
- Throws:
IOException
testParse
public void testParse()
throws IOException
- Throws:
IOException
testParser_numberTypes
public void testParser_numberTypes()
throws IOException
- Throws:
IOException
testToFromString
public void testToFromString()
throws IOException
- Throws:
IOException
testToFromString_UTF8
public void testToFromString_UTF8()
throws IOException
- Throws:
IOException
testParser_anyType
public void testParser_anyType()
throws IOException
- Throws:
IOException
testParser_arrayType
public void testParser_arrayType()
throws IOException
- Throws:
IOException
testParser_collectionType
public void testParser_collectionType()
throws IOException
- Throws:
IOException
testParser_mapType
public void testParser_mapType()
throws IOException
- Throws:
IOException
testParser_hashmapForMapType
public void testParser_hashmapForMapType()
throws IOException
- Throws:
IOException
testParser_wildCardType
public void testParser_wildCardType()
throws IOException
- Throws:
IOException
testParser_integerTypeVariableType
public void testParser_integerTypeVariableType()
throws IOException
- Throws:
IOException
testParser_intArrayTypeVariableType
public void testParser_intArrayTypeVariableType()
throws IOException
- Throws:
IOException
testParser_doubleListTypeVariableType
public void testParser_doubleListTypeVariableType()
throws IOException
- Throws:
IOException
testParser_floatMapTypeVariableType
public void testParser_floatMapTypeVariableType()
throws IOException
- Throws:
IOException
testParser_treemapForTypeVariableType
public void testParser_treemapForTypeVariableType()
throws IOException
- Throws:
IOException
testParser_nullValue
public void testParser_nullValue()
throws IOException
- Throws:
IOException
testParser_enumValue
public void testParser_enumValue()
throws IOException
- Throws:
IOException
testParser_typeVariablesPassAround
public void testParser_typeVariablesPassAround()
throws IOException
- Throws:
IOException
testParser_stringArray
public void testParser_stringArray()
throws IOException
- Throws:
IOException
testParser_intArray
public void testParser_intArray()
throws IOException
- Throws:
IOException
testParser_emptyArray
public void testParser_emptyArray()
throws IOException
- Throws:
IOException
testParser_partialEmptyArray
public void testParser_partialEmptyArray()
throws IOException
- Throws:
IOException
testParser_num
public void testParser_num()
throws IOException
- Throws:
IOException
testParser_string
public void testParser_string()
throws IOException
- Throws:
IOException
testParser_null
public void testParser_null()
throws IOException
- Throws:
IOException
testParser_bool
public void testParser_bool()
throws IOException
- Throws:
IOException
testGenerateEntry
public final void testGenerateEntry()
throws Exception
- Throws:
Exception
testGenerateFeed
public final void testGenerateFeed()
throws Exception
- Throws:
Exception
testToString_entry
public final void testToString_entry()
throws Exception
- Throws:
Exception
testToString_Feed
public final void testToString_Feed()
throws Exception
- Throws:
Exception
testToByteArray_entry
public final void testToByteArray_entry()
throws Exception
- Throws:
Exception
testToPrettyString_entryApproximate
public final void testToPrettyString_entryApproximate()
throws Exception
- Throws:
Exception
testToPrettyString_FeedApproximate
public final void testToPrettyString_FeedApproximate()
throws Exception
- Throws:
Exception
testParser_nullInputStream
public void testParser_nullInputStream()
throws IOException
- Throws:
IOException
testParser_nullString
public void testParser_nullString()
throws IOException
- Throws:
IOException
testParser_nullReader
public void testParser_nullReader()
throws IOException
- Throws:
IOException
testObjectParserParse_entry
public void testObjectParserParse_entry()
throws Exception
- Throws:
Exception
testObjectParserParse_stringList
public void testObjectParserParse_stringList()
throws IOException
- Throws:
IOException
testToString_withFactory
public void testToString_withFactory()
testFactory
public void testFactory()
testSkipToKey_firstKey
public void testSkipToKey_firstKey()
throws Exception
- Throws:
Exception
testSkipToKey_lastKey
public void testSkipToKey_lastKey()
throws Exception
- Throws:
Exception
testSkipToKey_multipleKeys
public void testSkipToKey_multipleKeys()
throws Exception
- Throws:
Exception
testSkipToKey_noMatch
public void testSkipToKey_noMatch()
throws Exception
- Throws:
Exception
testGson
public final void testGson()
throws Exception
- Throws:
Exception
testParse_array
public final void testParse_array()
throws Exception
- Throws:
Exception
testParse_class
public final void testParse_class()
throws Exception
- Throws:
Exception
testCreateJsonParser_nullCharset
public final void testCreateJsonParser_nullCharset()
throws Exception
- Throws:
Exception
testGenerate_infinityOrNanError
public final void testGenerate_infinityOrNanError()
throws IOException
- Throws:
IOException
testParser_extendsGenericJson
public void testParser_extendsGenericJson()
throws IOException
- Throws:
IOException
Copyright © 2011-2012 Google. All Rights Reserved.