|
||||||||||
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.metastore.TestHiveMetaStore
public abstract class TestHiveMetaStore
Field Summary | |
---|---|
protected static HiveMetaStoreClient |
client
|
protected static HiveConf |
hiveConf
|
protected static boolean |
isThriftClient
|
protected static Warehouse |
warehouse
|
Constructor Summary | |
---|---|
TestHiveMetaStore()
|
Method Summary | |
---|---|
static void |
partitionTester(HiveMetaStoreClient client,
HiveConf hiveConf)
|
protected void |
setUp()
|
void |
testAlterPartition()
|
void |
testAlterTable()
|
void |
testComplexTable()
|
void |
testComplexTypeApi()
|
void |
testDatabase()
|
void |
testGetConfigValue()
|
void |
testNameMethods()
|
void |
testPartition()
tests create table and partition and tries to drop the table without droppping the partition |
void |
testSimpleTable()
|
void |
testSimpleTypeApi()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static HiveMetaStoreClient client
protected static HiveConf hiveConf
protected static Warehouse warehouse
protected static boolean isThriftClient
Constructor Detail |
---|
public TestHiveMetaStore()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testNameMethods()
public void testPartition() throws Exception
Exception
public static void partitionTester(HiveMetaStoreClient client, HiveConf hiveConf) throws Exception
Exception
public void testAlterPartition() throws Throwable
Throwable
public void testDatabase() throws Throwable
Throwable
public void testSimpleTypeApi() throws Exception
Exception
public void testComplexTypeApi() throws Exception
Exception
public void testSimpleTable() throws Exception
Exception
public void testAlterTable() throws Exception
Exception
public void testComplexTable() throws Exception
Exception
public void testGetConfigValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |