com.google.api.client.testing.json
Class AbstractJsonParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.google.api.client.testing.json.AbstractJsonParserTest
All Implemented Interfaces:
junit.framework.Test

Deprecated. (scheduled to be removed in 1.8) Use AbstractJsonFactoryTest

@Deprecated
public abstract class AbstractJsonParserTest
extends junit.framework.TestCase

Abstract test case for JsonParser.

Since:
1.4
Author:
Yaniv Inbar

Nested Class Summary
static class AbstractJsonParserTest.A
          Deprecated.  
static class AbstractJsonParserTest.AnyType
          Deprecated.  
static class AbstractJsonParserTest.ArrayType
          Deprecated.  
static class AbstractJsonParserTest.CollectionOfCollectionType
          Deprecated.  
static class AbstractJsonParserTest.DoubleListTypeVariableType
          Deprecated.  
static class AbstractJsonParserTest.E
          Deprecated.  
static class AbstractJsonParserTest.Entry
          Deprecated.  
static class AbstractJsonParserTest.EnumValue
          Deprecated.  
static class AbstractJsonParserTest.Feed
          Deprecated.  
static class AbstractJsonParserTest.FloatMapTypeVariableType
          Deprecated.  
static class AbstractJsonParserTest.IntArrayTypeVariableType
          Deprecated.  
static class AbstractJsonParserTest.IntegerTypeVariableType
          Deprecated.  
static class AbstractJsonParserTest.MapOfMapType
          Deprecated.  
static class AbstractJsonParserTest.NumberTypes
          Deprecated.  
static class AbstractJsonParserTest.NumberTypesAsString
          Deprecated.  
static class AbstractJsonParserTest.StringNullValue
          Deprecated.  
static class AbstractJsonParserTest.TypeVariablesPassedAround
          Deprecated.  
static class AbstractJsonParserTest.TypeVariableType<T>
          Deprecated.  
static class AbstractJsonParserTest.WildCardTypes
          Deprecated.  
static class AbstractJsonParserTest.X<XT>
          Deprecated.  
static class AbstractJsonParserTest.Y<YT>
          Deprecated.  
static class AbstractJsonParserTest.Z<ZT>
          Deprecated.  
 
Constructor Summary
AbstractJsonParserTest(String name)
          Deprecated.  
 
Method Summary
protected abstract  JsonFactory newFactory()
          Deprecated.  
 void testCurrentToken()
          Deprecated.  
 void testNextToken()
          Deprecated.  
 void testParse_empty()
          Deprecated.  
 void testParse_emptyGenericJson()
          Deprecated.  
 void testParse_emptyMap()
          Deprecated.  
 void testParse()
          Deprecated.  
 void testParseEntry()
          Deprecated.  
 void testParseEntryAsMap()
          Deprecated.  
 void testParseFeed()
          Deprecated.  
 void testParser_anyType()
          Deprecated.  
 void testParser_arrayType()
          Deprecated.  
 void testParser_bool()
          Deprecated.  
 void testParser_collectionType()
          Deprecated.  
 void testParser_doubleListTypeVariableType()
          Deprecated.  
 void testParser_emptyArray()
          Deprecated.  
 void testParser_enumValue()
          Deprecated.  
 void testParser_floatMapTypeVariableType()
          Deprecated.  
 void testParser_hashmapForMapType()
          Deprecated.  
 void testParser_intArray()
          Deprecated.  
 void testParser_intArrayTypeVariableType()
          Deprecated.  
 void testParser_integerTypeVariableType()
          Deprecated.  
 void testParser_mapType()
          Deprecated.  
 void testParser_null()
          Deprecated.  
 void testParser_nullValue()
          Deprecated.  
 void testParser_num()
          Deprecated.  
 void testParser_numberTypes()
          Deprecated.  
 void testParser_partialEmpty()
          Deprecated.  
 void testParser_partialEmptyArray()
          Deprecated.  
 void testParser_partialEntry()
          Deprecated.  
 void testParser_string()
          Deprecated.  
 void testParser_stringArray()
          Deprecated.  
 void testParser_treemapForTypeVariableType()
          Deprecated.  
 void testParser_typeVariablesPassAround()
          Deprecated.  
 void testParser_wildCardType()
          Deprecated.  
 void testSkipChildren_array()
          Deprecated.  
 void testSkipChildren_object()
          Deprecated.  
 void testSkipChildren_string()
          Deprecated.  
 void testSkipToKey_found()
          Deprecated.  
 void testSkipToKey_missing()
          Deprecated.  
 void testSkipToKey_missingEmpty()
          Deprecated.  
 void testSkipToKey_startWithFieldName()
          Deprecated.  
 void testToFromString_UTF8()
          Deprecated.  
 void testToFromString()
          Deprecated.  
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractJsonParserTest

public AbstractJsonParserTest(String name)
Deprecated. 
Method Detail

newFactory

protected abstract JsonFactory newFactory()
Deprecated. 

testParse_empty

public void testParse_empty()
                     throws IOException
Deprecated. 
Throws:
IOException

testParse_emptyMap

public void testParse_emptyMap()
                        throws IOException
Deprecated. 
Throws:
IOException

testParse_emptyGenericJson

public void testParse_emptyGenericJson()
                                throws IOException
Deprecated. 
Throws:
IOException

testParser_partialEmpty

public void testParser_partialEmpty()
                             throws IOException
Deprecated. 
Throws:
IOException

testParseEntry

public void testParseEntry()
                    throws Exception
Deprecated. 
Throws:
Exception

testParser_partialEntry

public void testParser_partialEntry()
                             throws IOException
Deprecated. 
Throws:
IOException

testParseFeed

public void testParseFeed()
                   throws Exception
Deprecated. 
Throws:
Exception

testParseEntryAsMap

public void testParseEntryAsMap()
                         throws IOException
Deprecated. 
Throws:
IOException

testSkipToKey_missingEmpty

public void testSkipToKey_missingEmpty()
                                throws IOException
Deprecated. 
Throws:
IOException

testSkipToKey_missing

public void testSkipToKey_missing()
                           throws IOException
Deprecated. 
Throws:
IOException

testSkipToKey_found

public void testSkipToKey_found()
                         throws IOException
Deprecated. 
Throws:
IOException

testSkipToKey_startWithFieldName

public void testSkipToKey_startWithFieldName()
                                      throws IOException
Deprecated. 
Throws:
IOException

testSkipChildren_string

public void testSkipChildren_string()
                             throws IOException
Deprecated. 
Throws:
IOException

testSkipChildren_object

public void testSkipChildren_object()
                             throws IOException
Deprecated. 
Throws:
IOException

testSkipChildren_array

public void testSkipChildren_array()
                            throws IOException
Deprecated. 
Throws:
IOException

testNextToken

public void testNextToken()
                   throws IOException
Deprecated. 
Throws:
IOException

testCurrentToken

public void testCurrentToken()
                      throws IOException
Deprecated. 
Throws:
IOException

testParse

public void testParse()
               throws IOException
Deprecated. 
Throws:
IOException

testParser_numberTypes

public void testParser_numberTypes()
                            throws IOException
Deprecated. 
Throws:
IOException

testToFromString

public void testToFromString()
                      throws IOException
Deprecated. 
Throws:
IOException

testToFromString_UTF8

public void testToFromString_UTF8()
                           throws IOException
Deprecated. 
Throws:
IOException

testParser_anyType

public void testParser_anyType()
                        throws IOException
Deprecated. 
Throws:
IOException

testParser_arrayType

public void testParser_arrayType()
                          throws IOException
Deprecated. 
Throws:
IOException

testParser_collectionType

public void testParser_collectionType()
                               throws IOException
Deprecated. 
Throws:
IOException

testParser_mapType

public void testParser_mapType()
                        throws IOException
Deprecated. 
Throws:
IOException

testParser_hashmapForMapType

public void testParser_hashmapForMapType()
                                  throws IOException
Deprecated. 
Throws:
IOException

testParser_wildCardType

public void testParser_wildCardType()
                             throws IOException
Deprecated. 
Throws:
IOException

testParser_integerTypeVariableType

public void testParser_integerTypeVariableType()
                                        throws IOException
Deprecated. 
Throws:
IOException

testParser_intArrayTypeVariableType

public void testParser_intArrayTypeVariableType()
                                         throws IOException
Deprecated. 
Throws:
IOException

testParser_doubleListTypeVariableType

public void testParser_doubleListTypeVariableType()
                                           throws IOException
Deprecated. 
Throws:
IOException

testParser_floatMapTypeVariableType

public void testParser_floatMapTypeVariableType()
                                         throws IOException
Deprecated. 
Throws:
IOException

testParser_treemapForTypeVariableType

public void testParser_treemapForTypeVariableType()
                                           throws IOException
Deprecated. 
Throws:
IOException

testParser_nullValue

public void testParser_nullValue()
                          throws IOException
Deprecated. 
Throws:
IOException

testParser_enumValue

public void testParser_enumValue()
                          throws IOException
Deprecated. 
Throws:
IOException

testParser_typeVariablesPassAround

public void testParser_typeVariablesPassAround()
                                        throws IOException
Deprecated. 
Throws:
IOException

testParser_stringArray

public void testParser_stringArray()
                            throws IOException
Deprecated. 
Throws:
IOException

testParser_intArray

public void testParser_intArray()
                         throws IOException
Deprecated. 
Throws:
IOException

testParser_emptyArray

public void testParser_emptyArray()
                           throws IOException
Deprecated. 
Throws:
IOException

testParser_partialEmptyArray

public void testParser_partialEmptyArray()
                                  throws IOException
Deprecated. 
Throws:
IOException

testParser_num

public void testParser_num()
                    throws IOException
Deprecated. 
Throws:
IOException

testParser_string

public void testParser_string()
                       throws IOException
Deprecated. 
Throws:
IOException

testParser_null

public void testParser_null()
                     throws IOException
Deprecated. 
Throws:
IOException

testParser_bool

public void testParser_bool()
                     throws IOException
Deprecated. 
Throws:
IOException


Copyright © 2011-2012 Google. All Rights Reserved.