org.apache.hadoop.hive.metastore
Class TestMetaStoreConnectionUrlHook

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.metastore.TestMetaStoreConnectionUrlHook
All Implemented Interfaces:
junit.framework.Test

public class TestMetaStoreConnectionUrlHook
extends junit.framework.TestCase

TestMetaStoreConnectionUrlHook Verifies that when an instance of an implementation of RawStore is initialized, the connection URL has already been updated by any metastore connect URL hooks.


Constructor Summary
TestMetaStoreConnectionUrlHook()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testUrlHook()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

TestMetaStoreConnectionUrlHook

public TestMetaStoreConnectionUrlHook()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testUrlHook

public void testUrlHook()
                 throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation