org.apache.hadoop.hive.serde2.dynamic_type
Class TestDynamicSerDe

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.serde2.dynamic_type.TestDynamicSerDe
All Implemented Interfaces:
junit.framework.Test

public class TestDynamicSerDe
extends junit.framework.TestCase

TestDynamicSerDe.


Constructor Summary
TestDynamicSerDe()
           
 
Method Summary
 String hexString(BytesWritable bytes)
           
static HashMap<String,String> makeHashMap(String... params)
           
 void testConfigurableTCTLSeparated()
           
 void testDynamicSerDe()
           
 void testNulls1()
          Tests a single null list within a struct with return nulls on.
 void testNulls2()
          Tests all elements of a struct being null with return nulls on.
 void testNulls3()
          Tests map and list being empty with return nulls on.
 void testNulls4()
          Tests map and list null/empty with return nulls *off*.
 void testSkip()
           
 void testStructsinStructs()
          Tests map and list null/empty with return nulls *off*.
 void testTBinarySortableProtocol()
           
 
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

TestDynamicSerDe

public TestDynamicSerDe()
Method Detail

makeHashMap

public static HashMap<String,String> makeHashMap(String... params)

testDynamicSerDe

public void testDynamicSerDe()
                      throws Throwable
Throws:
Throwable

hexString

public String hexString(BytesWritable bytes)

testTBinarySortableProtocol

public void testTBinarySortableProtocol()
                                 throws Throwable
Throws:
Throwable

testConfigurableTCTLSeparated

public void testConfigurableTCTLSeparated()
                                   throws Throwable
Throws:
Throwable

testNulls1

public void testNulls1()
                throws Throwable
Tests a single null list within a struct with return nulls on.

Throws:
Throwable

testNulls2

public void testNulls2()
                throws Throwable
Tests all elements of a struct being null with return nulls on.

Throws:
Throwable

testNulls3

public void testNulls3()
                throws Throwable
Tests map and list being empty with return nulls on.

Throws:
Throwable

testNulls4

public void testNulls4()
                throws Throwable
Tests map and list null/empty with return nulls *off*.

Throws:
Throwable

testStructsinStructs

public void testStructsinStructs()
                          throws Throwable
Tests map and list null/empty with return nulls *off*.

Throws:
Throwable

testSkip

public void testSkip()
              throws Throwable
Throws:
Throwable


Copyright © 2012 The Apache Software Foundation