public class ConnectionTest extends JdbcTestBase
ConnectionTransactionMethodsTest).
TODO: When here will be more tests, they should be sorted according to the Connection methods orderJdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnectionDrillTest.MemWatcherwatcherc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
ConnectionTest() |
changeSchema, changeSchemaIfSupplied, connect, connect, connect, getDefaultProperties, reset, setUpTestCase, tearDownTestCase, testJdbcTestConnectionResettingCompatibility, toString, toString, withFull, withModel, withNoDefaultSchemaclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic static void setUpConnection()
throws SQLException
SQLExceptionpublic static void tearDownConnection()
throws SQLException
SQLExceptionpublic void testCreateStatementBasicCaseWorks()
throws SQLException
SQLExceptionpublic void testPrepareStatementBasicCaseWorks()
throws SQLException
SQLExceptionpublic void testPrepareCallThrows()
throws SQLException
SQLExceptionpublic void testCreateStatement_overload2_supportedCase_returns()
throws SQLException
SQLExceptionpublic void testCreateStatement_overload2_unsupportedType1_throws()
throws SQLException
SQLExceptionpublic void testCreateStatement_overload2_unsupportedType2_throws()
throws SQLException
SQLExceptionpublic void testCreateStatement_overload2_unsupportedConcurrency_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload2_supportedCase_returns()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload2_unsupportedType1_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload2_unsupportedType2_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload2_unsupportedConcurrency_throws()
throws SQLException
SQLExceptionpublic void testCreateStatement_overload3_unsupportedHoldability_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload3_unsupportedHoldability_throws()
throws SQLException
SQLExceptionpublic void testCreateCall_overload3_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload4_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload5_throws()
throws SQLException
SQLExceptionpublic void testPrepareStatement_overload6_throws()
throws SQLException
SQLExceptionpublic void testGetNetworkTimeoutSaysNoTimeout()
throws SQLException
SQLExceptionpublic void testSetNetworkTimeoutAcceptsNotimeoutRequest()
throws SQLException
SQLExceptionpublic void testSetNetworkTimeoutRejectsTimeoutRequest()
throws SQLException
SQLExceptionpublic void testSetNetworkTimeoutRejectsTimeoutRequest2()
throws SQLException
SQLExceptionpublic void testSetNetworkTimeoutRejectsBadTimeoutValue()
throws SQLException
SQLExceptionpublic void testSetNetworkTimeoutRejectsBadExecutorValue()
throws SQLException
SQLExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.