Documentation ¶
Index ¶
- Constants
- Variables
- type GenericTestSuite
- func (s *GenericTestSuite) AfterTest(suiteName, testName string)
- func (s *GenericTestSuite) BeforeTest(suiteName, testName string)
- func (s *GenericTestSuite) TestComparisonOperators()
- func (s *GenericTestSuite) TestDatesAndUnicode()
- func (s *GenericTestSuite) TestExplicitAndDefaultMapping()
- func (s *GenericTestSuite) TestFibonacci()
- func (s *GenericTestSuite) TestOddEven()
- type Helper
- type SQLTestSuite
- func (s *SQLTestSuite) AfterTest(suiteName, testName string)
- func (s *SQLTestSuite) BeforeTest(suiteName, testName string)
- func (s *SQLTestSuite) TestBatchInsert()
- func (s *SQLTestSuite) TestBatchInsertNoColumns()
- func (s *SQLTestSuite) TestBatchInsertReturningKeys()
- func (s *SQLTestSuite) TestCompositeKeys()
- func (s *SQLTestSuite) TestCustomQueryLogger()
- func (s *SQLTestSuite) TestCustomType()
- func (s *SQLTestSuite) TestDataTypes()
- func (s *SQLTestSuite) TestExhaustConnectionPool()
- func (s *SQLTestSuite) TestExpectCursorError()
- func (s *SQLTestSuite) TestFunction()
- func (s *SQLTestSuite) TestGetAllResults()
- func (s *SQLTestSuite) TestGetOneResult()
- func (s *SQLTestSuite) TestGetResultsOneByOne()
- func (s *SQLTestSuite) TestGetWithOffset()
- func (s *SQLTestSuite) TestGroup()
- func (s *SQLTestSuite) TestInlineStructs()
- func (s *SQLTestSuite) TestInsertAndDelete()
- func (s *SQLTestSuite) TestInsertDefault()
- func (s *SQLTestSuite) TestInsertIntoArtistsTable()
- func (s *SQLTestSuite) TestInsertReturning()
- func (s *SQLTestSuite) TestInsertReturningWithinTransaction()
- func (s *SQLTestSuite) TestNullableFields()
- func (s *SQLTestSuite) TestPaginator()
- func (s *SQLTestSuite) TestPreparedStatementsCache()
- func (s *SQLTestSuite) TestQueryNonExistentCollection()
- func (s *SQLTestSuite) TestSQLBuilder()
- func (s *SQLTestSuite) TestTransactionsAndRollback()
- func (s *SQLTestSuite) TestTruncateAllCollections()
- func (s *SQLTestSuite) TestUpdate()
- func (s *SQLTestSuite) TestUpdateWithNullColumn()
- func (s *SQLTestSuite) Test_Issue565()
- type Suite
Constants ¶
View Source
const TimeZone = "Canada/Eastern"
Variables ¶
View Source
var TimeLocation, _ = time.LoadLocation(TimeZone)
Functions ¶
This section is empty.
Types ¶
type GenericTestSuite ¶
func (*GenericTestSuite) AfterTest ¶
func (s *GenericTestSuite) AfterTest(suiteName, testName string)
func (*GenericTestSuite) BeforeTest ¶
func (s *GenericTestSuite) BeforeTest(suiteName, testName string)
func (*GenericTestSuite) TestComparisonOperators ¶
func (s *GenericTestSuite) TestComparisonOperators()
func (*GenericTestSuite) TestDatesAndUnicode ¶
func (s *GenericTestSuite) TestDatesAndUnicode()
func (*GenericTestSuite) TestExplicitAndDefaultMapping ¶
func (s *GenericTestSuite) TestExplicitAndDefaultMapping()
func (*GenericTestSuite) TestFibonacci ¶
func (s *GenericTestSuite) TestFibonacci()
func (*GenericTestSuite) TestOddEven ¶
func (s *GenericTestSuite) TestOddEven()
type SQLTestSuite ¶
func (*SQLTestSuite) AfterTest ¶
func (s *SQLTestSuite) AfterTest(suiteName, testName string)
func (*SQLTestSuite) BeforeTest ¶
func (s *SQLTestSuite) BeforeTest(suiteName, testName string)
func (*SQLTestSuite) TestBatchInsert ¶
func (s *SQLTestSuite) TestBatchInsert()
func (*SQLTestSuite) TestBatchInsertNoColumns ¶
func (s *SQLTestSuite) TestBatchInsertNoColumns()
func (*SQLTestSuite) TestBatchInsertReturningKeys ¶
func (s *SQLTestSuite) TestBatchInsertReturningKeys()
func (*SQLTestSuite) TestCompositeKeys ¶
func (s *SQLTestSuite) TestCompositeKeys()
func (*SQLTestSuite) TestCustomQueryLogger ¶
func (s *SQLTestSuite) TestCustomQueryLogger()
func (*SQLTestSuite) TestCustomType ¶
func (s *SQLTestSuite) TestCustomType()
func (*SQLTestSuite) TestDataTypes ¶
func (s *SQLTestSuite) TestDataTypes()
func (*SQLTestSuite) TestExhaustConnectionPool ¶
func (s *SQLTestSuite) TestExhaustConnectionPool()
func (*SQLTestSuite) TestExpectCursorError ¶
func (s *SQLTestSuite) TestExpectCursorError()
func (*SQLTestSuite) TestFunction ¶
func (s *SQLTestSuite) TestFunction()
func (*SQLTestSuite) TestGetAllResults ¶
func (s *SQLTestSuite) TestGetAllResults()
func (*SQLTestSuite) TestGetOneResult ¶
func (s *SQLTestSuite) TestGetOneResult()
func (*SQLTestSuite) TestGetResultsOneByOne ¶
func (s *SQLTestSuite) TestGetResultsOneByOne()
func (*SQLTestSuite) TestGetWithOffset ¶
func (s *SQLTestSuite) TestGetWithOffset()
func (*SQLTestSuite) TestGroup ¶
func (s *SQLTestSuite) TestGroup()
func (*SQLTestSuite) TestInlineStructs ¶
func (s *SQLTestSuite) TestInlineStructs()
func (*SQLTestSuite) TestInsertAndDelete ¶
func (s *SQLTestSuite) TestInsertAndDelete()
func (*SQLTestSuite) TestInsertDefault ¶
func (s *SQLTestSuite) TestInsertDefault()
func (*SQLTestSuite) TestInsertIntoArtistsTable ¶
func (s *SQLTestSuite) TestInsertIntoArtistsTable()
func (*SQLTestSuite) TestInsertReturning ¶
func (s *SQLTestSuite) TestInsertReturning()
func (*SQLTestSuite) TestInsertReturningWithinTransaction ¶
func (s *SQLTestSuite) TestInsertReturningWithinTransaction()
func (*SQLTestSuite) TestNullableFields ¶
func (s *SQLTestSuite) TestNullableFields()
func (*SQLTestSuite) TestPaginator ¶
func (s *SQLTestSuite) TestPaginator()
func (*SQLTestSuite) TestPreparedStatementsCache ¶
func (s *SQLTestSuite) TestPreparedStatementsCache()
func (*SQLTestSuite) TestQueryNonExistentCollection ¶
func (s *SQLTestSuite) TestQueryNonExistentCollection()
func (*SQLTestSuite) TestSQLBuilder ¶
func (s *SQLTestSuite) TestSQLBuilder()
func (*SQLTestSuite) TestTransactionsAndRollback ¶
func (s *SQLTestSuite) TestTransactionsAndRollback()
Attempts to test database transactions.
func (*SQLTestSuite) TestTruncateAllCollections ¶
func (s *SQLTestSuite) TestTruncateAllCollections()
func (*SQLTestSuite) TestUpdate ¶
func (s *SQLTestSuite) TestUpdate()
func (*SQLTestSuite) TestUpdateWithNullColumn ¶
func (s *SQLTestSuite) TestUpdateWithNullColumn()
func (*SQLTestSuite) Test_Issue565 ¶
func (s *SQLTestSuite) Test_Issue565()
Click to show internal directories.
Click to hide internal directories.