|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.serde2.io.TestTimestampWritable
public class TestTimestampWritable
Constructor Summary | |
---|---|
TestTimestampWritable()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testBinarySortable()
|
void |
testDecimalToTimestampCornerCases()
|
void |
testDecimalToTimestampRandomly()
|
void |
testMaxSize()
|
void |
testMillisToSeconds()
|
void |
testReverseNanos()
|
void |
testSerializationFormatDirectly()
|
void |
testTimestampsInFullRange()
|
void |
testTimestampsOutsidePositiveIntRange()
Test timestamps that don't necessarily fit between 1970 and 2038. |
void |
testTimestampsWithinPositiveIntRange()
Test serializing and deserializing timestamps that can be represented by a number of seconds from 0 to 2147483647 since the UNIX epoch. |
void |
testToFromDouble()
|
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
---|
public TestTimestampWritable()
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
public void testReverseNanos()
public void testTimestampsWithinPositiveIntRange() throws IOException
IOException
public void testTimestampsOutsidePositiveIntRange() throws IOException
IOException
public void testTimestampsInFullRange() throws IOException
IOException
public void testToFromDouble()
public void testDecimalToTimestampRandomly()
public void testDecimalToTimestampCornerCases()
public void testSerializationFormatDirectly() throws IOException
IOException
public void testMaxSize()
public void testMillisToSeconds()
public void testBinarySortable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |