org.apache.hadoop.hive.ql.udf
Class TestGenericUDFEncode

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

public class TestGenericUDFEncode
extends junit.framework.TestCase


Constructor Summary
TestGenericUDFEncode()
           
 
Method Summary
 void testEncode()
           
 void verifyEncode(String string, String charsetName)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

TestGenericUDFEncode

public TestGenericUDFEncode()
Method Detail

testEncode

public void testEncode()
                throws UnsupportedEncodingException,
                       HiveException
Throws:
UnsupportedEncodingException
HiveException

verifyEncode

public void verifyEncode(String string,
                         String charsetName)
                  throws UnsupportedEncodingException,
                         HiveException
Throws:
UnsupportedEncodingException
HiveException


Copyright © 2012 The Apache Software Foundation