|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hive.beeline.src.test.TestBeeLineWithArgs
public class TestBeeLineWithArgs
TestBeeLineWithArgs - executes tests of the command-line arguments to BeeLine
Constructor Summary | |
---|---|
TestBeeLineWithArgs()
|
Method Summary | |
---|---|
static void |
postTests()
Shut down a local Hive Server 2 for these tests |
static void |
preTests()
Start up a local Hive Server 2 for these tests |
void |
testBreakOnErrorScriptFile()
Attempt to execute a simple script file with the -f option to BeeLine The first command should fail and the second command should not execute Print PASSED or FAILED |
void |
testHiveVarSubstitution()
|
void |
testNegativeScriptFile()
Attempt to execute a missing script file with the -f option to BeeLine Print PASSED or FAILED |
void |
testNPE()
HIVE-4566 |
void |
testPositiveScriptFile()
Attempt to execute a simple script file with the -f option to BeeLine Test for presence of an expected pattern in the output (stdout or stderr), fail if not found Print PASSED or FAILED |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestBeeLineWithArgs()
Method Detail |
---|
public static void preTests() throws Exception
Exception
public static void postTests()
public void testPositiveScriptFile() throws Throwable
Throwable
public void testBreakOnErrorScriptFile() throws Throwable
Throwable
public void testNegativeScriptFile() throws Throwable
Throwable
public void testNPE() throws UnsupportedEncodingException
UnsupportedEncodingException
public void testHiveVarSubstitution() throws Throwable
Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |