org.apache.hadoop.hive.serde2.lazy
Class TestLazyPrimitive

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

public class TestLazyPrimitive
extends junit.framework.TestCase

TestLazyPrimitive.


Constructor Summary
TestLazyPrimitive()
           
 
Method Summary
static void initLazyObject(LazyObject lo, byte[] data, int start, int length)
          Initialize the LazyObject with the parameters, wrapping the byte[] automatically.
 void testLazyBinary()
           
 void testLazyByte()
          Test the LazyByte class.
 void testLazyDouble()
          Test the LazyDouble class.
 void testLazyInteger()
          Test the LazyInteger class.
 void testLazyIntegerWrite()
           
 void testLazyLong()
          Test the LazyLong class.
 void testLazyLongWrite()
           
 void testLazyShort()
          Test the LazyShort class.
 void testLazyString()
          Test the LazyString class.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestLazyPrimitive

public TestLazyPrimitive()
Method Detail

initLazyObject

public static void initLazyObject(LazyObject lo,
                                  byte[] data,
                                  int start,
                                  int length)
Initialize the LazyObject with the parameters, wrapping the byte[] automatically.


testLazyByte

public void testLazyByte()
                  throws Throwable
Test the LazyByte class.

Throws:
Throwable

testLazyShort

public void testLazyShort()
                   throws Throwable
Test the LazyShort class.

Throws:
Throwable

testLazyInteger

public void testLazyInteger()
                     throws Throwable
Test the LazyInteger class.

Throws:
Throwable

testLazyLong

public void testLazyLong()
                  throws Throwable
Test the LazyLong class.

Throws:
Throwable

testLazyDouble

public void testLazyDouble()
                    throws Throwable
Test the LazyDouble class.

Throws:
Throwable

testLazyString

public void testLazyString()
                    throws Throwable
Test the LazyString class.

Throws:
Throwable

testLazyBinary

public void testLazyBinary()

testLazyIntegerWrite

public void testLazyIntegerWrite()
                          throws Throwable
Throws:
Throwable

testLazyLongWrite

public void testLazyLongWrite()
                       throws Throwable
Throws:
Throwable


Copyright © 2013 The Apache Software Foundation