org.apache.hadoop.hive.metastore
Class TestMarkPartition

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.metastore.TestMarkPartition
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
TestMarkPartitionRemote

public class TestMarkPartition
extends junit.framework.TestCase


Field Summary
protected  HiveConf hiveConf
           
 
Constructor Summary
TestMarkPartition()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testMarkingPartitionSet()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

hiveConf

protected HiveConf hiveConf
Constructor Detail

TestMarkPartition

public TestMarkPartition()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testMarkingPartitionSet

public void testMarkingPartitionSet()
                             throws CommandNeedRetryException,
                                    MetaException,
                                    org.apache.thrift.TException,
                                    NoSuchObjectException,
                                    UnknownDBException,
                                    UnknownTableException,
                                    InvalidPartitionException,
                                    UnknownPartitionException,
                                    InterruptedException
Throws:
CommandNeedRetryException
MetaException
org.apache.thrift.TException
NoSuchObjectException
UnknownDBException
UnknownTableException
InvalidPartitionException
UnknownPartitionException
InterruptedException

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception


Copyright © 2013 The Apache Software Foundation