public class TestHiveHistory
extends junit.framework.TestCase
| Constructor and Description |
|---|
TestHiveHistory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testHiveHistoryConfigDisabled()
Check if HiveHistory class is a Proxy class when hive history is disabled
|
void |
testHiveHistoryConfigEnabled()
Check if HiveHistoryImpl class is returned when hive history is enabled
|
void |
testQueryloglocParentDirNotExist() |
void |
testSimpleQuery()
Check history file output for this query.
|
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toStringprotected void setUp()
setUp in class junit.framework.TestCasepublic void testSimpleQuery()
public void testQueryloglocParentDirNotExist()
throws java.lang.Exception
java.lang.Exceptionpublic void testHiveHistoryConfigEnabled()
throws java.lang.Exception
java.lang.Exceptionpublic void testHiveHistoryConfigDisabled()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2012 The Apache Software Foundation