org.apache.hadoop.hive.service
Class TestHiveServer

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.service.TestHiveServer
All Implemented Interfaces:
junit.framework.Test

public class TestHiveServer
extends junit.framework.TestCase

TestHiveServer.


Constructor Summary
TestHiveServer(String name)
           
 
Method Summary
 void notestExecute()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAddArchiveShouldFailIfFileNotExist()
           
 void testAddFileShouldFailIfFileNotExist()
           
 void testAddJarShouldFailIfJarNotExist()
           
 void testDynamicSerde()
           
 void testExecute()
           
 void testFetch()
           
 void testGetClusterStatus()
          Test cluster status retrieval.
 void testMetastore()
          Test metastore call.
 void testNonHiveCommand()
           
 void testScratchDirShouldClearWhileStartup()
           
 void testScratchDirShouldNotClearWhileStartup()
           
 
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
 

Constructor Detail

TestHiveServer

public TestHiveServer(String name)
Method Detail

setUp

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

tearDown

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

testExecute

public void testExecute()
                 throws Exception
Throws:
Exception

notestExecute

public void notestExecute()
                   throws Exception
Throws:
Exception

testNonHiveCommand

public void testNonHiveCommand()
                        throws Exception
Throws:
Exception

testMetastore

public void testMetastore()
                   throws Exception
Test metastore call.

Throws:
Exception

testGetClusterStatus

public void testGetClusterStatus()
                          throws Exception
Test cluster status retrieval.

Throws:
Exception

testFetch

public void testFetch()
               throws Exception
Throws:
Exception

testDynamicSerde

public void testDynamicSerde()
                      throws Exception
Throws:
Exception

testAddJarShouldFailIfJarNotExist

public void testAddJarShouldFailIfJarNotExist()
                                       throws Exception
Throws:
Exception

testAddFileShouldFailIfFileNotExist

public void testAddFileShouldFailIfFileNotExist()
                                         throws Exception
Throws:
Exception

testAddArchiveShouldFailIfFileNotExist

public void testAddArchiveShouldFailIfFileNotExist()
                                            throws Exception
Throws:
Exception

testScratchDirShouldNotClearWhileStartup

public void testScratchDirShouldNotClearWhileStartup()
                                              throws Exception
Throws:
Exception

testScratchDirShouldClearWhileStartup

public void testScratchDirShouldClearWhileStartup()
                                           throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation