org.apache.hadoop.hive.jdbc
Class TestJdbcDriver
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.jdbc.TestJdbcDriver
- All Implemented Interfaces:
- junit.framework.Test
public class TestJdbcDriver
- extends junit.framework.TestCase
TestJdbcDriver.
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 |
TestJdbcDriver
public TestJdbcDriver(String name)
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
testExplainStmt
public void testExplainStmt()
throws SQLException
- verify 'explain ...' resultset
- Throws:
SQLException
testPrepareStatement
public void testPrepareStatement()
testSelectAll
public final void testSelectAll()
throws Exception
- Throws:
Exception
testSelectAllPartioned
public final void testSelectAllPartioned()
throws Exception
- Throws:
Exception
testSelectAllMaxRows
public final void testSelectAllMaxRows()
throws Exception
- Throws:
Exception
testSelectAllFetchSize
public final void testSelectAllFetchSize()
throws Exception
- Throws:
Exception
testDataTypes
public void testDataTypes()
throws Exception
- Throws:
Exception
testErrorMessages
public void testErrorMessages()
throws SQLException
- Throws:
SQLException
testShowTables
public void testShowTables()
throws SQLException
- Throws:
SQLException
testMetaDataGetTables
public void testMetaDataGetTables()
throws SQLException
- Throws:
SQLException
testMetaDataGetCatalogs
public void testMetaDataGetCatalogs()
throws SQLException
- Throws:
SQLException
testMetaDataGetSchemas
public void testMetaDataGetSchemas()
throws SQLException
- Throws:
SQLException
testMetaDataGetTableTypes
public void testMetaDataGetTableTypes()
throws SQLException
- Throws:
SQLException
testMetaDataGetColumns
public void testMetaDataGetColumns()
throws SQLException
- Throws:
SQLException
testMetaDataGetColumnsMetaData
public void testMetaDataGetColumnsMetaData()
throws SQLException
- Validate the Metadata for the result set of a metadata getColumns call.
- Throws:
SQLException
testConversionsBaseResultSet
public void testConversionsBaseResultSet()
throws SQLException
- Throws:
SQLException
testDescribeTable
public void testDescribeTable()
throws SQLException
- Throws:
SQLException
testDatabaseMetaData
public void testDatabaseMetaData()
throws SQLException
- Throws:
SQLException
testResultSetMetaData
public void testResultSetMetaData()
throws SQLException
- Throws:
SQLException
testDriverProperties
public void testDriverProperties()
throws SQLException
- Throws:
SQLException
testSetCommand
public void testSetCommand()
throws SQLException
- validate schema generated by "set" command
- Throws:
SQLException
Copyright © 2013 The Apache Software Foundation