public abstract class DatabaseTestBase extends Object
Constructor and Description |
---|
DatabaseTestBase(boolean async) |
public void testSimpleExample()
public void testCountQuery()
public void testTransactionUsingCount()
public void testTransactionOnCommit()
public void testSelectErrorResetsTransactionContextInDatabaseClass()
public void testUpdateErrorResetsTransactionContextInDatabaseClass()
public void testPushEmptyList()
public void testRunScript()
public void testTransactionOnCommitDoesntOccurUnlessSubscribedTo()
public void testTransactionOnRollback()
public void testUpdateAndSelectWithTransaction()
public void testUseParameterObservable()
public void testTwoParameters()
public void testTakeFewerThanAvailable()
public void testJdbcObservableCountLettersInAllNames()
public void testTransformToTuple2AndTestActionsPrintln()
public void testTransformToTupleN()
public void testMultipleSetsOfParameters()
public void testNoParams()
public void testCreateFromScript()
public void testComposition2()
public void testEmptyResultSet()
public void testMixingExplicitAndObservableParameters()
public void testInstantiateDatabaseWithUrl() throws SQLException
SQLException
public void testComposition()
public void testCompositionUsingLift()
public void testCompositionTwoLevels()
public void testSqlProblem()
public void testException()
public void testAutoMapWillMapStringToStringAndIntToDouble()
public void testAutoMapCannotFindConstructorWithEnoughParameters()
public void testGetTimestamp()
public void insertClobAndReadAsString() throws SQLException
SQLException
public void insertNullClobAndReadAsString() throws SQLException
SQLException
public void insertNullBlobAndReadAsByteArray() throws SQLException
SQLException
public void insertClobAndReadAsReader() throws SQLException, IOException
SQLException
IOException
public void insertBlobAndReadAsByteArray() throws SQLException
SQLException
public void testInsertNull()
public void testRC4()
public void testAutoMap()
public void testLastTransactionWithoutTransaction()
public void testTuple3()
public void testTuple4()
public void testTuple5()
public void testTuple6()
public void testTuple7()
public void testAutoMapClob()
public void testAutoMapBlob()
public void testCalendarParameter() throws SQLException
SQLException
public void testDatabaseBuilder()
public void testConnectionPool()
public void testConnectionPoolWhenExceptionThrown() throws SQLException
SQLException
public void testConnectionPoolDoesNotRunOutOfConnectionsWhenQueryRunRepeatedly() throws SQLException
SQLException
public void testDatabaseBuilderWithPool()
public void testOneConnectionOpenAndClosedAfterOneSelect() throws InterruptedException
InterruptedException
public void testOneConnectionOpenAndClosedAfterOneUpdate() throws InterruptedException
InterruptedException
public void testLiftWithParameters()
public void testLiftWithManyParameters()
public void testDetector() throws InterruptedException
InterruptedException
public void testUnsubscribeOfBufferAndFlatMap() throws InterruptedException
InterruptedException
public void testParametersAreUnsubscribedIfUnsubscribedPostParameterOperatorLift() throws InterruptedException
InterruptedException
public void testParametersAreUnsubscribed() throws InterruptedException
InterruptedException
public void testTakeShouldNotHang()
public void testLiftSelectWithDependencies()
public void testLiftUpdateWithParameters()
public void testLiftUpdateWithDependencies()
public void testTwoConnectionsOpenedAndClosedAfterTwoSelects() throws InterruptedException
InterruptedException
public void testTwoConnectionsOpenedAndClosedAfterTwoUpdates() throws InterruptedException
InterruptedException
public void testOneConnectionOpenedAndClosedAfterTwoSelectsWithinTransaction() throws InterruptedException
InterruptedException
public void testOneConnectionOpenedAndClosedAfterTwoUpdatesWithinTransaction() throws InterruptedException
InterruptedException
public void testCloseDatabaseClosesConnectionProvider()
public void testCloseAutoCommittingConnectionProviderClosesInternalConnectionProvider()
public void testCloseSingletonManualCommitConnectionProviderClosesInternalConnectionProvider()
public void testCloseConnectionProviderFromUrlClosesInternalConnectionProvider()
public void testCannotPassObservableAsSingleParameter()
public void testConnectionsReleasedByUpdateStatementBeforeOnNext() throws InterruptedException
InterruptedException
public void testConnectionsReleasedByCommitBeforeOnNext() throws InterruptedException
InterruptedException
public void testConnectionsReleasedByRollbackBeforeOnNext() throws InterruptedException
InterruptedException
public void testCanChainUpdateStatementsWithinTransaction()
public void testCommitOperator()
public void testTryCatch()
public void testChainSelectUsingOperators()
public void testBeginTransactionEmitsOneItem()
public void testCommitOnLastOperator()
public void testRollbackOnLastOperator()
public void testBeginTransactionOnNextForThreePasses()
public void testParameterListOperator()
public void testParameterListOperatorWhenQueryNeedsTwoParameters()
public void testCanExecuteCreateSchema()
public void testCanExecuteCreateTable()
public void testDatabaseFromConnectionCanUseConnectionTwiceWithoutItBeingClosedInReality() throws SQLException
SQLException
public void testNonTransactionalMultipleQueries()
public void testTransaction()
public void testTwoConnectionsOpenedAndClosedWhenTakeOneUsedWithSelectThatReturnsOneRow() throws InterruptedException
InterruptedException
public void testAutoMapInterface()
public void testAutoMapConvertsCamelCaseToUnderscoreColumnNames()
public void testAutoMapWithQueryAnnotation()
public void testAutoMapThrowsExceptionIfMappedInterfaceColumnMethodHasParameters()
public void testCustomMapper()
public void testReturnGeneratedKeysForOneInsertedValue()
public void testReturnGeneratedKeysForMultipleInsertedValuesInOneStatement()
public void testReturnGeneratedKeysForMultipleCallsOfInsert()
public void testNamedParameters()
public void testNamedParametersWithMapParameter()
public void testNamedParametersWithMapParameterInObservable()
public void testNamedParametersWithUpdateStatement()
public void testNamedParametersOneMissingParameterShouldThrowException()
public void testNamedParametersWithMapParameterNoNamesInSql()
public void testNoParameters()
Copyright © 2014–2015. All rights reserved.