org.apache.hive.beeline.src.test
Class TestSchemaTool

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hive.beeline.src.test.TestSchemaTool
All Implemented Interfaces:
junit.framework.Test

public class TestSchemaTool
extends junit.framework.TestCase


Constructor Summary
TestSchemaTool()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testNestedScriptsForDerby()
          Test nested script formatting
 void testNestedScriptsForMySQL()
          Test nested script formatting
 void testNestedScriptsForOracle()
          Test nested script formatting
 void testSchemaInit()
          Test schema initialization
 void testSchemaInitDryRun()
          Test dryrun of schema initialization
 void testSchemaUpgrade()
          Test schema upgrade
 void testSchemaUpgradeDryRun()
          Test dryrun of schema upgrade
 void testScriptMultiRowComment()
          Test script formatting
 void testScripts()
          Test script formatting
 void testScriptWithDelimiter()
          Test script formatting
 
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

TestSchemaTool

public TestSchemaTool()
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

testSchemaInitDryRun

public void testSchemaInitDryRun()
                          throws Exception
Test dryrun of schema initialization

Throws:
Exception

testSchemaUpgradeDryRun

public void testSchemaUpgradeDryRun()
                             throws Exception
Test dryrun of schema upgrade

Throws:
Exception

testSchemaInit

public void testSchemaInit()
                    throws Exception
Test schema initialization

Throws:
Exception

testSchemaUpgrade

public void testSchemaUpgrade()
                       throws Exception
Test schema upgrade

Throws:
Exception

testScripts

public void testScripts()
                 throws Exception
Test script formatting

Throws:
Exception

testNestedScriptsForDerby

public void testNestedScriptsForDerby()
                               throws Exception
Test nested script formatting

Throws:
Exception

testNestedScriptsForMySQL

public void testNestedScriptsForMySQL()
                               throws Exception
Test nested script formatting

Throws:
Exception

testScriptWithDelimiter

public void testScriptWithDelimiter()
                             throws Exception
Test script formatting

Throws:
Exception

testScriptMultiRowComment

public void testScriptMultiRowComment()
                               throws Exception
Test script formatting

Throws:
Exception

testNestedScriptsForOracle

public void testNestedScriptsForOracle()
                                throws Exception
Test nested script formatting

Throws:
Exception


Copyright © 2012 The Apache Software Foundation