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

Public Member Functions

 oneToOneRelation ()
 
 setRelationsDetectsOneToOneRelation ($className)
 
 settingOneToOneRelationSetsRelationTableMatchFields ()
 
 settingOneToManyRelationSetsRelationTableMatchFields ()
 
 setRelationsDetectsOneToOneRelationWithIntermediateTable ()
 
 setRelationsDetectsOneToManyRelation ()
 
 setRelationsDetectsManyToManyRelationOfTypeSelect ()
 
 setRelationsDetectsManyToManyRelationOfTypeInlineWithIntermediateTable ()
 
 columnMapIsInitializedWithManyToManyRelationOfTypeSelect ()
 
 columnMapIsInitializedWithOppositeManyToManyRelationOfTypeSelect ()
 
 columnMapIsInitializedWithManyToManyRelationOfTypeInlineAndIntermediateTable ()
 
 columnMapIsInitializedWithManyToManyRelationWithoutPidColumn ()
 
 columnMapIsInitializedWithManyToManyRelationWithPidColumn ()
 
 columnMapIsInitializedWithFieldEvaluationsForDateTimeFieldsDataProvider ()
 
 columnMapIsInitializedWithFieldEvaluationsForDateTimeFields ($type, $expectedValue)
 
 buildDataMapThrowsExceptionIfClassNameIsNotKnown ()
 
 classNameTableNameMappings ()
 
 resolveTableNameReturnsExpectedTablenames ($className, $expected)
 
 tcaConfigurationsContainingTypeAndInternalType ()
 

Additional Inherited Members

- 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 inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Test case

Definition at line 26 of file DataMapFactoryTest.php.

Member Function Documentation

buildDataMapThrowsExceptionIfClassNameIsNotKnown ( )
Test:

Definition at line 370 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

classNameTableNameMappings ( )
Returns
array

Definition at line 442 of file DataMapFactoryTest.php.

columnMapIsInitializedWithFieldEvaluationsForDateTimeFields (   $type,
  $expectedValue 
)
Parameters
string$type
NULL | string$expectedValue
Test:
columnMapIsInitializedWithFieldEvaluationsForDateTimeFieldsDataProvider

Definition at line 343 of file DataMapFactoryTest.php.

References BaseTestCase\buildAccessibleProxy().

columnMapIsInitializedWithFieldEvaluationsForDateTimeFieldsDataProvider ( )
Returns
array

Definition at line 328 of file DataMapFactoryTest.php.

columnMapIsInitializedWithManyToManyRelationOfTypeInlineAndIntermediateTable ( )
columnMapIsInitializedWithManyToManyRelationOfTypeSelect ( )
columnMapIsInitializedWithManyToManyRelationWithoutPidColumn ( )
Test:

Definition at line 284 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

columnMapIsInitializedWithManyToManyRelationWithPidColumn ( )
Test:

Definition at line 306 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

columnMapIsInitializedWithOppositeManyToManyRelationOfTypeSelect ( )
oneToOneRelation ( )
Returns
array

Definition at line 31 of file DataMapFactoryTest.php.

resolveTableNameReturnsExpectedTablenames (   $className,
  $expected 
)
Test:
classNameTableNameMappings

Definition at line 458 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

setRelationsDetectsManyToManyRelationOfTypeInlineWithIntermediateTable ( )
Test:

Definition at line 178 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

setRelationsDetectsManyToManyRelationOfTypeSelect ( )
Test:

Definition at line 156 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

setRelationsDetectsOneToManyRelation ( )
Test:

Definition at line 133 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

setRelationsDetectsOneToOneRelation (   $className)
Test:
oneToOneRelation

Definition at line 43 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

setRelationsDetectsOneToOneRelationWithIntermediateTable ( )
Test:

Definition at line 111 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

settingOneToManyRelationSetsRelationTableMatchFields ( )
Test:

Definition at line 88 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().

settingOneToOneRelationSetsRelationTableMatchFields ( )
Test:

Definition at line 65 of file DataMapFactoryTest.php.

References BaseTestCase\getAccessibleMock().