org.apache.hadoop.hive.ql.parse
Class TestMacroSemanticAnalyzer

java.lang.Object
  extended by org.apache.hadoop.hive.ql.parse.TestMacroSemanticAnalyzer

public class TestMacroSemanticAnalyzer
extends Object


Constructor Summary
TestMacroSemanticAnalyzer()
           
 
Method Summary
 void setup()
           
 void testCannotUseReservedWordAsName()
           
 void testDropMacro()
           
 void testDropMacroDoesNotExist()
           
 void testDropMacroExistsDoNotIgnoreErrors()
           
 void testDropMacroNonExistent()
           
 void testDropMacroNonExistentWithIfExists()
           
 void testDropMacroNonExistentWithIfExistsDoNotIgnoreNonExistent()
           
 void testNoBody()
           
 void testOneInputParamters()
           
 void testOneUnusedParameterName()
           
 void testThreeDuplicateParameters()
           
 void testThreeInputParamters()
           
 void testTwoDuplicateParameterNames()
           
 void testTwoInputParamters()
           
 void testTwoUnusedParameterNames()
           
 void testUnknownInputParameter()
           
 void testZeroInputParamters()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestMacroSemanticAnalyzer

public TestMacroSemanticAnalyzer()
Method Detail

setup

public void setup()
           throws Exception
Throws:
Exception

testDropMacroDoesNotExist

public void testDropMacroDoesNotExist()
                               throws Exception
Throws:
Exception

testDropMacroExistsDoNotIgnoreErrors

public void testDropMacroExistsDoNotIgnoreErrors()
                                          throws Exception
Throws:
Exception

testDropMacro

public void testDropMacro()
                   throws Exception
Throws:
Exception

testDropMacroNonExistent

public void testDropMacroNonExistent()
                              throws Exception
Throws:
Exception

testDropMacroNonExistentWithIfExists

public void testDropMacroNonExistentWithIfExists()
                                          throws Exception
Throws:
Exception

testDropMacroNonExistentWithIfExistsDoNotIgnoreNonExistent

public void testDropMacroNonExistentWithIfExistsDoNotIgnoreNonExistent()
                                                                throws Exception
Throws:
Exception

testZeroInputParamters

public void testZeroInputParamters()
                            throws Exception
Throws:
Exception

testOneInputParamters

public void testOneInputParamters()
                           throws Exception
Throws:
Exception

testTwoInputParamters

public void testTwoInputParamters()
                           throws Exception
Throws:
Exception

testThreeInputParamters

public void testThreeInputParamters()
                             throws Exception
Throws:
Exception

testCannotUseReservedWordAsName

public void testCannotUseReservedWordAsName()
                                     throws Exception
Throws:
Exception

testNoBody

public void testNoBody()
                throws Exception
Throws:
Exception

testUnknownInputParameter

public void testUnknownInputParameter()
                               throws Exception
Throws:
Exception

testOneUnusedParameterName

public void testOneUnusedParameterName()
                                throws Exception
Throws:
Exception

testTwoUnusedParameterNames

public void testTwoUnusedParameterNames()
                                 throws Exception
Throws:
Exception

testTwoDuplicateParameterNames

public void testTwoDuplicateParameterNames()
                                    throws Exception
Throws:
Exception

testThreeDuplicateParameters

public void testThreeDuplicateParameters()
                                  throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation