TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
BulkInsertTest Class Reference
Inheritance diagram for BulkInsertTest:
UnitTestCase BaseTestCase

Public Member Functions

 getSQLWithoutSpecifiedValuesThrowsException ()
 
 insertWithoutColumnAndTypeSpecification ()
 
 insertWithoutColumnSpecification ()
 
 singleInsertWithoutColumnSpecification ()
 
 multiInsertWithoutColumnSpecification ()
 
 singleInsertWithColumnSpecificationAndPositionalTypeValues ()
 
 singleInsertWithColumnSpecificationAndNamedTypeValues ()
 
 singleInsertWithColumnSpecificationAndMixedTypeValues ()
 
 multiInsertWithColumnSpecification ()
 
 emptyInsertWithColumnSpecificationThrowsException ()
 
 insertWithColumnSpecificationAndMultipleValuesForColumnThrowsException ()
 
 insertWithColumnSpecificationAndMultipleTypesForColumnThrowsException ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from BaseTestCase
 getAccessibleMock ($originalClassName, $methods=[], array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ($originalClassName, array $arguments=[], $mockClassName= '', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $connection
 
 $platform
 
 $testTable = 'testTable'
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Definition at line 23 of file BulkInsertTest.php.

Member Function Documentation

emptyInsertWithColumnSpecificationThrowsException ( )
Test:

Definition at line 283 of file BulkInsertTest.php.

getSQLWithoutSpecifiedValuesThrowsException ( )
Test:

Definition at line 62 of file BulkInsertTest.php.

insertWithColumnSpecificationAndMultipleTypesForColumnThrowsException ( )
Test:

Definition at line 307 of file BulkInsertTest.php.

References Connection\PARAM_INT, and Connection\PARAM_STR.

insertWithColumnSpecificationAndMultipleValuesForColumnThrowsException ( )
Test:

Definition at line 295 of file BulkInsertTest.php.

insertWithoutColumnAndTypeSpecification ( )
Test:

Definition at line 75 of file BulkInsertTest.php.

insertWithoutColumnSpecification ( )

Definition at line 86 of file BulkInsertTest.php.

References Connection\PARAM_BOOL.

multiInsertWithColumnSpecification ( )
Test:

Definition at line 234 of file BulkInsertTest.php.

References Connection\PARAM_BOOL, and Connection\PARAM_INT.

multiInsertWithoutColumnSpecification ( )
Test:

Definition at line 125 of file BulkInsertTest.php.

References Connection\PARAM_BOOL, and Connection\PARAM_INT.

setUp ( )
protected

Create a new database connection mock object for every test.

Returns
void

Definition at line 45 of file BulkInsertTest.php.

singleInsertWithColumnSpecificationAndMixedTypeValues ( )
Test:

Definition at line 212 of file BulkInsertTest.php.

References Connection\PARAM_BOOL, and Connection\PARAM_INT.

singleInsertWithColumnSpecificationAndNamedTypeValues ( )
Test:

Definition at line 190 of file BulkInsertTest.php.

References Connection\PARAM_INT.

singleInsertWithColumnSpecificationAndPositionalTypeValues ( )
Test:

Definition at line 168 of file BulkInsertTest.php.

References Connection\PARAM_BOOL.

singleInsertWithoutColumnSpecification ( )
Test:

Definition at line 100 of file BulkInsertTest.php.

References Connection\PARAM_BOOL, and Connection\PARAM_INT.

Member Data Documentation

$connection
protected

Definition at line 28 of file BulkInsertTest.php.

$platform
protected

Definition at line 33 of file BulkInsertTest.php.

$testTable = 'testTable'
protected

Definition at line 38 of file BulkInsertTest.php.