org.apache.hadoop.hive.ql.exec
Class TestOperators

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.ql.exec.TestOperators
All Implemented Interfaces:
junit.framework.Test

public class TestOperators
extends junit.framework.TestCase

TestOperators.


Field Summary
protected  InspectableObject[] r
           
 
Constructor Summary
TestOperators()
           
 
Method Summary
protected  void setUp()
           
 void testBaseFilterOperator()
           
 void testFileSinkOperator()
          More stuff needs to be added here.
 void testMapOperator()
           
 void testScriptOperator()
           
 void testScriptOperatorEnvVarsProcessing()
          When ScriptOperator runs external script, it passes job configuration as environment variables.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

r

protected InspectableObject[] r
Constructor Detail

TestOperators

public TestOperators()
Method Detail

setUp

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

testBaseFilterOperator

public void testBaseFilterOperator()
                            throws Throwable
Throws:
Throwable

testFileSinkOperator

public void testFileSinkOperator()
                          throws Throwable
More stuff needs to be added here. Currently it only checks some basic file naming libraries The old test was deactivated as part of hive-405

Throws:
Throwable

testScriptOperatorEnvVarsProcessing

public void testScriptOperatorEnvVarsProcessing()
                                         throws Throwable
When ScriptOperator runs external script, it passes job configuration as environment variables. But environment variables have some system limitations and we have to check job configuration properties firstly. This test checks that staff.

Throws:
Throwable

testScriptOperator

public void testScriptOperator()
                        throws Throwable
Throws:
Throwable

testMapOperator

public void testMapOperator()
                     throws Throwable
Throws:
Throwable


Copyright © 2012 The Apache Software Foundation