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

Public Member Functions

 isDependentExtensionAvailableReturnsTrueIfExtensionIsAvailable ()
 
 isDependentExtensionAvailableReturnsFalseIfExtensionIsNotAvailable ()
 
 isAvailableVersionCompatibleCallsIsVersionCompatibleWithExtensionVersion ()
 
 isExtensionDownloadableFromTerReturnsTrueIfOneVersionExists ()
 
 isExtensionDownloadableFromTerReturnsFalseIfNoVersionExists ()
 
 isDownloadableVersionCompatibleReturnsTrueIfCompatibleVersionExists ()
 
 isDownloadableVersionCompatibleReturnsFalseIfIncompatibleVersionExists ()
 
 getLowestAndHighestIntegerVersionsReturnsArrayWithVersions ()
 
 getLatestCompatibleExtensionByIntegerVersionDependencyWillReturnExtensionModelOfLatestExtension ()
 

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

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

Detailed Description

Test for DependencyUtility

Definition at line 23 of file DependencyUtilityTest.php.

Member Function Documentation

getLatestCompatibleExtensionByIntegerVersionDependencyWillReturnExtensionModelOfLatestExtension ( )
Test:
Returns
void

Definition at line 532 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

getLowestAndHighestIntegerVersionsReturnsArrayWithVersions ( )
Test:
Returns
void

Definition at line 510 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isAvailableVersionCompatibleCallsIsVersionCompatibleWithExtensionVersion ( )
Test:
Returns
void

Definition at line 395 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isDependentExtensionAvailableReturnsFalseIfExtensionIsNotAvailable ( )
Test:
Returns
void

Definition at line 374 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isDependentExtensionAvailableReturnsTrueIfExtensionIsAvailable ( )
Test:
Returns
void

Definition at line 353 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isDownloadableVersionCompatibleReturnsFalseIfIncompatibleVersionExists ( )
Test:
Returns
void

Definition at line 484 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isDownloadableVersionCompatibleReturnsTrueIfCompatibleVersionExists ( )
Test:
Returns
void

Definition at line 460 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isExtensionDownloadableFromTerReturnsFalseIfNoVersionExists ( )
Test:
Returns
void

Definition at line 442 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

isExtensionDownloadableFromTerReturnsTrueIfOneVersionExists ( )
Test:
Returns
void

Definition at line 424 of file DependencyUtilityTest.php.

References BaseTestCase\getAccessibleMock().

setUp ( )
protected
Returns
void

Definition at line 33 of file DependencyUtilityTest.php.

Member Data Documentation

$objectManagerMock
protected

Definition at line 28 of file DependencyUtilityTest.php.